Commit Graph

545 Commits

Author SHA1 Message Date
Ettore Di Giacinto
b8b41f7891 penguin: Keep openSUSE kernel on RPI (#378)
Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>

Signed-off-by: Ettore Di Giacinto <mudler@kairos.io>
2022-11-03 19:08:51 +01:00
Ettore Di Giacinto
d3561a7ecc penguin: Use ubuntu kernel with alpine flavor (#266)
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-11-02 21:00:38 +01:00
Ettore Di Giacinto
7d200e44d6 robot: Correctly install ginkgo for test runs 2022-10-29 12:17:56 +00:00
Santhosh
9c65fa8c3c update luet version to 0.33.0 (#302) 2022-10-29 00:40:43 +05:30
Ettore Di Giacinto
ec9c575f1f arrow_up: Bump osbuilder-tools image (#293) 2022-10-26 19:18:33 +02:00
Ettore Di Giacinto
dde5be01cc art: Pin osbuilder tool image version (#248) 2022-10-20 00:32:21 +02:00
Ettore Di Giacinto
f99be3c159 Drop wicked, long live to systemd-networkd (#223)
* ♻️ Cleanup wicked references

* ⚙️ Be consistent and set systemd-network settings also initramfs

* ♻️ Re-use same image for netboot

* Revert "♻️ Cleanup wicked references"

This reverts commit d21850c24460189251974fed4a0b65c7a6f2f9ae.

* Revert "Revert "♻️ Cleanup wicked references""

This reverts commit 7cec03561e388d771ff317fd9b937f30af8c0be9.

* 🐧 Add openssh to opensuse

* 🐧 Add sudo explictly to openSUSE

Before it was automatically pulled in by other packages

* 🤖 Run bundles tests on GHA
2022-10-16 18:43:52 +02:00
Ettore Di Giacinto
2db9a0afe0 art: Use osbuilder image (#220) 2022-10-15 16:19:51 +02:00
Ettore Di Giacinto
f27b7a3a5d bug: Add suc-upgrade to core images (#211) 2022-10-12 19:04:18 +02:00
Ettore Di Giacinto
ee1e283cec robot: Install ginkgo pinned from go.mod (#208) 2022-10-12 07:46:01 +02:00
Ettore Di Giacinto
4f35f9ed3a penguin: Correctly handle kernel image symlink (#202) 2022-10-10 23:04:37 +02:00
Ettore Di Giacinto
582ef220cf penguin: Change ubuntu images location (#204)
* 🐧 Move 20 LTS to ubuntu-20-lts repository, ubuntu-rolling to ubuntu

See: https://github.com/kairos-io/kairos/issues/150#issuecomment-1272909504

* 🐧 Add ubuntu 22 lts

Fixes: https://github.com/kairos-io/kairos/issues/150
2022-10-10 23:03:54 +02:00
Ettore Di Giacinto
e2128af85f sparkles: Add kcrypt to images (#195)
*  Add kcrypt to images

This adds the dracut module and the binary to the images.

Related to https://github.com/kairos-io/kairos/issues/184

*  Add Kcrypt post-install hook

Fixes https://github.com/kairos-io/kairos/issues/184
2022-10-07 13:36:32 +02:00
Ettore Di Giacinto
4cc1e7a0f2 penguin: Disable temporarly SELinux on fedora (#189)
* 🐧 Disable temporarly SELinux on fedora

* 🐧 Add SELinux relabel rule

* 🤖 Add Fedora to releases
2022-10-06 23:43:16 +02:00
Ettore Di Giacinto
df59351bf1 penguin: Make fedora/rockylinux to boot (#181)
* 🐧 Add fedora and rockylinux

* 🐧 Add tools to fedora/rh images

* 🤖 Add tests to circleci

* 🤖 Configure the CPU required for running rhel on vms

* Enable ttys

* 🤖 Disable tests on fedora/rockylinux

QEMU TCG doesn't support AVX:
https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level#recommendations_for_rhel_9

* 🤖 Don't release rockylinux/fedora
2022-10-05 21:45:09 +02:00
Ettore Di Giacinto
0e496b67b5 penguin: Add Ubuntu 22.10 (#180)
*  Add ubuntu-rolling flavor to track latest ubuntu

* 🤖 Disable qcow image build on releases

web3 storage changed plans - now free space is much more reduced and we already exceeded limits.
2022-10-05 08:45:38 +02:00
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