Apex: Fix deployment detecting snapshot type 41/65541/1
authorTim Rozet <trozet@redhat.com>
Mon, 3 Dec 2018 16:52:27 +0000 (11:52 -0500)
committerTim Rozet <trozet@redhat.com>
Mon, 3 Dec 2018 16:52:27 +0000 (11:52 -0500)
With the refactoring of the promotion job, the Apex deploy was not
detecting the snapshot type and using default upstream deployment. This
change passes the snapshot type to the deploy script for detection.

Change-Id: I76cf2b894955aa94bd70dc597305553dc9fe4c17
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex.yaml
jjb/apex/apex.yaml.j2

index a5af63c..23a1daf 100644 (file)
             - name: 'apex-deploy-virtual-{stream}'
               current-parameters: true
               predefined-parameters: |
-                DEPLOY_SCENARIO=os-{sdn}-{os_scenario}-{topology}
+                DEPLOY_SCENARIO=os-{sdn}-{os_scenario}-{topology}-{snap_type}
                 OPNFV_CLEAN=yes
                 GERRIT_BRANCH=$GERRIT_BRANCH
                 GERRIT_REFSPEC=$GERRIT_REFSPEC
index 2e507fb..451274c 100644 (file)
             - name: 'apex-deploy-virtual-{stream}'
               current-parameters: true
               predefined-parameters: |
-                DEPLOY_SCENARIO=os-{sdn}-{os_scenario}-{topology}
+                DEPLOY_SCENARIO=os-{sdn}-{os_scenario}-{topology}-{snap_type}
                 OPNFV_CLEAN=yes
                 GERRIT_BRANCH=$GERRIT_BRANCH
                 GERRIT_REFSPEC=$GERRIT_REFSPEC