Commit Graph

879 Commits

Author SHA1 Message Date
Ettore Di Giacinto
a30ca9dc6c Move some CI tests to CircleCI (#178)
* 🤖 Run datasource tests on CircleCI

* 🤖 Run bundles tests on CircleCI

* 🤖 Fixups

* 🤖 Run cli tests to CircleCI

* 🤖 Extend wait time

* 🤖 Fail when VM is aborted

* 🤖 Enlart waiting time window

* 🤖 Do not set VM specs

* 🤖 Shift just some of the tests
2022-10-04 21:44:27 +02:00
Ettore Di Giacinto
997ad0150b sparkles: Add bundles to post-install hooks (#171)
* 🤖 Add bundles and sysext test

*  Exec bundles also after install

* 🤖 Adapt tests

* 🎨 Create dir only if doesn't exist

* 🎨 Return err on mount

* 🎨 Make bundle errors failure as an option

* 🎨 Minor fixups

* debug

* 🤖 Fix spec

* 🤖 Get correct version for bundle test

* 🎨 Fixups

* 🤖 systemd-sysext is available only on opensuse for now
2022-10-03 00:16:01 +02:00
Ettore Di Giacinto
e09f429703 art: Simplify repository handling (#170)
Don't track here the toolkit repository, consume internal packages only
2022-10-01 22:20:52 +02:00
Ettore Di Giacinto
9e68fa24ae docs: Correction to Raspberry instructions (#167)
* 📝 Point out that arm64 images are compressed with xz

* 🤖 Append xz to the generated image
2022-09-30 12:30:55 +02:00
Ettore Di Giacinto
885fa0b2c7 art: Avoid curl calls and prefer image copy (#165) 2022-09-30 00:06:25 +02:00
Ettore Di Giacinto
f34dd1386a robot: Run test suites on qemu/ubuntu (#142) 2022-09-23 00:32:50 +02:00
Ettore Di Giacinto
3c504dd19c lock: Secure boot (#140)
* ⬆️ Bump repositories

*  Support Secure boot

Point to internal repositories with artifacts to boot with UEFI

* ⬆️ Bump repositories

* ⬆️ Bump repositories
2022-09-22 14:59:01 +02:00
vipsharm
b880a0c471 Fixing ubuntu image boot up issue. (#133)
* Fixing ubuntu image boot up issue.

* Adding ubuntu to CI workflow

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Fixing the sudoers file

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update overlay/files-ubuntu/etc/elemental/config.yaml

Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update overlay/files-ubuntu/etc/elemental/config.yaml

Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update overlay/files-ubuntu/etc/elemental/config.yaml

Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update 11_persistency.yaml

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Create 06_rootfs.yaml

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Fixing the kernel for Ubuntu

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Making partition size bigger for amd arch

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* ARM config file for partition sizes

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* 🤖 Adapt tests for ubuntu output

* ⚙️ Increase default size on ubuntu images

* 🤖 Increase default test images disk size

* Update build_vm.sh

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Adding jq to ubuntu image, needed for stylus

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update bootargs.cfg

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* ♻️ Drop workaround

* Ubuntu VM needs to be started with OS type flag

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

Signed-off-by: vipsharm <sharma.vipin@gmail.com>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-09-20 18:16:24 -07:00
Ettore Di Giacinto
5e0a938a5f art: Rebranding (#130)
See: https://github.com/c3os-io/c3os/issues/88
2022-09-17 18:43:51 +02:00
vipsharm
2f6bda44f7 Adding ubuntu c3os image changes, also overlay files for different pr… (#104)
* Adding ubuntu c3os image changes, also overlay files for different provider support.

* Delete overlay directory

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update Earthfile

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Revert "Delete overlay directory"

This reverts commit cf1fe38fca4b6aedcd253d49b78d43684e6eaa47.

* Delete overlay/k8s directory

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

* Update Dockerfile.ubuntu

Signed-off-by: vipsharm <sharma.vipin@gmail.com>

Signed-off-by: vipsharm <sharma.vipin@gmail.com>
2022-09-09 15:17:06 -07:00
Ettore Di Giacinto
f8530ed136 art: Remove k9s, kubectl and nerdctl from core 2022-09-09 20:41:06 +00:00
Ettore Di Giacinto
c70973c362 art: Don't ship edgevpn with core images
This will free up some space
Fixes https://github.com/c3os-io/c3os/issues/74
2022-09-09 08:30:18 +00:00
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