fix default ironic image build parameters 92/13192/1
authorRozzii <adam.rozman@est.tech>
Tue, 12 Apr 2022 08:18:32 +0000 (11:18 +0300)
committerRozzii <adam.rozman@est.tech>
Tue, 12 Apr 2022 08:18:32 +0000 (11:18 +0300)
Change-Id: Ic0cb46e9f3356f8e782c88b5b75efe5bacee8bf5

jjb/metal3/job_ironic_image_build_test.yml
jjb/metal3/projects.yml

index 1ce9c90488f298ffc16c4a9e5c6f04975b8cb86f..2753c826e20d633b938479c965b97f74ad9c56a1 100644 (file)
         name: PROJECT_REPO_NAME
         default: '{repo}'
         description: 'Project github repo name'
+    - string:
+        name: ghprbActualCommit
+        default: 'main'
+        description: 'CI Repo branch for triggering manual build'
+    - string:
+        name: ghprbAuthorRepoGitUrl
+        default: 'https://github.com/{org}/{repo}.git'
+        description: 'CI Repo URL for triggering manual build'
+    - string:
+        name: ghprbTargetBranch
+        default: 'main'
+        description: 'Target branch of the PR'
     - string:
         name: PATCHFILE_CONTENT
         default: ''
index abc599c55c534bf7d57a7f7b6e099e1bbfa1fc13..c4bc5af56feb159b796d9faade4fd531bc3c5154 100644 (file)
     proj:
       - project_infra:
           repo: project-infra
-          branch: '${{ghprbActualCommit ?: main}}'
-          ci_github_repo: '${{ghprbAuthorRepoGitUrl ?: https://github.com/metal3-io/project-infra.git}}'
+          branch: '${{ghprbActualCommit}}'
+          ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
       - ironic_image:
           repo: ironic-image
     jobs: