Fix KNI CI jobs
[ci-management.git] / jjb / akraino-templates / akraino-jjb-kni.yaml
index 1f64bcc..6d380c2 100644 (file)
       - shell: !include-raw-escape:
           - ../shell/build_kni_binary.sh
 
-- job-template:
-    id: kni-installer-publish-openshift-install-libvirt-binary
-    name: '{project-name}-publish-openshift-install-libvirt-binary'
-    <<: *kni_common
-    build-node: centos7-builder-8c-8g
-
-    gerrit_trigger_file_paths: []
-    gerrit_build_triggers:
-      - comment-added-contains-event:
-          comment-contains-value: '^build-binary'
-    builders:
-      - lf-infra-pre-build
-      - shell: !include-raw-escape:
-          - ../shell/install_go.sh
-      - shell: !include-raw-escape:
-          - ../shell/build_openshift_install_libvirt_binary.sh
-
 - job-template:
     id: kni-verify-deploy-aws
     name: 'kni-{project-name}-verify-deploy-aws'
       - shell: ./installer/ci/kni_deploy_aws.sh
 
 - job-template:
-    id: kni-verify-deploy-libvirt
-    name: 'kni-{project-name}-verify-deploy-libvirt'
+    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/testing.libvirt/**'
+        pattern: 'profiles/production.gcp/**'
       - compare-type: ANT
-        pattern: 'sites/testing.virt.edge-sites.net/**'
+        pattern: 'sites/testing.gcp.edge-sites.net/**'
       - compare-type: ANT
         pattern: 'base/**'
 
           files:
             - file-id: kni-coreos-pull-secret
               target: akraino-secrets/coreos-pull-secret
-            - file-id: kni-ssh-pub-key
-              target: akraino-secrets/ssh-pub-key
       - shell: !include-raw-escape:
           - ../shell/install_go.sh
-      - shell: ./installer/ci/kni_deploy_libvirt.sh
+      - shell: ./installer/ci/kni_deploy_gcp.sh
 
 - job-template:
     id: kni-verify-deploy-baremetal
     name: 'kni-{project-name}-verify-deploy-baremetal'
     <<: *kni_common_deploy
     build-timeout: 120
-    build-node: kni-baremetal
+    build-node: kni-libvirt
 
     gerrit_trigger_file_paths:
       - compare-type: ANT
     scm:
       - akraino-lf-infra-gerrit-scm:
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
-          git-url: 'https://github.com/yrobla/testing.baremetal.edge-sites.net'
+          git-url: 'https://gerrit.akraino.org/r/kni/blueprint-pae'
           refspec: '$GERRIT_REFSPEC'
           branch: '$GERRIT_BRANCH'
           submodule-recursive: '{submodule-recursive}'
           submodule-timeout: '{submodule-timeout}'
           submodule-disable: false
           choosing-strategy: default
-          basedir: 'testing.baremetal.edge-sites.net'
+          basedir: 'kni-blueprint-pae'
       - akraino-lf-infra-gerrit-scm:
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
           git-url: '{git-url}/kni/installer.git'