controller: 'odl'
- pod: 'intel-pod5'
+ pod:
+ - 'intel-pod5'
+ - 'orange-pod2'
stream:
- master:
builders:
- trigger-builds:
- - project: 'joid-daily-deploy-{stream}'
+ - project: 'joid-deploy-{pod}-daily-{stream}'
git-revision: true
block: true
predefined-parameters:
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