metal3: Parameterize version and reorganize projects
[infra/cicd.git] / jjb / metal3 / job_capm3_main_e2e_tests.yml
similarity index 90%
rename from jjb/metal3/job_capm3_v1b1_main_e2e_tests.yml
rename to jjb/metal3/job_capm3_main_e2e_tests.yml
index d0b44a80af5a5d7bb2d477e10285fab02036ce72..255e95c7f3d7773894d16a6af8fcc21ded71fa03 100644 (file)
@@ -25,9 +25,9 @@
 # pipeline job. The pipeline scripts are maintained in Metal3 CI project infra repository.
 
 - job-template:
-    id: capm3_v1b1_main_e2e_tests
-    name: '{job_prefix}_main_v1b1_e2e_test_{image_os}'
-    description: "CAPM3 v1beta1 e2e tests for {repo[org]}/{repo[name]} on {image_os}."
+    id: capm3_main_e2e_tests
+    name: '{job_prefix}_main_{version}_e2e_test_{image_os}'
+    description: "CAPM3 {capm3_version} e2e tests for {repo[org]}/{repo[name]} on {image_os}."
     project-type: pipeline
     defaults: global
     disabled: False
@@ -43,7 +43,7 @@
         description: 'Project github repo name'
     - string:
         name: ghprbActualCommit
-        default: 'main'
+        default: '{capm3_branch}'
         description: 'CI Repo branch for triggering manual build'
     - string:
         name: ghprbAuthorRepoGitUrl
@@ -51,7 +51,7 @@
         description: 'CI Repo URL for triggering manual build'
     - string:
         name: ghprbTargetBranch
-        default: 'main'
+        default: '{capm3_branch}'
         description: 'Target branch of the PR'
     - string:
         name: IMAGE_OS
         description: 'Distribution to use for the target host as well as source and target cluster. Can be ubuntu or centos'
     - string:
         name: CAPI_VERSION
-        default: 'v1beta1'
+        default: '{capi_version}'
         description: 'Cluster API version.'
     - string:
         name: CAPM3_VERSION
-        default: 'v1beta1'
+        default: '{capm3_version}'
         description: 'Cluster API provider Metal3 version.'
     - string:
         name: TARGET_NODE_MEMORY
@@ -86,7 +86,7 @@
         artifact-num-to-keep: -1
 
     triggers:
-      - timed: "H 20 * * *"
+      - timed: "{schedule}"
 
     pipeline-scm:
       scm: