fix default ironic image build parameters
[infra/cicd.git] / jjb / metal3 / projects.yml
index c3ca1f31e65411a2d619bf4c873ef27a24b928a2..c4bc5af56feb159b796d9faade4fd531bc3c5154 100644 (file)
     - openstack_node_image_building
     - main_openstack_ipa_and_ironic_image_building
     - metal3_ipa_and_ironic_image_building_test
-    - metal3_dev_tools_integration_test_centos
-    - metal3_dev_tools_integration_test_ubuntu
-    - artifactory_cleanup
+    - metal3_dev_tools_integration_test:
+        image_os:
+          - ubuntu
+          - centos
+    - artifact_cleanup
     repo:
       org: "Nordix"
       name: "metal3-dev-tools"
-    ci_github_jenkins_credentials_id: 'nordix-airship-ci-github-prod-token'
+    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'
 
 - project:
-    name: 'project_infra'
-    branch: '${{ghprbActualCommit}}'
-    repo:
-      org: "metal3-io"
-      name: "project-infra"
-    ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
+    name: integration-tests
+    org: metal3-io
+    proj:
+      - metal3_dev_env:
+          repo: metal3-dev-env
+      - project_infra:
+          repo: project-infra
+          branch: '${{ghprbActualCommit}}'
+          ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
+      - capm3:
+          repo: cluster-api-provider-metal3
+      - bmo:
+          repo: baremetal-operator
+      - ipam:
+          repo: ip-address-manager
+      - ironic_image:
+          repo: ironic-image
+      - ironic_ipa_downloader:
+          repo: ironic-ipa-downloader
+    image_os:
+      - ubuntu
+      - centos
+    version:
+      - v1b1:
+          capi_version: v1beta1
+          capm3_version: v1beta1
+          target_branches:
+            - 'main'
+      - v1a5:
+          capi_version: v1alpha4
+          capm3_version: v1alpha5
+          target_branches:
+            - 'main'
+            - 'release-0.5'
+            - 'release-0.1'
+      - v1a4:
+          capi_version: v1alpha3
+          capm3_version: v1alpha4
+          target_branches:
+            - 'main'
+            - 'release-0.4'
+            - 'release-0.0'
+    exclude:
+      - proj: ironic_ipa_downloader
+        image_os: centos
+        version: v1a5
+      - proj: ironic_ipa_downloader
+        image_os: centos
+        version: v1a4
     jobs:
-    - capm3_v1a4_integration_tests_centos
-    - capm3_v1a4_integration_tests_ubuntu
-    - capm3_v1a5_integration_tests_centos
-    - capm3_v1a5_integration_tests_ubuntu
-    - capm3_v1b1_integration_tests_centos
-    - capm3_v1b1_integration_tests_ubuntu
-    - feature_tests_ubuntu
-    - feature_tests_centos
-    - feature_tests_upgrade_ubuntu
-    - bml_integration_tests_centos
-    - keep_v1b1_test_ubuntu_alive
-    - keep_v1b1_test_centos_alive
-    - keep_v1a5_test_ubuntu_alive
-    - keep_v1a5_test_centos_alive
+      - integration_tests
 
 - project:
-    name: 'project_infra_cleanup'
-    repo:
-      org: "metal3-io"
-      name: "project-infra"
-    ci_github_pipeline: 'jenkins/jobs/integration_tests_clean.pipeline'
+    name: keep-integration-tests-alive
+    org: metal3-io
+    proj:
+      - metal3_dev_env:
+          repo: metal3-dev-env
+      - project_infra:
+          repo: project-infra
+          branch: '${{ghprbActualCommit}}'
+          ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
+      - capm3:
+          repo: cluster-api-provider-metal3
+      - bmo:
+          repo: baremetal-operator
+      - ipam:
+          repo: ip-address-manager
+      - ironic_image:
+          repo: ironic-image
+    image_os:
+      - ubuntu
+      - centos
+    version:
+      - v1b1:
+          capi_version: v1beta1
+          capm3_version: v1beta1
+          target_branches:
+            - 'main'
+      - v1a5:
+          capi_version: v1alpha4
+          capm3_version: v1alpha5
+          target_branches:
+            - 'main'
+            - 'release-0.5'
+            - 'release-0.1'
     jobs:
