fix default ironic image build parameters
Change-Id: Ic0cb46e9f3356f8e782c88b5b75efe5bacee8bf5
diff --git a/jjb/metal3/job_ironic_image_build_test.yml b/jjb/metal3/job_ironic_image_build_test.yml
index 1ce9c90..2753c82 100644
--- a/jjb/metal3/job_ironic_image_build_test.yml
+++ b/jjb/metal3/job_ironic_image_build_test.yml
@@ -42,6 +42,18 @@
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: ''
description: 'This parameter is used to inject ironic-image patchfile content during replay.'
diff --git a/jjb/metal3/projects.yml b/jjb/metal3/projects.yml
index abc599c..c4bc5af 100644
--- a/jjb/metal3/projects.yml
+++ b/jjb/metal3/projects.yml
@@ -276,8 +276,8 @@
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: