Ettore Di Giacinto
23092e8eaf
robot: Drop superflous target
2022-08-30 09:21:54 +00:00
Ettore Di Giacinto
3ab700de52
robot: Propagate WITH_KERNEL correctly in +framework-image
2022-08-30 09:15:39 +00:00
Ettore Di Giacinto
cef302e620
art: Drop ENV from OSRELEASE macro
...
This is not really needed, and it attach the envs to the image into layers, which
makes customizing convoluted.
2022-08-18 08:43:00 +00:00
Ettore Di Giacinto
a2c870bbb5
art: Minor Earthfile fixups
...
drop defaults from OSRELEASE, default OS_LABEL with latest
2022-08-18 07:09:52 +00:00
Ettore Di Giacinto
6c69130dc4
robot: Fixup goreleaser build, drop windows builds for the agent
2022-08-17 08:40:24 +00:00
Ettore Di Giacinto
b7cadd29d4
art: Write only version to VERSION in os-release
...
Add FLAVOR and VARIANT to handle those separately, this should also fix upgrades.
Fixes https://github.com/c3os-io/c3os/issues/80
2022-08-17 08:02:18 +00:00
Ettore Di Giacinto
de03a0a0a7
gear: Make sure /etc/machine-id is not present
2022-08-14 16:52:38 +00:00
Ettore Di Giacinto
ba300e4ce4
art: Allow to override more options from os release file
2022-08-12 22:21:11 +00:00
mudler
5082930560
robot: Run only relevant tests, push to core-*
...
From now on images built from this repo are the c3os core images.
c3os core images contains only the base image, framework files and the c3os agent.
This also sets up tests accordingly to run only to cover the c3os-agent.
2022-08-12 15:49:41 +02:00
Ettore Di Giacinto
1f9fabb6ba
Merge pull request #79 from c3os-io/feature/image-rename
...
swiched image naming scheme
2022-08-09 22:20:55 +02:00
Ettore Di Giacinto
288ab3f8b7
Merge pull request #55 from c3os-io/feature/cluster-provider
...
Abstract Cluster Provisioning with Cluster Plugins
2022-08-09 08:01:54 +02:00
Ettore Di Giacinto
d008a3f042
art: Keep os-release template for reusage
2022-08-08 17:45:24 +00:00
Ettore Di Giacinto
f3be39de43
bug: Fix k3s version when building the image
2022-08-08 12:29:27 +00:00
Ettore Di Giacinto
1ddf434a6f
art: Make k3s install into Earthfile
...
In this way the source image is kept clean, and the +docker target can be optionally instructed
to install or not a specific k3s version into the image. Defaults to bundle k3s.
2022-08-08 10:40:55 +00:00
Ettore Di Giacinto
5b06825dc5
robot: Pin golang version
...
In order to workaround https://github.com/golangci/golangci-lint/issues/2374
2022-08-08 08:31:00 +00:00
Ettore Di Giacinto
7d3c952e8b
arrow_up: Bump golangci-lint version
2022-08-08 08:27:41 +00:00
Ettore Di Giacinto
ac5b348e4b
arrow_up: Handle upstream image rename
2022-08-08 08:20:02 +00:00
Ettore Di Giacinto
2507d4d44d
bug: Add sudo to the arm-image builder image
2022-07-25 18:01:05 +00:00
Ettore Di Giacinto
d58952879a
robot: Fixup GH ARM releases and netboot versioning
2022-07-23 15:02:10 +00:00
Ettore Di Giacinto
4282d9510e
arrow_up: Bump images, fix Earthly targets, add rockylinux
2022-07-22 21:40:39 +00:00
Ettore Di Giacinto
27280cf8a6
gear: Be sure to run datasource before install
...
Seems in certain condition the datasource is kicking late and serving the datasource not fast as wanted.
We make sure to pull it before install, so we also give chance to convoluted setups to pull configs.
Also wires up autoinstall tests to CI
2022-07-21 21:38:07 +00:00
Ettore Di Giacinto
011ce96475
robot: Add target to run qemu tests locally
2022-07-20 16:41:33 +00:00
Ettore Di Giacinto
4e2b94c42b
robot: Run lint checks
2022-07-16 14:28:22 +00:00
Ettore Di Giacinto
68add8c3aa
art: Add +test target
2022-07-16 13:19:23 +00:00
Ettore Di Giacinto
a7cf9f9a8f
art: Make targets more flexible
...
and adds more useful Earthly targets
2022-07-14 18:05:58 +00:00
Ettore Di Giacinto
aa720de6f8
gear: Add c3os bundles
2022-07-13 22:23:47 +00:00
Ettore Di Giacinto
271417e5b8
gear: Add ipxe target
2022-07-09 22:38:33 +00:00
Ettore Di Giacinto
f48b11ab1a
art: Split build targets to speedup process
2022-07-09 18:13:25 +00:00
mudler
bbc1aa6ef5
art: Use Earthly for builds
2022-07-08 01:56:51 +02:00
Ettore Di Giacinto
edb1bb752a
robot: Make linter happy
2022-07-25 22:26:10 +00:00
Ettore Di Giacinto
e9b07938cc
robot: Add golangci file
2022-07-16 14:29:22 +00:00
Mauro Morales
648b755add
Pass VERSION flag including v2 in path ( #1290 )
...
* Pass VERSION flag including v2 in path
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Pass VERSION flag including v2 in path for goreleaser
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-04-13 19:44:19 +02:00
Mauro Morales
d6f4b637bd
robot: Add version to goreleaser ( #1252 )
...
* Add version to goreleaser
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* do not remove github token
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* include version in dist target
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Add missing flag to pass the version
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-04-05 12:24:19 +02:00
Itxaka
5c6b043e8d
art: rename kairos-agent and add sha256 signatures ( #670 )
...
* 🎨 Change kairos agent release name and sign sha256
This patch changes the release artifact to be named kairos-agent instead
of just kairos, so its clear what the archive is referring to.
Also adds cosign signatures to the iso sha256 files so users can confirm
they havent been tampered with
Signed-off-by: Itxaka <itxaka@spectrocloud.com >
* Add docs for signature and checksum verification for ISO
Signed-off-by: Itxaka <itxaka@spectrocloud.com >
* Update version used for signing docs
Signed-off-by: Itxaka <itxaka@spectrocloud.com >
---------
Signed-off-by: Itxaka <itxaka@spectrocloud.com >
Co-authored-by: Itxaka <itxaka@spectrocloud.com >
2023-01-28 17:55:26 +01:00
Ettore Di Giacinto
56b13e23aa
art: Rebranding ( #130 )
...
See: https://github.com/c3os-io/c3os/issues/88
2022-09-17 18:43:51 +02:00
Ettore Di Giacinto
10dfe1876f
robot: Fixup goreleaser build, drop windows builds for the agent
2022-08-17 08:40:24 +00:00
mudler
95a154e244
robot: Run only relevant tests, push to core-*
...
From now on images built from this repo are the c3os core images.
c3os core images contains only the base image, framework files and the c3os agent.
This also sets up tests accordingly to run only to cover the c3os-agent.
2022-08-12 15:49:41 +02:00
Ettore Di Giacinto
e3836c393c
robot: Disable provider/agent builds on releases
2022-07-23 09:35:05 +00:00
Ettore Di Giacinto
0e3391a2f5
Split off cli into separate binaries ( #37 )
...
* 🎨 Split off cli into separate binaries
This commit splits off the cli into 3 binaries:
- agent
- cli
- provider
The provider now is a separate component that can be tested by itself
and have its own lifecycle. This paves the way to a ligher c3os variant,
HA support and other features that can be provided on runtime.
This is working, but still there are low hanging fruit to care about.
Fixes #14
* 🤖 Add provider bin to releases
* ⚙️ Handle signals
* ⚙️ Reduce buildsize footprint
* 🎨 Scan for providers also in /system/providers
* 🤖 Run goreleaser
* 🎨 Refactoring
2022-07-04 22:39:34 +02:00
Ettore Di Giacinto
6b9084ab84
gear: installer -> cli
2022-02-18 18:41:36 +01:00
Ettore Di Giacinto
4a44e92f7e
Update deps
2022-02-04 23:20:25 +01:00
Ettore Di Giacinto
8adf5bdef3
Add automated install via pairing
2022-02-02 00:02:30 +01:00
renovate[bot]
8d3d3ebd40
Update module github.com/Masterminds/semver/v3 to v3.2.1 ( #1327 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 11:10:59 +00:00
Itxaka
febfa39632
bug: Fix version list ( #1323 )
...
* 🐛 Fix version list
First version in the list is the latest one.
Alos moves the check for same version above the current place, so it can
check before asking if you want to update to the same version
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* 🌱 Rework versioning for upgrade
Use the semver lib to parse the versions into a proper collection where
it can be parsed and versions compared and sorted properly
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* 🤖 lint
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
---------
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-04-20 09:57:58 +02:00
Mauro Morales
f0c9f3a1df
seedling: Prefix variable names with distro name in os-release ( #1263 )
...
* Use site variables to update image flavor and name
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Typo
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Prefix variable names with distro name in os-release
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Adapt tests to read os-release with prefix
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Adapt docs to show how to read os-release with prefix
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Update SDK to be aware of attr prefixes
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Adapt test with new variable names
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Temporarily print the os-release
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Check KAIROS_VERSION on tests and fallback to VERSION
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Match kubo ID and VERSION_ID
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Make kubo extension match any ID
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Test still fails, trying with surrounding quotes
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Reduce tests wait time
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Use tumbleweed for bundles tests
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Update docs about systemd-sysext
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* reduce wait time in reset tests
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-04-19 22:37:00 +02:00
renovate[bot]
b7d3316d6b
Update github.com/spectrocloud/peg digest to 2e15270 ( #1264 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 16:23:15 +02:00
renovate[bot]
8523a70eeb
Update module github.com/pterm/pterm to v0.12.59 ( #1305 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 11:47:26 +02:00
renovate[bot]
137be210b5
Update module golang.org/x/oauth2 to v0.7.0 ( #1267 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 11:44:02 +02:00
renovate[bot]
0a9005e7f0
Update module github.com/santhosh-tekuri/jsonschema/v5 to v5.3.0 ( #1250 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 11:43:32 +02:00
renovate[bot]
6a27d7fd94
Update module github.com/swaggest/jsonschema-go to v0.3.49 ( #1279 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 19:13:12 +02:00