Merge changes I9eb1a3e2,I212e61d2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 20 Nov 2018 17:27:18 +0000 (18:27 +0100)
committerGerrit Code Review <root@osm.etsi.org>
Tue, 20 Nov 2018 17:27:18 +0000 (18:27 +0100)
* changes:
  Bug fix in stage 3 related to repo_base_url
  hackfest_basic_vnfd: added alternative-image for aws

descriptor-packages/vnfd/hackfest_basic_vnf/src/hackfest_basic_vnfd.yaml
jenkins/ci-pipelines/ci_stage_3.groovy

index 3c18d79..4051eb3 100644 (file)
@@ -13,6 +13,9 @@ vnfd:vnfd-catalog:
         -   id: hackfest_basic-VM
             name: hackfest_basic-VM
             image: ubuntu1604
+            alternative-images:
+            -   vim-type: aws
+                image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
             count: '1'
             vm-flavor:
                 vcpu-count: '1'
index 6d0d00e..47ab0e1 100644 (file)
@@ -225,6 +225,11 @@ node("${params.NODE}") {
                         release = "-R ${params.RELEASE}"
                     }
              
+                    if ( params.REPOSITORY_BASE )
+                    {
+                        repo_base_url = "-u ${params.REPOSITORY_BASE}"
+                    }
+             
                     sh """
                         export PATH=$PATH:/snap/bin
                         installers/full_install_osm.sh -y -s ${container_name} --test --nolxd --nodocker --nojuju --nohostports --nohostclient \