Add job for KNI blueprint on Google Cloud 61/2261/1
authorRicardo Noriega <rnoriega@redhat.com>
Thu, 27 Feb 2020 09:53:00 +0000 (10:53 +0100)
committerRicardo Noriega <rnoriega@redhat.com>
Thu, 27 Feb 2020 09:53:00 +0000 (10:53 +0100)
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: Id5b37f86f73c27a8d25cdc0d879ad842075e2e04

jjb/akraino-templates/akraino-jjb-kni.yaml
jjb/kni/kni_installer.yaml

index 1f64bcc..452234f 100644 (file)
           - ../shell/install_go.sh
       - shell: ./installer/ci/kni_deploy_aws.sh
 
+- job-template:
+    id: kni-verify-deploy-gcp
+    name: 'kni-{project-name}-verify-deploy-gcp'
+    build-node: kni-libvirt
+    <<: *kni_common_deploy
+
+    gerrit_trigger_file_paths:
+      - compare-type: ANT
+        pattern: 'profiles/production.gcp/**'
+      - compare-type: ANT
+        pattern: 'sites/testing.gcp.edge-sites.net/**'
+      - compare-type: ANT
+        pattern: 'base/**'
+
+    builders:
+      - lf-infra-pre-build
+      - config-file-provider:
+          files:
+            - file-id: kni-coreos-pull-secret
+              target: akraino-secrets/coreos-pull-secret
+      - shell: !include-raw-escape:
+          - ../shell/install_go.sh
+      - shell: ./installer/ci/kni_deploy_gcp.sh
+
 - job-template:
     id: kni-verify-deploy-libvirt
     name: 'kni-{project-name}-verify-deploy-libvirt'
index 82da1bd..4849724 100644 (file)
@@ -18,6 +18,7 @@
     branch: master
     jobs:
       - kni-verify-deploy-aws
+      - kni-verify-deploy-gcp
       - kni-verify-deploy-libvirt
       - kni-verify-deploy-baremetal
 
@@ -29,5 +30,6 @@
     branch: master
     jobs:
       - kni-verify-deploy-aws
+      - kni-verify-deploy-gcp
       - kni-verify-deploy-libvirt
       - kni-verify-deploy-baremetal