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

Add upgrade uki test #2776

Merged
merged 15 commits into from
Sep 4, 2024
Merged

Add upgrade uki test #2776

merged 15 commits into from
Sep 4, 2024

Conversation

jimmykarily
Copy link
Contributor

@jimmykarily jimmykarily commented Jul 30, 2024

Needs this: kairos-io/kairos-agent#446
Fixes: #2385

In WIP state because it points to a kairos-agent dev branch (KAIROS_AGENT_DEV_BRANCH). Will open for review as soon as the kairos-agent PR is merged.

What this PR does / why we need it:

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 #

@jimmykarily jimmykarily force-pushed the 2385-upgrade-single-entries branch 5 times, most recently from 7e9efc3 to 685be83 Compare August 5, 2024 07:46
@jimmykarily jimmykarily force-pushed the 2385-upgrade-single-entries branch 4 times, most recently from 7635297 to ea34910 Compare August 12, 2024 13:32
@jimmykarily jimmykarily self-assigned this Aug 13, 2024
@jimmykarily jimmykarily changed the title [WIP] Add upgrade uki test Add upgrade uki test Aug 28, 2024
@jimmykarily jimmykarily requested a review from a team August 28, 2024 09:00
@jimmykarily jimmykarily marked this pull request as ready for review August 28, 2024 09:00
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
because otherwise we get this error:

Error: overlay-iso is only supported for iso artifacts

Signed-off-by: Dimitris Karakasilis <[email protected]>
because the target needs to be adapted to accept a local dir and it's a
mess in Earthly

Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
coming from the transfer of the text over ssh.

`out` had special characters like ^F and ^A in it.

Signed-off-by: Dimitris Karakasilis <[email protected]>
because the device there appears as /dev/dm-0

