-
Notifications
You must be signed in to change notification settings - Fork 97
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
Build provider in kairos and bring tests #1592
Conversation
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
7f9cb68
to
e5442b1
Compare
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Add them at the top for future use, manually re-run OSRELEASE under provider iso Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
They are already set at the root level Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
@@ -211,13 +230,14 @@ func startVM() (context.Context, VM) { | |||
return ctx, vm | |||
} | |||
|
|||
func isFlavor(flavor string) bool { | |||
return strings.Contains(os.Getenv("FLAVOR"), flavor) | |||
func isFlavor(vm VM, flavor string) bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this now doesn't depend on user setting the FLAVOR var, which made no sense to me.
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sweet 💪
So we reboot to the active system after install Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
all jobs passed under https://github.com/kairos-io/kairos/actions/runs/5528778626/jobs/10086510302 moving them now to master only |
.github/workflows/image.yaml
Outdated
git fetch --prune --unshallow | ||
- name: setup-docker | ||
uses: docker-practice/actions-setup-docker@master | ||
- name: Release space from worker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a big deal, but should we move together with the other Release space?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woops, didnt even noticed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two minor things, other than that lgtm
Co-authored-by: Mauro Morales <contact@mauromorales.com> Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: Itxaka itxaka.garcia@spectrocloud.com
What this PR does / why we need it:
Brings the testing of provider-kairos into kairos CI.
This only deals with x86 testing as there is no other tests rather than building an iso/image for arm64.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1557