summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2019-03-27 13:30:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-03-27 13:30:08 +0000
commite5d71f0083ac5c343d206daab7d205c31999ffcc (patch)
treef05ff35c57c13f9d0959aaf4e3a5999af04f05f8
parent288b95716bbf4392b19d782dbf0ee2d08f5d3e2c (diff)
parent1f553e60d1f4e5780377a0ba065928f97590417e (diff)
Merge "Add a job to run new proposed_tests on Apex"
-rw-r--r--jjb/apex/apex.yaml84
-rw-r--r--jjb/apex/apex.yaml.j284
2 files changed, 30 insertions, 138 deletions
diff --git a/jjb/apex/apex.yaml b/jjb/apex/apex.yaml
index 85e9b182b..70a38f6b0 100644
--- a/jjb/apex/apex.yaml
+++ b/jjb/apex/apex.yaml
@@ -16,7 +16,6 @@
- 'apex-create-snapshot'
- 'apex-fetch-snap-info'
- 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
- - 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
# stream: branch with - in place of / (eg. stable-arno)
# branch: branch (eg. stable/arno)
stream:
@@ -685,7 +684,7 @@
abort-all-job: false
git-revision: false
- multijob:
- name: Dovetail-proposed_tests
+ name: Dovetail-default-mandatory
condition: ALWAYS
projects:
- name: 'dovetail-apex-baremetal-default-mandatory-{scenario_stream}'
@@ -698,7 +697,7 @@
abort-all-job: false
git-revision: false
- multijob:
- name: Dovetail-default
+ name: Dovetail-default-optional
condition: ALWAYS
projects:
- name: 'dovetail-apex-baremetal-default-optional-{scenario_stream}'
@@ -711,6 +710,19 @@
abort-all-job: false
git-revision: false
- multijob:
+ name: Dovetail-proposed_tests
+ condition: ALWAYS
+ projects:
+ - name: 'dovetail-apex-baremetal-proposed_tests-optional-{scenario_stream}'
+ node-parameters: true
+ current-parameters: false
+ predefined-parameters:
+ DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ kill-phase-on: NEVER
+ enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
+ abort-all-job: false
+ git-revision: false
+ - multijob:
name: StorPerf
condition: ALWAYS
projects:
@@ -1189,72 +1201,6 @@
abort-all-job: false
git-revision: false
-# Dovetail Danube test job
-- job-template:
- name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
-
- project-type: 'multijob'
-
- node: 'huawei-pod4'
-
- disabled: false
-
- parameters:
- - '{project}-defaults'
- - project-parameter:
- project: '{project}'
- branch: 'stable/danube'
- - apex-parameter:
- gs-pathname: '/danube'
- - string:
- name: DEPLOY_SCENARIO
- default: 'os-nosdn-nofeature-ha'
- description: "Scenario to deploy with."
-
- properties:
- - logrotate-default
- - build-blocker:
- use-build-blocker: true
- blocking-level: 'NODE'
- blocking-jobs:
- - 'apex-verify.*'
- - 'apex-runner.*'
- - 'apex-.*-promote.*'
- - 'apex-run.*'
-
- triggers:
- - timed: '' # '0 1 * * *'
-
- builders:
- - description-setter:
- description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
- - multijob:
- name: 'Baremetal Deploy'
- condition: SUCCESSFUL
- projects:
- - name: 'apex-deploy-baremetal-danube'
- node-parameters: true
- current-parameters: true
- predefined-parameters: |
- OPNFV_CLEAN=yes
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- kill-phase-on: FAILURE
- abort-all-job: true
- git-revision: false
- - multijob:
- name: Dovetail
- condition: ALWAYS
- projects:
- - name: 'dovetail-apex-baremetal-proposed_tests-danube'
- node-parameters: true
- current-parameters: false
- predefined-parameters:
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- kill-phase-on: NEVER
- abort-all-job: false
- git-revision: false
########################
# parameter macros
diff --git a/jjb/apex/apex.yaml.j2 b/jjb/apex/apex.yaml.j2
index aaa166e25..47ea18bbf 100644
--- a/jjb/apex/apex.yaml.j2
+++ b/jjb/apex/apex.yaml.j2
@@ -16,7 +16,6 @@
- 'apex-create-snapshot'
- 'apex-fetch-snap-info'
- 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
- - 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
# stream: branch with - in place of / (eg. stable-arno)
# branch: branch (eg. stable/arno)
stream:
@@ -531,7 +530,7 @@
abort-all-job: false
git-revision: false
- multijob:
- name: Dovetail-proposed_tests
+ name: Dovetail-default-mandatory
condition: ALWAYS
projects:
- name: 'dovetail-apex-baremetal-default-mandatory-{scenario_stream}'
@@ -544,7 +543,7 @@
abort-all-job: false
git-revision: false
- multijob:
- name: Dovetail-default
+ name: Dovetail-default-optional
condition: ALWAYS
projects:
- name: 'dovetail-apex-baremetal-default-optional-{scenario_stream}'
@@ -557,6 +556,19 @@
abort-all-job: false
git-revision: false
- multijob:
+ name: Dovetail-proposed_tests
+ condition: ALWAYS
+ projects:
+ - name: 'dovetail-apex-baremetal-proposed_tests-optional-{scenario_stream}'
+ node-parameters: true
+ current-parameters: false
+ predefined-parameters:
+ DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ kill-phase-on: NEVER
+ enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
+ abort-all-job: false
+ git-revision: false
+ - multijob:
name: StorPerf
condition: ALWAYS
projects:
@@ -1035,72 +1047,6 @@
abort-all-job: false
git-revision: false
-# Dovetail Danube test job
-- job-template:
- name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
-
- project-type: 'multijob'
-
- node: 'huawei-pod4'
-
- disabled: false
-
- parameters:
- - '{project}-defaults'
- - project-parameter:
- project: '{project}'
- branch: 'stable/danube'
- - apex-parameter:
- gs-pathname: '/danube'
- - string:
- name: DEPLOY_SCENARIO
- default: 'os-nosdn-nofeature-ha'
- description: "Scenario to deploy with."
-
- properties:
- - logrotate-default
- - build-blocker:
- use-build-blocker: true
- blocking-level: 'NODE'
- blocking-jobs:
- - 'apex-verify.*'
- - 'apex-runner.*'
- - 'apex-.*-promote.*'
- - 'apex-run.*'
-
- triggers:
- - timed: '' # '0 1 * * *'
-
- builders:
- - description-setter:
- description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
- - multijob:
- name: 'Baremetal Deploy'
- condition: SUCCESSFUL
- projects:
- - name: 'apex-deploy-baremetal-danube'
- node-parameters: true
- current-parameters: true
- predefined-parameters: |
- OPNFV_CLEAN=yes
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- kill-phase-on: FAILURE
- abort-all-job: true
- git-revision: false
- - multijob:
- name: Dovetail
- condition: ALWAYS
- projects:
- - name: 'dovetail-apex-baremetal-proposed_tests-danube'
- node-parameters: true
- current-parameters: false
- predefined-parameters:
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- kill-phase-on: NEVER
- abort-all-job: false
- git-revision: false
########################
# parameter macros