Signed-off-by: Dimitris Karakasilis <[email protected]>
@jimmykarily jimmykarily merged commit 036ed8e into master Sep 4, 2024
42 of 43 checks passed
@jimmykarily jimmykarily deleted the 2385-upgrade-single-entries branch September 4, 2024 12:27
renovate bot referenced this pull request in marinatedconcrete/config Sep 22, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [kairos-io/kairos](https://redirect.github.com/kairos-io/kairos) |
patch | `v3.1.2` -> `v3.1.3` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>kairos-io/kairos (kairos-io/kairos)</summary>

###
[`v3.1.3`](https://redirect.github.com/kairos-io/kairos/releases/tag/v3.1.3)

[Compare
Source](https://redirect.github.com/kairos-io/kairos/compare/v3.1.2...v3.1.3)

##### Release highlights:

- In the previous release, we introduced a fix for the broken
permissions of the user's home directory. It turned out that the fix
only applied to users created by the top level `users:` key in the
Kairos configuration file. In this release, users created in various
stages will also get their home directory permissions fixed. If for some
reason, you don't want [the script]() to recursively fix the home
directory permissions, you can create [a sentinel
file](https://redirect.github.com/kairos-io/packages/blob/2fce89f6499a722768b1c58b6eace5ed7e45742d/packages/static/kairos-overlay-files/files/usr/bin/fix-home-dir-ownership#L5-L7)
to skip the fix and apply it on your own as you see fit.
- Fixed an issue where we didn't calculate the upgrade image size and
the always created an image with the default size
([https://github.com/kairos-io/kairos/issues/2818](https://redirect.github.com/kairos-io/kairos/issues/2818))
- Fixed an issue in Kairos upgrades through Kuberentes, where various
host directories were also used in image size calculation
([https://github.com/kairos-io/kairos-agent/pull/537](https://redirect.github.com/kairos-io/kairos-agent/pull/537))
- We now display the webui url below the QR code to avoid people having
to plug a keyboard just to find the IP address of the node
([https://github.com/kairos-io/kairos/issues/2826](https://redirect.github.com/kairos-io/kairos/issues/2826))
- Fixed a bug in Alpine flavors where we passed the edgevpn arguments in
the openrc service file wrongly
([https://github.com/kairos-io/kairos/issues/2789](https://redirect.github.com/kairos-io/kairos/issues/2789))
-   Lots of version bumps on dependencies (mostly automated).

##### Known Issues

- \[Carry over from previous releases] RPi EFI booting no longer
supported on kernels shipped with Ubuntu 24.04+
[#&#8203;2249](https://redirect.github.com/kairos-io/kairos/issues/2249)

##### What's Changed

- Add permissions to generic arm release pipeline by
[@&#8203;mauromorales](https://redirect.github.com/mauromorales) in
[https://github.com/kairos-io/kairos/pull/2840](https://redirect.github.com/kairos-io/kairos/pull/2840)
- Update tj-actions/changed-files action to v45 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2816](https://redirect.github.com/kairos-io/kairos/pull/2816)
- Add upgrade uki test by
[@&#8203;jimmykarily](https://redirect.github.com/jimmykarily) in
[https://github.com/kairos-io/kairos/pull/2776](https://redirect.github.com/kairos-io/kairos/pull/2776)
- Update dependency go to v1.23.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2845](https://redirect.github.com/kairos-io/kairos/pull/2845)
- Generate relative paths to files by
[@&#8203;jimmykarily](https://redirect.github.com/jimmykarily) in
[https://github.com/kairos-io/kairos/pull/2846](https://redirect.github.com/kairos-io/kairos/pull/2846)
- 🤖 Make arm64 workers use docker mirror by
[@&#8203;Itxaka](https://redirect.github.com/Itxaka) in
[https://github.com/kairos-io/kairos/pull/2850](https://redirect.github.com/kairos-io/kairos/pull/2850)
- 🐛 Fix wifi cloud-config example by
[@&#8203;jimmyjones2](https://redirect.github.com/jimmyjones2) in
[https://github.com/kairos-io/kairos/pull/2820](https://redirect.github.com/kairos-io/kairos/pull/2820)
- 📖 Add alpine wifi cloud-config by
[@&#8203;jimmyjones2](https://redirect.github.com/jimmyjones2) in
[https://github.com/kairos-io/kairos/pull/2819](https://redirect.github.com/kairos-io/kairos/pull/2819)
- Update anchore/grype Docker tag to v0.80.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2852](https://redirect.github.com/kairos-io/kairos/pull/2852)
- Update aquasec/trivy Docker tag to v0.55.0 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2781](https://redirect.github.com/kairos-io/kairos/pull/2781)
- Update aquasec/trivy Docker tag to v0.55.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2854](https://redirect.github.com/kairos-io/kairos/pull/2854)
- Update github/codeql-action action to v3.26.6 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2799](https://redirect.github.com/kairos-io/kairos/pull/2799)
- Fix test printing old value for debugging by
[@&#8203;jimmykarily](https://redirect.github.com/jimmykarily) in
[https://github.com/kairos-io/kairos/pull/2855](https://redirect.github.com/kairos-io/kairos/pull/2855)
- Update google/osv-scanner-action action to v1.8.5 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2853](https://redirect.github.com/kairos-io/kairos/pull/2853)
- Update quay.io/kairos/framework Docker tag to v2.11.5 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2856](https://redirect.github.com/kairos-io/kairos/pull/2856)
- Update github/codeql-action action to v3.26.7 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2858](https://redirect.github.com/kairos-io/kairos/pull/2858)
- Update quay.io/kairos/framework Docker tag to v2.11.7 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/kairos-io/kairos/pull/2859](https://redirect.github.com/kairos-io/kairos/pull/2859)
- Split the uploading of trivy and grype results by
[@&#8203;jimmykarily](https://redirect.github.com/jimmykarily) in
[https://github.com/kairos-io/kairos/pull/2860](https://redirect.github.com/kairos-io/kairos/pull/2860)

##### New Contributors

- [@&#8203;jimmyjones2](https://redirect.github.com/jimmyjones2) made
their first contribution in
[https://github.com/kairos-io/kairos/pull/2820](https://redirect.github.com/kairos-io/kairos/pull/2820)

**Full Changelog**:
kairos-io/kairos@v3.1.2...v3.1.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/marinatedconcrete/config).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

UKI: Upgrade of other booting entries
2 participants