summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-12-07 08:47:20 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-12-07 18:27:52 +0100
commit55ef51bceadfdc99f53e42992d7bc742395761ab (patch)
treeaea842b67d82b31fe68711a9b8a828069dc5668b /jjb/apex
parent0b27c3e7e7ada718ba16a8ec78edfed52ae0bf15 (diff)
Add installer and pod parameter files and create example jobs
This change proposes - Move installer params to common file - Move pod params to common file - Configure POD slaves in pod file and set slave to run using node label plugin - Create one daily parent job per installer per controller - Create common deploy job, taking controller name from parent job - Change build display name to show installer + controller name Please note that this is an example and things will evolve based on how things work. Change-Id: I4bc1d35e43c44d9401f4000090818e8e7b426e70 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r--jjb/apex/opnfv-apex.yml84
1 files changed, 84 insertions, 0 deletions
diff --git a/jjb/apex/opnfv-apex.yml b/jjb/apex/opnfv-apex.yml
new file mode 100644
index 000000000..47de21c5a
--- /dev/null
+++ b/jjb/apex/opnfv-apex.yml
@@ -0,0 +1,84 @@
+########################
+# Job configuration for apex
+########################
+- project:
+
+ name: 'opnfv-apex'
+
+ installer: 'apex'
+
+ controller:
+ - 'opencontrail'
+ - 'opendaylight'
+ - 'onos'
+
+ pod: 'intel-pod2'
+
+ stream:
+ - master:
+ branch: 'master'
+ gs-pathname: ''
+
+ jobs:
+ - 'opnfv-apex-{controller}-daily-{stream}'
+ - 'opnfv-apex-daily-deploy-{stream}'
+
+########################
+# job templates
+########################
+- job-template:
+ name: 'opnfv-apex-{controller}-daily-{stream}'
+
+ disabled: true
+
+ concurrent: false
+
+ parameters:
+ - project-parameter:
+ project: '{installer}'
+ - '{pod}-defaults'
+ - '{installer}-defaults':
+ controller: '{controller}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ builders:
+ - trigger-builds:
+ - project: 'opnfv-apex-daily-deploy-{stream}'
+ git-revision: true
+ block: true
+ predefined-parameters:
+ CONTROLLER='{controller}'
+
+- job-template:
+ name: 'opnfv-apex-daily-deploy-{stream}'
+
+ disabled: true
+
+ concurrent: false
+
+ wrappers:
+ - build-name:
+ name: '$BUILD_NUMBER: {installer} $CONTROLLER'
+
+ parameters:
+ - project-parameter:
+ project: '{installer}'
+ - '{pod}-defaults'
+ - '{installer}-defaults'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ builders:
+ - shell: |
+ #!/bin/bash
+ echo "Hello World from OPNFV $INSTALLER_NAME"
+ echo "Running $INSTALLER_NAME with controller $CONTROLLER"