engine: Move PDF and IDF parameters to deployment jobs 98/4098/1
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 19 Mar 2020 14:46:07 +0000 (14:46 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Thu, 19 Mar 2020 14:55:01 +0000 (14:55 +0000)
Change-Id: I0044186dc32f26c4ec6fc4c1ab8552ba8a25820a

jjb/engine/engine-verify-jobs/engine-verify-deployment-parent-jobs.yaml
jjb/engine/engine-verify-jobs/engine-verify-offline-deploy-test.yaml
jjb/engine/engine-verify-jobs/engine-verify-online-deploy-test.yaml

index c53575894a7a6aa7b115338d90cc2cf345f18cd2..ab95a5b05cfc7d69fd49e29f1c90561ea42b5f21 100644 (file)
@@ -31,8 +31,6 @@
       - online:
           disabled: false
           execution-mode: online-deployment
-          pdf: 'https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-pdf.yml'
-          idf: 'https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-idf.yml'
           successful: false
           failed: false
           unstable: false
@@ -40,8 +38,6 @@
       - offline:
           disabled: false
           execution-mode: offline-deployment
-          pdf: 'file:///opt/engine/offline/git/hwconfig/pods/nordix-vpod1-pdf.yml'
-          idf: 'file:///opt/engine/offline/git/hwconfig/pods/nordix-vpod1-idf.yml'
           successful: false
           failed: false
           unstable: false
           name: DEPLOY_SCENARIO
           default: 'k8-calico-nofeature'
           description: 'Scenario to deploy and test'
-      - string:
-          name: PDF
-          default: '{pdf}'
-          description: 'PDF file to use for deployment'
-      - string:
-          name: IDF
-          default: '{idf}'
-          description: 'IDF file to use for deployment'
       - string:
           name: VERBOSITY
           default: 'true'
           name: NORDIX_ARTIFACT_URL
           default: "$NORDIX_ARM_HTTPS_URL/$NORDIX_ARM_REPO/installer/oss/change/$GERRIT_CHANGE_NUMBER/k8s-installer-ubuntu1804.bsx"
           description: 'Name of the repository to upload and download artifact to/from. Depends on the stack'
+      - string:
+          name: CI_LOOP
+          default: 'verify'
+          description: 'CI loop type'
       - label:
           name: SLAVE_LABEL
           default: 'engine-master-{environment-type}-{distro}'
index 2c020afc425bd43faf828331e646fd42e1452eba..e16398a6981432d9c96d7336a5d25c626e112593 100644 (file)
@@ -25,6 +25,8 @@
     stream:
       - 'master':
           branch: '{stream}'
+          pdf: 'file:///opt/engine/offline/git/hwconfig/pods/nordix-vpod1-pdf.yml'
+          idf: 'file:///opt/engine/offline/git/hwconfig/pods/nordix-vpod1-idf.yml'
 
     phase:
       - deploy
           name: PROVISIONER_TYPE
           default: '{provisioner-type}'
           description: 'Provisioner type to use'
+      - string:
+          name: PDF
+          default: '{pdf}'
+          description: 'PDF file to use for deployment'
+      - string:
+          name: IDF
+          default: '{idf}'
+          description: 'IDF file to use for deployment'
       - string:
           name: HEAT_ENVIRONMENT_FILENAME
           default: 'heat-environment-{cloud}-{distro}.yaml'
       - 'engine-generate-ssh-keypair-macro'
       - 'engine-download-artifact-macro'
       - multijob:
-          name: "Offline Deployment on {type} instances"
+          name: "offline deployment on {type} instances"
           condition: SUCCESSFUL
           execution-type: PARALLEL
           projects:
               kill-phase-on: FAILURE
               abort-all-job: false
       - multijob:
-          name: "Offline Testing on {type} instances"
+          name: "offline testing on {type} instances"
           condition: SUCCESSFUL
           execution-type: PARALLEL
           projects:
index 26bfe5d4f9e19efb8aeb440de25130cbca82f6f0..3118e34da02bfb1213822e099373e2526470cad6 100644 (file)
@@ -25,6 +25,8 @@
     stream:
       - 'master':
           branch: '{stream}'
+          pdf: 'https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-pdf.yml'
+          idf: 'https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-idf.yml'
 
     phase:
       - deploy
           name: PROVISIONER_TYPE
           default: '{provisioner-type}'
           description: 'Provisioner type to use'
+      - string:
+          name: PDF
+          default: '{pdf}'
+          description: 'PDF file to use for deployment'
+      - string:
+          name: IDF
+          default: '{idf}'
+          description: 'IDF file to use for deployment'
       - string:
           name: HEAT_ENVIRONMENT_FILENAME
           default: 'heat-environment-{cloud}-{distro}.yaml'
       - 'engine-generate-ssh-keypair-macro'
       - 'engine-download-artifact-macro'
       - multijob:
-          name: "Online Deployment on {type} instances"
+          name: "online deployment on {type} instances"
           condition: SUCCESSFUL
           execution-type: PARALLEL
           projects:
               kill-phase-on: FAILURE
               abort-all-job: false
       - multijob:
-          name: "Online Testing on {type} instances"
+          name: "online testing on {type} instances"
           condition: SUCCESSFUL
           execution-type: PARALLEL
           projects: