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

🤖 Do not auto reboot on uki tests #2549

Merged
merged 4 commits into from
May 13, 2024
Merged

🤖 Do not auto reboot on uki tests #2549

merged 4 commits into from
May 13, 2024

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented May 9, 2024

When we run the uki tests, we tail the logs at /var/log/kairos to see if we can find the correct steps.

This is due so we can test the uki install via datasource iso, i.e. the install starts and runs automatically.

By setting the reboot to true, sometimes the machine will reboot while we are still trying to collect the logs and cause an ssh force exit, which breaks the test.

This also makes no sense as in the uki test we reboot automatically after we have checked that the install goes ok.

This patch makes it so the install wont autorestart automatically so we can check all the install steps via logs properly.

It also reworks a bit the uki job to be a matrix and removes the core uki job which was a clone of the uki jobs

Signed-off-by: Itxaka <itxaka@kairos.io>
Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from a team May 9, 2024 13:17
@Itxaka Itxaka marked this pull request as ready for review May 9, 2024 13:17
with:
repository: quay.io/kairos/packages
packages: system/kairos-agent
- name: Push to quay
Copy link
Member

Choose a reason for hiding this comment

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

I think we still need core because this is what the edge team has been using for their tests, no?

Copy link
Member Author

Choose a reason for hiding this comment

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

Core was just the same as the Ubuntu lts no? It's building 24.04? Or did I screwed it up?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ohh this pushes it to quay on master!

Good catch, I thought we had that on the reusable job...we may need to have that there anyway?

Copy link
Member

Choose a reason for hiding this comment

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

No I think we don't have it on the reusable job but I guess we could use the reusable job to build and then still push just on the ones we want to push, since we don't want fedora atm for example

Copy link
Member Author

Choose a reason for hiding this comment

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

I added it to the reusable job, now it pushes AFTER tests pass and only if its from master and UBUNTU

I would change that to push always, so any image that we test is pushed....makes sense to me, if we run tests and it passes, we should make that image available no?

Copy link
Member

Choose a reason for hiding this comment

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

@Itxaka yeah I don't see why not, but we should make sure we also "release" those maybe?

Copy link
Member Author

Choose a reason for hiding this comment

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

well, maybe not unless we "support" them somehow rigth?

Its nice to have the images pushed from master so we can test building isos from there and such. But on release, we are committing to it rigth? like we are saying is supported by making it an official release artifact rather than a in-progress dev version. I would be ok with that but our current focus is on ubuntu so not sure if it would make sense to make it officially supported with our bandwidth :(

Something to discuss on Monday I guess?

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested review from mauromorales and a team May 10, 2024 09:25
@Itxaka
Copy link
Member Author

Itxaka commented May 10, 2024

Blocked until we can discuss on monday meeting what to do with fedora uki releases

@Itxaka Itxaka mentioned this pull request May 13, 2024
@Itxaka Itxaka requested a review from a team May 13, 2024 09:01
Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka changed the title Do not auto reboot on uki tests 🤖 Do not auto reboot on uki tests May 13, 2024
@Itxaka Itxaka merged commit fad896c into master May 13, 2024
6 of 31 checks passed
@Itxaka Itxaka deleted the uki_tests branch May 13, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants