Commit Graph

1231 Commits

Author SHA1 Message Date
Itxaka
e23d099a07 Do not skip /run when counting the size (#538)
(cherry picked from commit a6bf3541c5)
2024-09-13 17:31:58 +02:00
Itxaka
4f2bc7732c Fix upgrade size calculation inside k8s (#537)
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
(cherry picked from commit 7c6c195bd5)
2024-09-13 13:10:04 +02:00
Dimitris Karakasilis
76899b7b77
Merge pull request #509 from kairos-io/add-test-and-fix-recovery-upgrade
Add test and fix recovery upgrade
2024-09-04 13:22:47 +03:00
Dimitris Karakasilis
774547e150
Address PR comments
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-04 12:51:19 +03:00
renovate[bot]
f56b7a9c93
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 00:55:37 +00:00
renovate[bot]
5281bebba0
fix(deps): update module github.com/google/go-github/v63 to v64 (#513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 00:55:19 +00:00
renovate[bot]
6d2d0cd4fb
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:22:16 +00:00
renovate[bot]
6b4f625577
fix(deps): update module github.com/google/go-github/v63 to v64 (#511)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:22:00 +00:00
dependabot[bot]
77b42c4ef0
Bump github.com/opencontainers/runc (#510)
Bumps the go_modules group with 1 update in the / directory: [github.com/opencontainers/runc](https://github.com/opencontainers/runc).


Updates `github.com/opencontainers/runc` from 1.1.13 to 1.1.14
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.13...v1.1.14)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 19:56:35 +00:00
Dimitris Karakasilis
8bf8fd8e6e
Remove unecessary changes
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 16:14:40 +03:00
Dimitris Karakasilis
88c1e93d71
Remove unecessary handling of config
As described here:
https://github.com/kairos-io/kairos-agent/pull/499/files#r1735245329

the `unmarshallFullSpec` will take care of the `upgrade.entry`
config so no need to handle it twice.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 16:11:53 +03:00
Dimitris Karakasilis
f9b6a529f3
Use cli options to set the upgrade entry
so that we check if this works (fixed bug)

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 15:30:55 +03:00
Dimitris Karakasilis
ee14575627
Rename method
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 15:18:33 +03:00
Dimitris Karakasilis
3c9ba426e6
Fix test
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 15:16:57 +03:00
Dimitris Karakasilis
2570a1848b
Extract login into a method
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 13:52:12 +03:00
Dimitris Karakasilis
773b1e7d59
Add test for image size calculation and respect --recovery flag
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-03 13:38:47 +03:00
Itxaka
4401cedb80
Fix image size calculation on upgrade (#508) 2024-09-03 11:59:33 +02:00
renovate[bot]
eac394da0f
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 01:48:49 +00:00
renovate[bot]
e09a62f220
fix(deps): update module github.com/google/go-github/v63 to v64 (#506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 01:48:44 +00:00
renovate[bot]
9edc60aaec
fix(deps): update module github.com/masterminds/sprig/v3 to v3.3.0 (#505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 21:12:06 +00:00
renovate[bot]
7834cb7a3f chore(deps): update dependency cypress to v13.14.1 2024-08-29 21:11:24 +00:00
renovate[bot]
f61b9e9803
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 02:23:55 +00:00
renovate[bot]
033b4f0155
fix(deps): update module github.com/google/go-github/v63 to v64 (#502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 02:23:49 +00:00
renovate[bot]
8dc1357160 fix(deps): update module github.com/onsi/gomega to v1.34.2 2024-08-29 02:23:31 +00:00
renovate[bot]
402a21270a fix(deps): update module github.com/onsi/ginkgo/v2 to v2.20.2 2024-08-28 21:09:52 +00:00
renovate[bot]
cf35379f3d
fix(deps): update module github.com/google/go-github/v63 to v64 (#497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 01:19:15 +00:00
renovate[bot]
d03feb6e5b
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 01:19:07 +00:00
renovate[bot]
b3af472150
fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0 (#496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 23:00:48 +00:00
renovate[bot]
f6cd131db1
chore(deps): update dependency cypress to v13.14.0 (#495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 22:59:45 +00:00
renovate[bot]
be49b671a1
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 21:15:39 +00:00
renovate[bot]
8337ade547
fix(deps): update module github.com/google/go-github/v63 to v64 (#493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 21:15:29 +00:00
renovate[bot]
9e12ecf9c1
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 13:52:51 +00:00
Dimitris Karakasilis
390bc6a7b4
Merge pull request #446 from kairos-io/2385-upgrade-single-entries
2385 upgrade single entries
2024-08-26 16:47:32 +03:00
Dimitris Karakasilis
332d516467
Respect upgrade.recovery when set through the config file
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-08-26 16:33:46 +03:00
Dimitris Karakasilis
0e8195b7a4
Fix other test
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-08-26 16:33:46 +03:00
Dimitris Karakasilis
c0c419cce8
Fix unit tests
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-08-26 16:33:46 +03:00
Dimitris Karakasilis
257d0a1c38
Unify --recover and --boot-entry upgrade options in code
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-08-26 16:33:44 +03:00
Dimitris Karakasilis
7e82580539
Add flag
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-08-26 16:32:43 +03:00
Dimitris Karakasilis
c589ae1ce3
[WIP] Properly handle single entries in bootentry command
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-08-26 16:32:43 +03:00
Dimitris Karakasilis
7059083fcf
Extract installEntry to a method
so that is can be reused to upgrade arbitrary entries

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-08-26 16:32:39 +03:00
renovate[bot]
b172603f0a
fix(deps): update module github.com/google/go-github/v63 to v64 (#491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 13:11:02 +00:00
renovate[bot]
99f3522af3
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 13:05:33 +00:00
renovate[bot]
25e86006d4
fix(deps): update module github.com/google/go-github/v63 to v64 (#489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 13:00:13 +00:00
renovate[bot]
aa85711003
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 12:55:22 +00:00
renovate[bot]
017b41ccaa
fix(deps): update module github.com/google/go-github/v63 to v64 (#487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 09:49:11 +00:00
renovate[bot]
d4d6084271
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 09:44:15 +00:00
renovate[bot]
a373b23fd8
fix(deps): update module github.com/google/go-github/v63 to v64 (#485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 08:29:17 +00:00
renovate[bot]
cd331967f8
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 08:24:17 +00:00
renovate[bot]
2212b72f2c
fix(deps): update module github.com/google/go-github/v63 to v64 (#483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 04:18:37 +00:00
renovate[bot]
989476c528
fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 04:13:47 +00:00