Add job for KNI blueprint on Google Cloud
[ci-management.git] / jjb / akraino-templates / akraino-jjb-kni.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'