From: Ricardo Noriega Date: Fri, 6 Nov 2020 17:39:43 +0000 (+0100) Subject: Add job for blueprint-management-hub X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F86%2F3886%2F3;p=ci-management.git Add job for blueprint-management-hub Also adapt PAE job to new script Signed-off-by: Ricardo Noriega Change-Id: I71566641949b401501b6248ca466de699aa49a93 --- diff --git a/jjb/akraino-templates/akraino-jjb-kni.yaml b/jjb/akraino-templates/akraino-jjb-kni.yaml index 1e48683..e75fa4f 100644 --- a/jjb/akraino-templates/akraino-jjb-kni.yaml +++ b/jjb/akraino-templates/akraino-jjb-kni.yaml @@ -215,6 +215,7 @@ - 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 @@ -222,7 +223,7 @@ - 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/**' @@ -234,7 +235,32 @@ 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 diff --git a/jjb/kni/kni_installer.yaml b/jjb/kni/kni_installer.yaml index 4970cae..4ab928e 100644 --- a/jjb/kni/kni_installer.yaml +++ b/jjb/kni/kni_installer.yaml @@ -29,3 +29,12 @@ - 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