controller: 'odl'
- pod: 'intel-pod5'
+ pod:
+ - 'intel-pod5'
+ - 'orange-pod2'
stream:
- master:
gs-pathname: ''
jobs:
- - 'joid-{controller}-daily-{stream}-{pod}'
- - 'joid-daily-deploy-{stream}'
+ - 'joid-{controller}-{pod}-daily-{stream}'
+ - 'joid-deploy-{pod}-daily-{stream}'
########################
# job templates
########################
- job-template:
- name: 'joid-{controller}-daily-{stream}-{pod}'
+ name: 'joid-{controller}-{pod}-daily-{stream}'
disabled: false
parameters:
- project-parameter:
project: '{installer}'
- - 'opnfv-build-defaults'
+ - 'intel-us-build-1-defaults'
- '{installer}-defaults':
controller: '{controller}'
builders:
- trigger-builds:
- - project: 'joid-daily-deploy-{stream}'
+ - project: 'joid-deploy-{pod}-daily-{stream}'
git-revision: true
block: true
predefined-parameters:
- CONTROLLER='{controller}'
+ CONTROLLER={controller}
- job-template:
- name: 'joid-daily-deploy-{stream}'
+ name: 'joid-deploy-{pod}-daily-{stream}'
disabled: false
refspec: ''
branch: '{branch}'
+ builders:
+ - '{pod}-builder'
+
+########################
+# builder macros
+########################
+- builder:
+ name: intel-pod5-builder
builders:
- shell: |
#!/bin/bash
echo "Running $INSTALLER_NAME with controller $CONTROLLER"
echo "Please note that this is a quick try to see how joid deployment works"
+ echo
+ echo "Executing clean.sh"
cd $WORKSPACE/ci
./clean.sh
+ - shell: |
+ cd $WORKSPACE/ci
+ echo "Executing 02-maasdeploy.sh intelpod5"
./02-maasdeploy.sh intelpod5
+ - shell: |
+ cd $WORKSPACE/ci
+ echo "Executing deploy.sh -o liberty -s $CONTROLLER -t ha -l intelpod5"
./deploy.sh -o liberty -s $CONTROLLER -t ha -l intelpod5
+- builder:
+ name: orange-pod2-builder
+ builders:
+ - shell: |
+ #!/bin/bash
+ echo "Running $INSTALLER_NAME with controller $CONTROLLER"
+ echo "Please note that this is WIP generic builder"
+ echo
+ echo "Executing clean.sh"
+ cd $WORKSPACE/ci
+ ./clean.sh
+ - shell:
+ !include-raw ./joid-deploy.sh