This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The build process will fail if an empty 'universal' directory exists | |
$strFolderName="c:\vagrant\node_modules" | |
If (Test-Path $strFolderName){ | |
Remove-Item -Recurse -Force -ErrorAction 0 $strFolderName | |
} | |
# Use ASCII characters for the npm tree drawing | |
$env:npm_config_unicode = "false" | |
# Build GPII |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd" [] > | |
<tsung loglevel="warning"> | |
<clients> | |
{% for host in groups['tsung_clients'] %} | |
<client host="{{ host }}" weight="1" maxusers="40000" cpu="4" /> | |
{% endfor %} | |
</clients> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- job: | |
name: 'asterics-P4AllBuildingBlocks' | |
project-type: 'freestyle' | |
display-name: 'AsTeRICS components for the Prosperity For All project' | |
scm: | |
- git: | |
url: https://github.com/asterics/P4AllBuildingBlocks.git | |
branches: | |
- master | |
triggers: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET ThisScriptsDirectory=%~dp0 | |
SET PowerShellScriptPath=%ThisScriptsDirectory%create_gpiitestuser.ps1 | |
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File """"%PowerShellScriptPath%"""" -nodejsVersion """"0.10.33"""" ' -Verb RunAs}"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- job: | |
name: set-up-gpii-win-8.1 | |
project-type: freestyle | |
node: master | |
concurrent: false | |
builders: | |
- shell: | | |
source /var/lib/jenkins/secrets/jenkins_openrc.sh | |
nova --insecure boot --image win81eval_gpii_snapshot --flavor n1.medium --security-groups default,jenkins,windows --poll gpii-jenkins-windows81 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "chef/centos-7.0" | |
config.vm.network "forwarded_port", guest: 8080, host: 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd" [] > | |
<tsung loglevel="warning"> | |
<clients> | |
{% for host in groups['tsung_clients'] %} | |
<client host="{{ host }}" weight="1" maxusers="40000" cpu="4" /> | |
{% endfor %} | |
</clients> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- job: | |
name: 'first-discovery' | |
project-type: 'freestyle' | |
display-name: 'First Discovery Preferences Editor Tool' | |
scm: | |
- git: | |
url: https://github.com/fluid-project/first-discovery.git | |
branches: | |
- master | |
triggers: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl \ | |
-H "Content-Type: application/json" \ | |
-X POST http://admin:password@localhost:5984/_replicate \ | |
-d '{"source":"http://couchdb-rw1:5984/user", "target":"http://admin:[email protected]:5984/user", "create_target": true, "continuous":true}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream couchdb_servers { | |
server couchdb1:5984 max_fails=0 fail_timeout=10s; | |
server couchdb2:5984 max_fails=0 fail_timeout=10s; | |
} | |
location / { | |
proxy_pass http://couchdb_servers:5984; | |
proxy_redirect off; | |
proxy_set_header Host $host; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |