Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have defaults for branches / tags of Konveyor components based on the branch where CI is running #35

Open
pranavgaikwad opened this issue Apr 30, 2024 · 0 comments

Comments

@pranavgaikwad
Copy link
Contributor

These values should have defaults based on the branch where CI is running in any repo. Right now, all default to main / latest

tag:
description: |
The tag that should be used to pull all konveyor related images.
For example, if you wanted to set a nightly build for release-0.2, you would specify
"release-0.2".
required: false
type: string
default: latest

api_tests_ref:
description: |
The branch or PR of the go-konveyor-tests repository to clone.
For a pull request, the reference format would be "refs/pull/${PR_NUMBER}/merge".
For a branch, the reference format would just be the branch name.
This input can be set automatically on a pull request by adding a string of the format:
Go tests PR: 140
replacing "140" with the appropriate PR number. This will make it easier to coordinate changes
that require updating the global tests as well.
required: false
type: string
default: main
api_hub_tests_ref:
description: |
The branch or PR of the Hub API tests from tackle2-hub repository to clone.
For a pull request, the reference format would be "refs/pull/${PR_NUMBER}/merge".
For a branch, the reference format would just be the branch name.
required: false
type: string
default: main

We need to find occurrences elsewhere too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant