summaryrefslogtreecommitdiffstats
path: root/jjb/3rd_party_ci/odl-netvirt.yaml
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-07-23 12:39:10 -0400
committerTim Rozet <trozet@redhat.com>2018-07-23 12:39:10 -0400
commit01b6e24790816cb0dbe62c3af4551d33bab2dda8 (patch)
tree6fab79fa638c517d04497ea0afeae726a9448fcc /jjb/3rd_party_ci/odl-netvirt.yaml
parentb23787845e719f39d4a48f0581be2019764f73ed (diff)
Apex: Correct functest container with snapshot
If OS_VERSION is master we want to pull ollivier containers, otherwise we can pull OPNFV. Change-Id: I6e838a85c6b7918540c8bc3ca2d5e790e5aa7a57 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/3rd_party_ci/odl-netvirt.yaml')
-rw-r--r--jjb/3rd_party_ci/odl-netvirt.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/jjb/3rd_party_ci/odl-netvirt.yaml b/jjb/3rd_party_ci/odl-netvirt.yaml
index 367568ae1..4453ee250 100644
--- a/jjb/3rd_party_ci/odl-netvirt.yaml
+++ b/jjb/3rd_party_ci/odl-netvirt.yaml
@@ -163,6 +163,14 @@
node-parameters: true
kill-phase-on: NEVER
abort-all-job: false
+ - shell: |
+ if echo $OS_VERSION | grep queens &> /dev/null; then
+ echo 'REPO=opnfv' > functest_repo
+ else
+ echo 'REPO=ollivier' > functest_repo
+ fi
+ - inject:
+ properties-file: functest_repo
- multijob:
name: functest
condition: SUCCESSFUL
@@ -173,6 +181,7 @@
FUNCTEST_MODE=testcase
FUNCTEST_SUITE_NAME=tempest_smoke
RC_FILE_PATH=$HOME/cloner-info/overcloudrc
+ REPO=$REPO
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: false