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

Build provider in kairos and bring tests #1592

Merged
merged 21 commits into from
Jul 12, 2023

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented Jul 7, 2023

Signed-off-by: Itxaka [email protected]

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

@Itxaka Itxaka force-pushed the provider-kairos branch 2 times, most recently from 7f9cb68 to e5442b1 Compare July 10, 2023 12:50
Signed-off-by: Itxaka <[email protected]>
Signed-off-by: Itxaka <[email protected]>
Add them at the top for future use, manually re-run OSRELEASE under
provider iso

Signed-off-by: Itxaka <[email protected]>
They are already set at the root level

Signed-off-by: Itxaka <[email protected]>
Signed-off-by: Itxaka <[email protected]>
@@ -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 {
Copy link
Member Author

@Itxaka Itxaka Jul 11, 2023

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.

@Itxaka Itxaka marked this pull request as ready for review July 11, 2023 10:35
@Itxaka Itxaka requested a review from a team July 11, 2023 10:35
mauromorales
mauromorales previously approved these changes Jul 11, 2023
Copy link
Member

@mauromorales mauromorales left a 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 <[email protected]>
@Itxaka
Copy link
Member Author

Itxaka commented Jul 12, 2023

all jobs passed under https://github.com/kairos-io/kairos/actions/runs/5528778626/jobs/10086510302 moving them now to master only

@Itxaka Itxaka requested review from mauromorales and a team July 12, 2023 10:24
git fetch --prune --unshallow
- name: setup-docker
uses: docker-practice/actions-setup-docker@master
- name: Release space from worker
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

woops, didnt even noticed

mauromorales
mauromorales previously approved these changes Jul 12, 2023
Copy link
Member

@mauromorales mauromorales left a 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 <[email protected]>
Signed-off-by: Itxaka <[email protected]>
@Itxaka Itxaka merged commit 1b98143 into kairos-io:master Jul 12, 2023
@Itxaka Itxaka deleted the provider-kairos branch July 12, 2023 20:43
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.

Merge provider-kairos CI with kairos
2 participants