Add e2e tests trigger to project-infra
[infra/cicd.git] / jjb / metal3 / projects.yml
index 742c6a594fcdc69144caa59ba749228696c5a080..4b9632167adb8ad0b6118dd7d8db205da24f6a26 100644 (file)
@@ -71,8 +71,6 @@
           repo: ironic-image
           name_postfix: '_ironic_from_source'
           trigger_postfix: '-ironic-source'
-          ironic_repo: '${{ghprbAuthorRepoGitUrl}}'
-          ironic_branch: '${{ghprbActualCommit}}'
           ironic_install_type: 'source'
       - ironic_image:
           repo: ironic-image
 
 - 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
                 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
                 capm3_version: v1alpha5
                 capm3_branch: release-0.5
                 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