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

[crc-builder] vfkit ref configurable #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

albfan
Copy link
Contributor

@albfan albfan commented Feb 26, 2025

Allow to build different branches on vfkit

@albfan albfan changed the title vfkit ref configurable [crc-builder] vfkit ref configurable Feb 26, 2025
@adrianriobo
Copy link
Collaborator

you need to add the param from here

and then pass to the execution

@albfan albfan force-pushed the vkfit-ref branch 2 times, most recently from 284886d to ccdd901 Compare February 26, 2025 19:15
@albfan
Copy link
Contributor Author

albfan commented Feb 26, 2025

@@ -115,6 +117,9 @@ spec:
if [[ $(params.crc-scm-pr) != "" ]]; then
cmd+="-crcSCMPR $(params.crc-scm-pr) "
fi
if [[ $(params.vfkit-scm-ref) != "" ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AS you have default value you can add the param directly... I would not expected anyone force the param from outside to ""

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for confirmation, I was roundting the idea, but not sure. Will rework it

@@ -68,6 +68,8 @@ spec:
default: https://github.com/code-ready/crc.git
- name: crc-scm-ref
default: main
- name: vfkit-scm-ref
default: main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering that we will use the 'go-1.22' branch instead of 'main'. I suggest using go-1.22as default value.

This will avoid modification on pipelines to setup this new added parameter.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, that would make all easier

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

Successfully merging this pull request may close these issues.

3 participants