Add e2e tests trigger to project-infra
[infra/cicd.git] / jjb / metal3 / projects.yml
index b8ad712f128bdb2a61f9496e22f8c243d1c829ec..4b9632167adb8ad0b6118dd7d8db205da24f6a26 100644 (file)
           repo: baremetal-operator
       - ipam:
           repo: ip-address-manager
+      - ironic_image:
+          repo: ironic-image
+          name_postfix: '_ironic_from_source'
+          trigger_postfix: '-ironic-source'
+          ironic_install_type: 'source'
       - ironic_image:
           repo: ironic-image
       - ironic_ipa_downloader:
 
 - project:
     name: "capm3"
-    repo:
-      org: "metal3-io"
-      name: "cluster-api-provider-metal3"
+    org: metal3-io
+    proj:
+      - capm3:
+          repo: cluster-api-provider-metal3
+      - project_infra:
+          repo: project-infra
+          branch: '${{ghprbActualCommit}}'
+          ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
     image_os:
       - ubuntu
       - centos
             - v1a5:
                 capi_version: v1alpha4
                 capm3_version: v1alpha5
+                target_branches:
+                  - 'release-0.5'
+      - keep_capm3_e2e_tests:
+          version:
+            - v1b1:
+                capi_version: v1beta1
+                capm3_version: v1beta1
                 target_branches:
                   - 'main'
+            - v1a5:
+                capi_version: v1alpha4
+                capm3_version: v1alpha5
+                target_branches:
                   - 'release-0.5'
+
+- project:
+    name: "capm3-main-tests"
+    repo:
+      org: "metal3-io"
+      name: "cluster-api-provider-metal3"
+    image_os:
+      - ubuntu
+      - centos
+    jobs:
       - capm3_main_e2e_upgrade_tests:
           exclude:
             - image_os: centos
                 capi_version: v1alpha4
                 capm3_version: v1alpha5
                 capm3_branch: release-0.5
-                schedule: "H 20 * * *"
+                schedule: "H 23 * * *"
+
+
+- project:
+    name: 'ironic_image_build_tests'
+    org: metal3-io
+    proj:
+      - project_infra:
+          repo: project-infra
+          branch: '${{ghprbActualCommit}}'
+          ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
+      - ironic_image:
+          repo: ironic-image
+    jobs:
+      - ironic_image_build_tests