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
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
renovate[bot]
d8679f5a2c
Update dependency bootstrap to v5.3.1 ( #54 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 20:00:32 +02:00
renovate[bot]
091fd32c0c
Update dependency codemirror to v5.65.14 ( #86 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 20:00:03 +02:00
renovate[bot]
8400023fca
Update dependency jquery to v3.7.0 ( #94 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 19:59:17 +02:00
renovate[bot]
df9d94767d
Update dependency cypress to v12.17.3 ( #92 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 19:58:40 +02:00
Itxaka
00eae4c029
Make interactive installer use the collector as well ( #113 )
2023-08-03 19:49:09 +02:00
Itxaka
822222a645
Drop override of message options after install ( #112 )
2023-08-03 19:46:13 +02:00
Itxaka
d44bc2e898
Rework install workflow for event stuff ( #106 )
2023-08-01 12:33:40 +02:00
Itxaka
f7bdba2dda
Merge elemental config into agent config ( #102 )
2023-07-25 15:21:34 +02:00
Itxaka
5b945303c9
Drop runconfig in favour of config ( #101 )
2023-07-25 11:08:27 +02:00
Itxaka
bca3277b7d
Rework install a bit more ( #100 )
...
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-07-25 09:12:39 +02:00
Itxaka
956f86f99c
Rework reboot/shutdown to use the hooks ( #96 )
2023-07-24 12:28:59 +02:00
Itxaka
922d35b4f1
Merge data from events into reset ( #91 )
2023-07-21 10:37:53 +02:00
Itxaka
9bff3742c1
Load elemental config/spec from cloud config ( #82 )
2023-07-20 15:53:48 +02:00
Itxaka
1ab0898c2c
Fix releases coming from the bus ( #90 )
2023-07-20 12:02:43 +02:00
renovate[bot]
6b0e1c0af4
Update dependency cypress to v12.17.1 ( #66 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 11:13:36 +02:00