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
Dimitris Karakasilis
1170576dcc
Merge pull request #151 from kairos-io/1850-bump-yip
...
Bump yip
2023-09-29 10:28:47 +03:00
Mauro Morales
bb2f57fdcb
Merge pull request #153 from kairos-io/1841-partition-calculation
2023-09-28 09:43:49 +02:00
Mauro Morales
5fab99f5b7
Take symlinks into account for partition size
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-09-27 16:25:38 +02:00
Dimitris Karakasilis
c3a77d7199
Bump yip
...
https://github.com/kairos-io/kairos/issues/1850
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-09-26 12:22:57 +03:00
Itxaka
677254e570
Pass the install event to the collector directly ( #150 )
2023-09-26 07:38:58 +00:00
Dimitris Karakasilis
9f46af255f
Merge pull request #149 from kairos-io/dk-bump-yip
...
Bump yip
2023-09-25 10:33:25 +03:00
Dimitris Karakasilis
b687b30d48
Bump yip
...
to get this fix: https://github.com/mudler/yip/pull/110
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-09-25 10:18:48 +03:00
Itxaka
3e4693d697
Workaround for bundle install in new /var/lib/extensions directory ( #147 )
v2.2.12
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]
b1db2f48e4
Update module github.com/erikgeiser/promptkit to v0.9.0 ( #126 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 17:14:50 +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
renovate[bot]
22841fce1f
Update goreleaser/goreleaser-action action to v5 ( #143 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 17:14:21 +02:00
Dimitris Karakasilis
9c62ffaaff
Merge pull request #145 from kairos-io/check-root
...
Check root permissions in commands that need it
2023-09-14 16:14:33 +03:00
Dimitris Karakasilis
b336e16e70
go mod tidy (after rebase conflicts)
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-09-14 16:06:59 +03: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
Itxaka
274701a3ac
Also install fonts when installing grub ( #144 )
2023-09-13 11:07:28 +02:00
renovate[bot]
0afdf76278
Update module github.com/mudler/yip to v1.4.2 ( #142 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v2.2.11
2023-09-12 09:46:37 +02:00
Itxaka
cfc9f6572f
Bump yip to latest ( #141 )
...
Signed-off-by: Itxaka <itxaka@kairos.io >
v2.2.10
2023-09-07 15:39:37 +02:00
renovate[bot]
44f97ac6a2
Update actions/checkout action to v4 ( #140 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 15:26:35 +02:00
renovate[bot]
417f8ce438
Update module github.com/mudler/yip to v1.4.0 ( #135 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 11:22:02 +02: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
renovate[bot]
ccd7872045
Update module golang.org/x/oauth2 to v0.12.0 ( #127 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 11:20:45 +02:00
Itxaka
307eabbb36
Bump to latest yip ( #134 )
...
Signed-off-by: Itxaka <itxaka@kairos.io >
v2.2.9
2023-09-04 09:56:15 +02:00
Itxaka
442973526e
Track active/passive boot for upgrade workflow ( #133 )
...
* Track active/passive boot for upgrade workflow
Track what are we booting from during upgrade in order to not backup
active into passive if we are booting from passive.
If we are booting from active or recovery the workflow keeps as it was,
backup active into passive, and then move the transition image into
active.
Signed-off-by: Itxaka <itxaka@kairos.io >
2023-09-01 15:19:28 +02:00
Itxaka
ca4cf5059d
Fix recovery image calculation ( #132 )
v2.2.8
2023-08-21 16:42:57 +02:00
Itxaka
7c060a764e
Fix manual-install reboot/poweroff flags ( #131 )
2023-08-18 12:54:42 +02:00
Itxaka
28dd23c4f4
Adjust size to take into account upgrades ( #130 )
v2.2.7
2023-08-18 12:18:10 +02:00
Itxaka
dffef50ca0
Several improvements for size calculation ( #129 )
v2.2.6
2023-08-17 13:53:45 +02:00
Itxaka
1cf9813f43
Fix space calculation on recovery ( #128 )
v2.2.5
2023-08-16 22:59:50 +02:00
Itxaka
1a72f56d67
Restore loading env from config file ( #124 )
v2.2.4
2023-08-08 18:52:04 +02:00
Itxaka
b5e1e7a8ee
Fix goreleaser artifact names ( #125 )
2023-08-08 18:18:57 +02:00
Itxaka
3a6bd03e24
Update unit-tests.yml
2023-08-08 18:18:16 +02:00
renovate[bot]
639e787706
Update module github.com/pterm/pterm to v0.12.65 ( #120 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 15:26:46 +02:00
renovate[bot]
1048a5b5f7
Update module github.com/labstack/echo/v4 to v4.11.1 ( #117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-08-08 15:26:11 +02:00
renovate[bot]
7d8de3b15a
Update module github.com/onsi/gomega to v1.27.10 ( #99 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-08-08 15:25:16 +02:00
Itxaka
e05c2a35b8
Update .codecov.yaml
2023-08-08 12:40:17 +02:00
Itxaka
4108aa929e
Auto calculate image size on actions ( #122 )
2023-08-08 10:44:42 +02:00
Itxaka
3e9befa230
Add recovery upgrade flag to upgrade command + msg ( #123 )
2023-08-07 16:11:13 +02:00
Itxaka
48095b619f
Auto calculate partiton size on install ( #121 )
2023-08-07 14:35:15 +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 >
v2.2.3
2023-08-04 20:39:22 +02:00