-    - main_clean
+      - keep_integration_tests
 
 - project:
-    name: "bmo"
-    repo:
-      org: "metal3-io"
-      name: "baremetal-operator"
+    name: feature-tests
+    org: metal3-io
+    proj:
+      - metal3_dev_env:
+          repo: metal3-dev-env
+      - project_infra:
+          repo: project-infra
+          branch: '${{ghprbActualCommit}}'
+          ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
+      - bmo:
+          repo: baremetal-operator
+    image_os:
+      - ubuntu
+      - centos
+    exclude:
+      - proj: bmo
+        image_os: centos
     jobs:
-    - capm3_v1a4_integration_tests_centos
-    - capm3_v1a4_integration_tests_ubuntu
-    - capm3_v1a5_integration_tests_centos
-    - capm3_v1a5_integration_tests_ubuntu
-    - capm3_v1b1_integration_tests_centos
-    - capm3_v1b1_integration_tests_ubuntu
-    - keep_v1b1_test_ubuntu_alive
-    - keep_v1b1_test_centos_alive
-    - keep_v1a5_test_ubuntu_alive
-    - keep_v1a5_test_centos_alive
-    - feature_tests_ubuntu
+      - feature_tests
+      - feature_tests_upgrade:
+          exclude:
+            - image_os: centos
+            - proj: bmo
 
 - project:
-    name: "ipam"
-    repo:
-      org: "metal3-io"
-      name: "ip-address-manager"
+    name: metal3-dev-env-main-tests
+    org: metal3-io
+    repo: metal3-dev-env
+    image_os:
+      - ubuntu
+      - centos
     jobs:
-    - capm3_v1a4_integration_tests_centos
-    - capm3_v1a4_integration_tests_ubuntu
-    - capm3_v1a5_integration_tests_centos
-    - capm3_v1a5_integration_tests_ubuntu
-    - capm3_v1b1_integration_tests_centos
-    - capm3_v1b1_integration_tests_ubuntu
-    - keep_v1b1_test_ubuntu_alive
-    - keep_v1b1_test_centos_alive
-    - keep_v1a5_test_ubuntu_alive
-    - keep_v1a5_test_centos_alive
+      - main_feature_tests
+      - main_feature_tests_upgrade:
+          exclude:
+            - image_os: centos
+      - capm3_main_integration_tests:
+          version:
+            - v1b1:
+                capi_version: v1beta1
+                capm3_version: v1beta1
+                schedule: "H 4 * * *"
+            - v1a5:
+                capi_version: v1alpha4
+                capm3_version: v1alpha5
+                schedule: "30 4 * * *"
 
 - project:
-    name: "metal3_dev_env"
+    name: bml-tests
+    org: metal3-io
+    image_os: centos
     jobs:
-    - capm3_v1a4_integration_tests_centos
-    - capm3_v1a4_integration_tests_ubuntu
-    - capm3_v1a4_main_integration_tests_centos
-    - capm3_v1a4_main_integration_tests_ubuntu
-    - capm3_v1a5_integration_tests_centos
-    - capm3_v1a5_integration_tests_ubuntu
-    - capm3_v1a5_main_integration_tests_centos
-    - capm3_v1a5_main_integration_tests_ubuntu
-    - capm3_v1b1_integration_tests_centos
-    - capm3_v1b1_integration_tests_ubuntu
-    - capm3_v1b1_main_integration_tests_centos
-    - capm3_v1b1_main_integration_tests_ubuntu
-    - feature_tests_ubuntu
-    - feature_tests_centos
-    - feature_tests_upgrade_ubuntu
-    - main_feature_tests_ubuntu
-    - main_feature_tests_centos
-    - main_feature_tests_upgrade_ubuntu
-    - bml_integration_tests_centos
-    - bml_main_integration_tests_centos
-    - keep_v1b1_test_ubuntu_alive
-    - keep_v1b1_test_centos_alive
-    - keep_v1a5_test_ubuntu_alive
-    - keep_v1a5_test_centos_alive
+      - bml_integration_tests:
+          proj:
+            - metal3_dev_env:
+                repo: metal3-dev-env
+            - project_infra:
+                repo: project-infra
+                branch: '${{ghprbActualCommit}}'
+                ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
+      - bml_main_integration_tests:
+          repo: metal3-dev-env
 
