Pass parameters to build-image.sh 61/72161/1
authorLuc Provoost <luc.provoost@intel.com>
Tue, 16 Mar 2021 18:57:27 +0000 (19:57 +0100)
committerLuc Provoost <luc.provoost@intel.com>
Tue, 16 Mar 2021 18:59:53 +0000 (19:59 +0100)
Passing the qcow2 image details as a parameter to build-image.sh

Signed-off-by: Luc Provoost <luc.provoost@intel.com>
Change-Id: Ie32164c8e3c98ddd0651e274c68feab265b24a48

jjb/samplevnf/samplevnf.yaml

index eae95db..2856805 100644 (file)
     stream:
       - master:
           branch: '{stream}'
-          gs-pathname: ''
-          docker-tag: 'latest'
+          gs-pathname: 'artifacts.opnfv.org/samplevnf/images'
+          tag: 'latest'
           disabled: false
       - jerma:
           branch: 'stable/{stream}'
-          gs-pathname: '/{stream}'
-          docker-tag: 'stable'
+          gs-pathname: 'artifacts.opnfv.org/samplevnf/images'
+          tag: '{stream}'
           disabled: false
 
 - job-template:
@@ -55,7 +55,7 @@
     builders:
       - shell: |
           cd $WORKSPACE/rapidvm/dib
-          bash build-image.sh
+          bash build-image.sh -g {gs-pathname} -i {tag}
 
 - job-template:
     name: 'rapid-prox-verify-{stream}'
           sudo pip install tox-pip-version
           cd $WORKSPACE && tox -e docs
           cd $WORKSPACE/rapidvm/dib
-          bash verify-image.sh -v
+          bash build-image.sh -g {gs-pathname} -i {tag} -v