Commit Graph

942 Commits

Author SHA1 Message Date
Itxaka
e8dbe2f011 Fix device auto flag on uki (#207) v2.7.3 2024-01-24 10:44:19 +01:00
Itxaka
e80a435c53 Fix --source flag (#205) 2024-01-23 17:05:54 +01:00
Itxaka
751e299532 Restore partitions config from cloudconfig (#204) 2024-01-19 12:25:45 +01:00
Itxaka
708cf09929 Add workaround for secureboot ubuntu flavor (#203) v2.7.2 2024-01-15 15:15:05 +01:00
Itxaka
96d9f402a1 reuse same base image across all targets (#202) 2024-01-15 13:54:38 +01:00
Itxaka
7b3149e9ce Add 1.19 go to test matrix (#201) 2024-01-11 12:29:43 +01:00
Itxaka
ab57da1382 Remove cutSuffix as its go >=1.20 only (#200) v2.7.1 2024-01-11 11:51:46 +01:00
Itxaka
ae41cbf34e Copy grub+shim from the rootfs especific paths (#189) v2.7.0 2024-01-11 11:24:43 +01:00
Dimitris Karakasilis
845b9b1e3b Merge pull request #199 from kairos-io/add-flag-to-print-all-releases
Add "--all" flag to list-releases to print older releases too
v2.6.3
2024-01-11 11:06:31 +02:00
Dimitris Karakasilis
9a8c404cfa Add "--all" flag to list-releases to print older releases too
This will allow us to fix the broken test in master and also allow
people to downgrade to older releases.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-01-11 10:43:45 +02:00
Itxaka
53f49169b1 Fix uki mode detection (#198) 2024-01-10 10:38:31 +01:00
Itxaka
174d69c3ea Merge uki upgrade into the normal upgrade command (#197) 2024-01-09 16:42:49 +01:00
Itxaka
775756f4b6 Run install off the same command (#196) 2024-01-09 15:10:04 +01:00
Mauro Morales
663801091d Allow downgrading of k3s when upgrading kairos version
Signed-off-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
v2.6.2
2024-01-08 17:01:57 +02:00
Dimitris Karakasilis
3b25814fa4 Merge pull request #195 from kairos-io/2104-bump-sdk
Bump kairos-sdk
v2.6.1
2024-01-05 12:31:41 +02:00
Dimitris Karakasilis
26967ba8f1 Bump kairos-sdk
to consume https://github.com/kairos-io/kairos-sdk/pull/65

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-01-05 10:30:02 +02:00
renovate[bot]
604f111866 Update module github.com/mudler/yip to v1.4.6 2024-01-04 03:39:43 +00:00
renovate[bot]
42c40a42fa Update module github.com/labstack/echo/v4 to v4.11.4 2024-01-04 00:49:43 +00:00
renovate[bot]
fccdefdf0e Update dependency codemirror to v5.65.16 2024-01-03 22:05:47 +00:00
Mauro Morales
ca509a6b0a Merge pull request #116 from kairos-io/renovate/github.com-google-go-containerregistry-0.x
Update module github.com/google/go-containerregistry to v0.17.0
2024-01-03 14:33:02 +01:00
Mauro Morales
de3d581447 Merge pull request #167 from kairos-io/renovate/alpinejs-3.x-lockfile
Update dependency alpinejs to v3.13.3
2024-01-03 11:23:59 +01:00
Dimitris Karakasilis
14f6eee141 Merge pull request #188 from kairos-io/bump-sdk
Bump the kairos-sdk to use quoted os-release variables
v2.6.0 v2.6.0-rc2
2023-12-19 11:30:32 +02:00
Dimitris Karakasilis
e9251fcfc5 Bump the kairos-sdk to use quoted os-release variables
https://github.com/kairos-io/kairos-sdk/pull/63/files

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-19 11:22:59 +02:00
Itxaka
48188d1442 Bump Kcrypt
Signed-off-by: Itxaka <itxaka@kairos.io>
v2.6.0-rc1
2023-12-18 16:17:23 +01:00
Itxaka
b8232ae985 UKI improvements (#186) 2023-12-18 16:09:55 +01:00
Itxaka
3254b8a36e Uki upgrade (#182) 2023-12-18 11:38:26 +01:00
renovate[bot]
2be11b827e Update module github.com/kairos-io/kcrypt to v0.8.0 (#185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-16 10:04:35 +01:00
Ettore Di Giacinto
18904259ab Update LICENSE 2023-12-15 11:36:12 +01:00
Ettore Di Giacinto
2db5e4bf97 Create LICENSE 2023-12-15 11:35:01 +01:00
Dimitris Karakasilis
4409a4e7db Merge pull request #184 from kairos-io/1999-bump-sdk
Bump the kairos-sdk to get the latest changes regarding versioneer
2023-12-14 17:13:02 +02:00
Dimitris Karakasilis
559e1e2b70 Bump the kairos-sdk to get the latest changes regarding versioneer
https://github.com/kairos-io/kairos-sdk/pull/62

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-14 17:03:41 +02:00
renovate[bot]
580c7bdab5 Update github.com/kairos-io/kcrypt digest to 12a8d5d (#183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 14:03:53 +01:00
Itxaka
7ca39f2729 Encrypt uki partitions after install (#176) 2023-12-12 20:51:55 +00:00
Dimitris Karakasilis
44d363fc0e Consume a tagged kairos-sdk version
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
v2.5.0
2023-12-08 14:54:04 +02:00
Dimitris Karakasilis
05174fed43 Merge pull request #181 from kairos-io/1999-consume-versioneer
1999 consume versioneer
2023-12-08 14:18:25 +02:00
Dimitris Karakasilis
2412d69e32 Re-enable call-out to provider for releases
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-08 10:50:01 +02:00
Dimitris Karakasilis
00ce75b285 Deprecate positional argument and cleanup unused code
because empty source caused an error, because of Sanitize() failing.
handleEmptySource was never called.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-07 18:20:16 +02:00
Dimitris Karakasilis
6783931956 go mod tidy
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-07 18:18:34 +02:00
Dimitris Karakasilis
691224a053 Deprecate positional version in kairos-agent upgrade command
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-07 15:47:21 +02:00
Dimitris Karakasilis
823343546a Fix "upgrade list-releases" command by consuming kairos-sdk versioneer
Also add TODOs for remaining work

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-07 15:00:45 +02:00
Itxaka
e6b3e5092e Exit on install validation if target disk has mounted partitions (#180) 2023-12-07 12:32:41 +01:00
Mauro Morales
9d95056805 Merge pull request #179 from kairos-io/2057-file-perms
Add config permissions
v2.4.5
2023-12-06 17:09:34 +01:00
Mauro Morales
3df7742a67 add tests
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-12-06 17:06:36 +01:00
Mauro Morales
7e9b814949 Same permissions when using WriteInstallState
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-12-06 14:46:39 +01:00
Mauro Morales
287c64cdcb Add config permissions
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-12-06 14:37:27 +01:00
Itxaka
6e1d761ded Fix unwanted reboot from install config in upgrade/reset (#178) v2.4.4 2023-12-05 15:46:11 +01:00
Dimitris Karakasilis
faedd0fbae Embed verioneer cli commands and fix duplicate command aliases
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-05 15:53:04 +02:00
Dimitris Karakasilis
a89ebf2fca Merge pull request #177 from kairos-io/2000-local-bundles
Bump kairos-sdk to fix the local bundle installation
2023-12-05 14:42:46 +02:00
Dimitris Karakasilis
45ae910176 Use new method signature
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-05 14:38:57 +02:00
Dimitris Karakasilis
bd63c4b487 Bump kairos-sdk to fix the local bundle installation
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-05 12:31:41 +02:00