+- project:
+    name: 'project_infra_cleanup'
     repo:
       org: "metal3-io"
-      name: "metal3-dev-env"
+      name: "project-infra"
+    ci_github_pipeline: 'jenkins/jobs/integration_tests_clean.pipeline'
+    jobs:
+    - main_clean
 
 - project:
     name: "capm3"
     repo:
       org: "metal3-io"
       name: "cluster-api-provider-metal3"
+    image_os:
+      - ubuntu
+      - centos
     jobs:
-    - capm3_v1a4_integration_tests_centos
-    - capm3_v1a4_integration_tests_ubuntu
-    - capm3_v1a5_integration_tests_centos
-    - capm3_v1a5_integration_tests_ubuntu
-    - capm3_v1a5_e2e_tests_ubuntu
-    - capm3_v1a5_e2e_tests_centos
-    - capm3_v1a5_main_e2e_tests_ubuntu
-    - capm3_v1a5_main_e2e_tests_centos
-    - capm3_v1b1_integration_tests_centos
-    - capm3_v1b1_integration_tests_ubuntu
-    - capm3_v1b1_e2e_tests_centos
-    - capm3_v1b1_e2e_tests_ubuntu
-    - capm3_v1b1_e2e_upgrade_tests_ubuntu
-    - capm3_v1b1_main_e2e_tests_centos
-    - capm3_v1b1_main_e2e_tests_ubuntu
-    - keep_v1b1_test_ubuntu_alive
-    - keep_v1b1_test_centos_alive
-    - keep_v1a5_test_ubuntu_alive
-    - keep_v1a5_test_centos_alive
+      - capm3_e2e_upgrade_tests:
+          exclude:
+            - image_os: centos
+      - 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'
+      - 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'
+      - capm3_main_e2e_upgrade_tests:
+          exclude:
+            - image_os: centos
+      - capm3_main_e2e_ephemeral_tests:
+          exclude:
+            - image_os: ubuntu
+      - capm3_main_e2e_tests:
+          version:
+            - v1b1:
+                capi_version: v1beta1
+                capm3_version: v1beta1
+                capm3_branch: main
+                schedule: "H 20 * * *"
+            - v1a5:
+                capi_version: v1alpha4
+                capm3_version: v1alpha5
+                capm3_branch: release-0.5
+                schedule: "H 23 * * *"
 
 
 - project:
-    name: "ironic_image"
-    repo:
-      org: "metal3-io"
-      name: "ironic-image"
-    jobs:
-    - capm3_v1a4_integration_tests_centos
-    - capm3_v1a4_integration_tests_ubuntu
-    - capm3_v1a5_integration_tests_centos
-    - capm3_v1a5_integration_tests_ubuntu
-    - capm3_v1b1_integration_tests_centos
-    - capm3_v1b1_integration_tests_ubuntu
-    - keep_v1b1_test_ubuntu_alive
-    - keep_v1b1_test_centos_alive
-    - keep_v1a5_test_ubuntu_alive
-    - keep_v1a5_test_centos_alive
-
-- project:
-    name: "ironic_ipa_downloader"
-    repo:
-      org: "metal3-io"
-      name: "ironic-ipa-downloader"
+    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:
-    - capm3_v1a4_integration_tests_ubuntu
-    - capm3_v1a5_integration_tests_ubuntu
-    - capm3_v1b1_integration_tests_centos
-    - capm3_v1b1_integration_tests_ubuntu
+      - ironic_image_build_tests