Add job for blueprint-management-hub 86/3886/3
authorRicardo Noriega <rnoriega@redhat.com>
Fri, 6 Nov 2020 17:39:43 +0000 (18:39 +0100)
committerRicardo Noriega <rnoriega@redhat.com>
Tue, 10 Nov 2020 11:08:28 +0000 (12:08 +0100)
  Also adapt PAE job to new script

Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: I71566641949b401501b6248ca466de699aa49a93

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

index 1e48683..e75fa4f 100644 (file)
 - job-template:
     id: kni-verify-deploy-gcp
     name: 'kni-{project-name}-verify-deploy-gcp'
+    site: edge-sites-testing.gcp.devcluster.openshift.com
     build-node: kni-cloud
     <<: *kni_common_deploy
 
       - compare-type: ANT
         pattern: 'profiles/production.gcp/**'
       - compare-type: ANT
-        pattern: 'sites/testing.gcp.edge-sites.net/**'
+        pattern: 'sites/edge-sites-testing.gcp.devcluster.openshift.com/**'
       - compare-type: ANT
         pattern: 'base/**'
 
               target: akraino-secrets/coreos-pull-secret
       - shell: !include-raw-escape:
           - ../shell/install_go.sh
-      - shell: ./installer/ci/kni_deploy_gcp.sh
+      - shell: ./installer/ci/kni_deploy_gcp.sh {site}
+
+- job-template:
+    id: kni-verify-deploy-gcp-hub
+    name: 'kni-{project-name}-verify-deploy-gcp'
+    site: kni-mgmt-hub.gcp.devcluster.openshift.com
+    build-node: kni-cloud
+    <<: *kni_common_deploy
+
+    gerrit_trigger_file_paths:
+      - compare-type: ANT
+        pattern: 'profiles/production.gcp/**'
+      - compare-type: ANT
+        pattern: 'sites/kni-mgmt-hub.gcp.devcluster.openshift.com/**'
+      - 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 {site}
 
 - job-template:
     id: kni-verify-deploy-baremetal
index 4970cae..4ab928e 100644 (file)
       - kni-verify-deploy-aws
       - kni-verify-deploy-gcp
       - kni-verify-deploy-baremetal
+
+- project:
+    name: kni-blueprint-management-hub
+    project: 'kni/blueprint-management-hub'
+    project-name: blueprint-management-hub
+    stream: master
+    branch: master
+    jobs:
+      - kni-verify-deploy-gcp-hub