renovate[bot]
8779071f36
Update dependency cypress to v13.13.0 ( #393 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 23:19:57 +00:00
Itxaka
aebc8f6083
Bump kcrypt and adapt hooks ( #385 )
2024-06-20 11:19:29 +02:00
renovate[bot]
c45586a505
Update dependency cypress to v13.12.0 ( #384 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 03:20:57 +00:00
renovate[bot]
252ba69db2
Update dependency alpinejs to v3.14.1
2024-06-18 21:56:50 +00:00
Björn Brauer
54a528a44a
Ensure only numeric part of systemd version is converted to int ( #362 )
2024-06-12 10:08:19 +02:00
Itxaka
91e18dd4b3
Copy extensions to passive as well
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-06-10 15:58:44 +02:00
Itxaka
b176b47f56
Copy any found sysextensions into active+passive efi dir ( #372 )
2024-06-07 16:45:50 +02:00
renovate[bot]
3e7385ab4c
Update dependency cypress to v13.11.0 ( #363 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 23:00:21 +00:00
Dimitris Karakasilis
382b1944b3
Move udevadm triggering in kcrypt
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-23 16:05:31 +03:00
renovate[bot]
72125b1d48
Update dependency cypress to v13.10.0 ( #342 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 21:16:01 +00:00
renovate[bot]
d4a918060e
Update dependency alpinejs to v3.14.0 ( #340 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-21 23:41:39 +00:00
Itxaka
50c1ebd335
Fix reboot/power off message ( #331 )
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-05-13 14:27:47 +00:00
renovate[bot]
5ac55f78b7
Update dependency cypress to v13.9.0 ( #327 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 12:32:58 +00:00
Mauro Morales
c04372868b
Use Overwrites for a payload cloud config ( #320 )
...
Relates to kairos-io/kairos#2492
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-03 18:26:57 +02:00
renovate[bot]
2b99bf045b
Update dependency cypress to v13.8.1
2024-04-25 01:40:04 +00:00
renovate[bot]
f513fbc66c
Update dependency alpinejs to v3.13.10
2024-04-24 22:43:38 +00:00
Itxaka
d1f65cd334
Centralize uki hooks for encryption reasons ( #309 )
2024-04-24 16:42:51 +02:00
Itxaka
1602276133
Add missing hooks to after install uki ( #307 )
2024-04-23 14:37:21 +02:00
renovate[bot]
979c4ad32b
Update dependency cypress to v13.8.0 ( #304 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-19 00:37:00 +00:00
renovate[bot]
d785ecf695
Update dependency cypress to v13 ( #256 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:58:56 +00:00
Itxaka
59777eeb3e
Rework prepareConfiguration ( #289 )
2024-04-12 10:40:11 +02:00
Dimitris Karakasilis
1f2d8d89fc
Move the Image() filtering to kairos-sdk
...
https://github.com/kairos-io/kairos-sdk/pull/85/files
Fixes: https://github.com/kairos-io/kairos/issues/2440
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-12 09:40:26 +03:00
Itxaka
15a15a1f0c
Keep logs after reset ( #288 )
2024-04-11 11:35:31 +02:00
renovate[bot]
80aad89fa8
Update dependency alpinejs to v3.13.8
2024-04-11 07:30:06 +00:00
renovate[bot]
b09f5d1a61
Update dependency @fortawesome/fontawesome-free to v6.5.2
2024-04-11 07:29:45 +00:00
Dimitris Karakasilis
d8df60c315
Remove development debug output
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-09 12:53:06 +03:00
Dimitris Karakasilis
804462e272
WIP
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-09 12:53:04 +03:00
Dimitris Karakasilis
7d9accccd7
[WIP] Try to see which code breaks it
...
Fixes https://github.com/kairos-io/kairos/issues/2281
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-09 12:52:12 +03:00
Dimitris Karakasilis
db0a65cf6e
Return only image (skipping sbom, img, etc)
...
Fixes: https://github.com/kairos-io/kairos/issues/2329
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-02 17:15:20 +03:00
Itxaka
b1489daff8
Converge all yaml libs into v3 ( #266 )
...
* Converge all yaml libs into v3
Signed-off-by: Itxaka <itxaka@kairos.io>
* go mod tid
Signed-off-by: Itxaka <itxaka@kairos.io>
---------
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-03-20 16:53:42 +01:00
Itxaka
8583d38b68
Retry unlock if we cant find the unlocked partitions ( #241 )
2024-03-19 09:27:13 +01:00
renovate[bot]
be04f4c483
fix(deps): update dependency bootstrap to v5.3.3
2024-03-19 03:12:52 +00:00
renovate[bot]
256bff0a68
fix(deps): update dependency alpinejs to v3.13.7
2024-03-19 00:39:01 +00:00
renovate[bot]
30c06a8332
fix(deps): update xterm monorepo ( #115 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 12:16:43 +01:00
Itxaka
abf92beac8
Bump to use vfs4 ( #240 )
2024-03-18 11:57:34 +01:00
renovate[bot]
7d3a163ae2
fix(deps): update dependency @fortawesome/fontawesome-free to v6.5.1 ( #210 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 11:19:18 +01:00
Itxaka
0ae9c04eb4
Make sure kcrypt hook umounts persistent ( #244 )
2024-03-07 15:11:51 +01:00
Itxaka
2e0af77fbc
Use new logger facilities ( #236 )
2024-03-01 12:27:26 +01:00
mudler
958ae9393d
fix(after-install): run after-install hook after partitions are encrypted
2024-02-27 17:28:11 +01:00
Itxaka
2e9c85e63a
Add shim to choose next entry to boot from ( #230 )
2024-02-21 10:44:32 +01:00
Dimitris Karakasilis
88454bdda4
Implement uki "kairos-agent upgrade --recovery"
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-02-20 13:30:52 +02:00
Dimitris Karakasilis
d981656715
Install efi files in uki mode using naming convention
...
replace "artifact" with "active" in conf files and in filenames
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-02-13 16:12:20 +02:00
Itxaka
0119b9cfb2
Fix object dumping ( #222 )
2024-02-05 11:30:24 +01:00
Itxaka
33c8e8f29c
Add reset for uki ( #221 )
2024-02-02 13:20:06 +01:00
Itxaka
9941c786a3
Fix uki upgade path ( #219 )
2024-01-31 19:38:16 +01:00
Itxaka
1a46f0910f
[uki] Wait for oem to appear after encryption ( #216 )
2024-01-30 14:28:54 +01:00
Itxaka
8696eb16d2
Do not show devices that cant be used ( #212 )
...
during interactive install all devices will appear but some of those are
not desirable as they cannot be used to install.
Skip those in the list
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-01-26 15:09:13 +01:00
renovate[bot]
5014587a3c
fix(deps): update dependency alpinejs to v3.13.5
2024-01-24 23:03:07 +00:00
Ettore Di Giacinto
79a577d0f3
feat(uki-partitioning): respect additional encrypted partition list ( #206 )
2024-01-24 10:48:33 +01:00
Itxaka
e80a435c53
Fix --source flag ( #205 )
2024-01-23 17:05:54 +01: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
renovate[bot]
fccdefdf0e
Update dependency codemirror to v5.65.16
2024-01-03 22:05:47 +00: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
Itxaka
3254b8a36e
Uki upgrade ( #182 )
2023-12-18 11:38:26 +01:00
Itxaka
7ca39f2729
Encrypt uki partitions after install ( #176 )
2023-12-12 20:51:55 +00: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
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
Itxaka
6e1d761ded
Fix unwanted reboot from install config in upgrade/reset ( #178 )
2023-12-05 15:46:11 +01:00
Dimitris Karakasilis
c98c791f60
Call exec.Command
properly, splitting the cmd and args
...
This was failing but wasn't visible because it needs
`fail_on_bundles_errors: true` to be set in the Kairos config.
We need to find whether we need a new test or an existing one can be
adapted to catch this.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-11-20 13:54:05 +02:00
renovate[bot]
ed527c7a66
Update dependency alpinejs to v3.13.3
2023-11-19 16:44:28 +00:00
Itxaka
01e0a0048c
Stop tailing provider log ( #166 )
...
Its not our duty to trail anything, we already passing a logfile for it
to use, we log our stuff and dont pollute the standar output
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-10-18 17:16:22 +02:00
renovate[bot]
f21bd243b2
Update dependency jquery to v3.7.1
2023-10-16 14:40:49 +00:00
renovate[bot]
40289af471
Update dependency bootstrap to v5.3.2
2023-10-04 23:16:00 +00:00
renovate[bot]
66336a3adf
Update dependency codemirror to v5.65.15
2023-10-04 20:00:02 +00:00
Itxaka
1b967cccd8
[uki] Lyfecycle ( #148 )
2023-10-03 11:15:17 +02:00
Dimitris Karakasilis
48fc6180cf
Return image from bus when one exists
...
it was accidentally returning "nil"
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-10-02 12:47:04 +03:00
Dimitris Karakasilis
b675730e8c
Rename variables to better reflect what they are (PR comment)
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 12:50:34 +03:00
Dimitris Karakasilis
5b9d043aa0
Remove non-working test
...
because it needs to stub the world and currently there is no way of
doing so (we've even skipped the install_test.go for similar reasons).
2023-09-29 11:52:36 +03:00
Dimitris Karakasilis
b68b07f278
Remove unecessary type definition
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:46:00 +03:00
Dimitris Karakasilis
f2ec19d53d
Fix syntax and don't hide error
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:59 +03:00
Dimitris Karakasilis
48c445756e
Fix conf identation
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:59 +03:00
Dimitris Karakasilis
48a3f57048
Rename var
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:59 +03:00
Dimitris Karakasilis
15a926ad3b
Handle --source
in install/manual-install/interactive-install the same way
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:59 +03:00
Dimitris Karakasilis
c58efaa623
Add test and remove debugging logs
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:59 +03:00
Dimitris Karakasilis
968812dfbb
Exctract the generation of the upgrade spec to a function
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:59 +03:00
Dimitris Karakasilis
afe08c5ca5
Generate additional config only if needed
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:59 +03:00
Dimitris Karakasilis
8dd7577148
WIP
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:59 +03:00
Itxaka Serrano Garcia
60815d060e
Refactor
...
Signed-off-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
2023-09-29 11:45:59 +03:00
Dimitris Karakasilis
3482e88aa3
[WIP] Try to pass command line options for upgrade as kairos config
...
because it's actually configuration and it's better than using viper to
pass things around.
The `upgrade:` block seems to be ignored early in the process so even if
the user specifies an image there, the latest release will be looked up.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:58 +03:00
Dimitris Karakasilis
7d18e6504a
[WIP] Add --source
to various commands
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-29 11:45:58 +03:00
Itxaka
677254e570
Pass the install event to the collector directly ( #150 )
2023-09-26 07:38:58 +00:00
Itxaka
3e4693d697
Workaround for bundle install in new /var/lib/extensions directory ( #147 )
2023-09-15 15:40:27 +02:00
Dimitris Karakasilis
51ca8a8589
Revert "debug extension"
...
This reverts commit 98ccb57799
.
2023-09-15 15:36:42 +03:00
Itxaka
98ccb57799
debug extension
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-09-15 14:33:41 +02:00
renovate[bot]
18d937d227
Update dependency cypress to v12.17.4 ( #138 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 17:14:33 +02:00
Dimitris Karakasilis
bf40c48812
Move checkRoot to main
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-14 16:06:41 +03:00
Dimitris Karakasilis
fddbf3f657
Check root permissions in commands that need it
...
Otherwise the error shown is not helpful (it fails too late with
confusing errors).
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-14 16:06:38 +03:00
renovate[bot]
df1c49ea7f
Update dependency @fortawesome/fontawesome-free to v6.4.2 ( #114 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 11:20:59 +02:00
Itxaka
7c060a764e
Fix manual-install reboot/poweroff flags ( #131 )
2023-08-18 12:54:42 +02:00
Itxaka
dffef50ca0
Several improvements for size calculation ( #129 )
2023-08-17 13:53:45 +02:00
Itxaka
1a72f56d67
Restore loading env from config file ( #124 )
2023-08-08 18:52:04 +02:00
Itxaka
3e9befa230
Add recovery upgrade flag to upgrade command + msg ( #123 )
2023-08-07 16:11:13 +02:00
Itxaka
f5c01f73a4
Make unattended reset work ( #110 )
...
Our current example for cloud images on the docs on how to use the reset
with a cloud-config and a stage does not actually work as the tty
adquisition and such seems to be failing due tto not being properly run
in a tty.
This pathc introduces 2 new flags to the reset command.
reboot: Enable reboot after reset, overriding any config in the system.
This is only a enable switch, so if the flag is disabled but the config
says reset it will NOT override it.
unattended: Disables printing stuff into the screen, locking the
terminal and falling back to a new tty on run. Also enables fast mode
automatically.
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-08-04 20:39:22 +02:00
renovate[bot]
ff9dbc5ead
Update dependency alpinejs to v3.12.3 ( #80 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 20:00:46 +02:00