Fix metal3 container image job triggers 11/19711/3
authorHuy Mai <huy.mai@est.tech>
Fri, 20 Oct 2023 08:19:16 +0000 (11:19 +0300)
committerHuy Mai <huy.mai@est.tech>
Fri, 20 Oct 2023 12:38:53 +0000 (15:38 +0300)
Change-Id: I5db7a87c24ef8147bd82440540b1cc528a98ee22

jjb/metal3/job_container_image_building.yaml
jjb/metal3/projects.yml

index 96468fb1a1f54b939e7674c7b8416534ada5b5fd..9ab8cfc480db8bebfeff5e4596b63c4c18913777 100644 (file)
         num-to-keep: 300
         artifact-days-to-keep: -1
         artifact-num-to-keep: -1
-
-    scm:
-      - git:
-          url: "{repo}"
-          credentials-id: "{ci_github_jenkins_credentials_id}"
-          name: 'origin'
-          refspec: '+refs/heads/*:refs/remotes/origin/*'
-          wipe-workspace: True
-          honor-refspec: True
-          shallow-clone: False
-          included-regions:
-            - '${dockerfile_location}'
+    - github:
+        url: '{repo}'
 
     triggers:
       - github
index 3f1acdd1146f57f9560316fc636889a5dd42fcaf..5a867d61bc3e09584a5eff1f62dbdca7b13e2a8e 100644 (file)
         - vbmc:
             repo: https://github.com/metal3-io/ironic-image.git
             dockerfile_location: /resources/vbmc/
+    jobs:
+        - container_image_building
     ci_github_jenkins_credentials_id: 'nordix-metal3-ci-github-prod-token'
     ci_ghprb_auth_id: 'e8a43847-46ff-42db-a5db-7366df0e4ee2'
     ci_github_repo: 'https://github.com/Nordix/metal3-dev-tools.git'