9 Commits
v0.0.2 ... main

Author SHA1 Message Date
Dimitris Karakasilis
f8a2119018 Merge pull request #16 from kairos-io/change-default-console
Change default system console to tty1
2023-11-22 09:22:49 +02:00
Dimitris Karakasilis
e195fa0d62 Change default system console to tty1
because when 2 are defined, it seems that the last one becomes the
"default", at least as far as systemd is concerned.

This should allow us to read the kairos logs using journalctl.

See more here: https://github.com/kairos-io/packages/pull/544

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-11-22 09:16:16 +02:00
renovate[bot]
8a77e39866 Update module github.com/kairos-io/kairos-sdk to v0.0.14 2023-10-05 03:48:11 +00:00
renovate[bot]
f8cc7740ce Update earthly/actions-setup action to v1.0.8 2023-10-05 02:11:36 +00:00
Mauro Morales
7df199c82c Configure automerge for patch updates 2023-10-04 17:40:52 +02:00
Mauro Morales
539d3da24e Merge pull request #1 from kairos-io/renovate/configure
Configure Renovate
2023-10-04 17:40:02 +02:00
Dimitris Karakasilis
d10bcecc4b Change job name in CI
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-10-04 16:28:53 +03:00
Dimitris Karakasilis
71f09dd48c Update README.md
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-10-03 16:10:32 +03:00
renovate[bot]
4c4390faa6 Add renovate.json 2023-10-03 09:40:58 +00:00
7 changed files with 43 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@master
- name: Login to DockerHub
- name: Login to quay.io
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:

View File

@@ -18,7 +18,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: earthly/actions-setup@v1.0.7
- uses: earthly/actions-setup@v1.0.8
- name: Checkout code
uses: actions/checkout@v3
with:

View File

@@ -1,5 +1,7 @@
This is enki
`enki` is the tool used to generate Kairos artifacts (container images, isos etc) and it is used
by [`Auroraboot`](https://kairos.io/docs/reference/auroraboot/) and [osbuilder](https://github.com/kairos-io/osbuilder/)
It's not meant to be used by humans, thus the API and UX are not focusing on user friendliness but
rather on getting things done and fulfilling the requirements of the dependant tools.
NOTE: `enki` was originally part of [osbuilder](https://github.com/kairos-io/osbuilder/) and [was moved to a separate repository](link to PR here).
TODO: Add more information about enki

4
go.mod
View File

@@ -4,7 +4,7 @@ go 1.20
require (
github.com/kairos-io/kairos-agent/v2 v2.1.11-0.20230713071318-9a16b94e2af6
github.com/kairos-io/kairos-sdk v0.0.9-0.20230719194412-fe26d1de9166
github.com/kairos-io/kairos-sdk v0.0.14
github.com/mitchellh/mapstructure v1.5.0
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.10
@@ -125,7 +125,7 @@ require (
github.com/willdonnelly/passwd v0.0.0-20141013001024-7935dab3074c // indirect
github.com/xanzy/ssh-agent v0.3.1 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
github.com/zcalusic/sysinfo v0.9.5 // indirect
github.com/zcalusic/sysinfo v1.0.1 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect

4
go.sum
View File

@@ -328,6 +328,8 @@ github.com/kairos-io/kairos-agent/v2 v2.1.11-0.20230713071318-9a16b94e2af6 h1:5t
github.com/kairos-io/kairos-agent/v2 v2.1.11-0.20230713071318-9a16b94e2af6/go.mod h1:+zG2JtLuTE9TDwiXJg9/jqcD/G59PhdN+Z0G5dcGiJk=
github.com/kairos-io/kairos-sdk v0.0.9-0.20230719194412-fe26d1de9166 h1:xAsvPm5a7ivervVjkJ5DIZWOQww4Za75erEwZ1Xcd7I=
github.com/kairos-io/kairos-sdk v0.0.9-0.20230719194412-fe26d1de9166/go.mod h1:AK9poWisuhnzri04diXnTG8L7EkOSUArSeeDn2LYFU0=
github.com/kairos-io/kairos-sdk v0.0.14 h1:yVKaay70cjmAUY6m4uLoV9UguBv3Dx3JxAh2faRlUZo=
github.com/kairos-io/kairos-sdk v0.0.14/go.mod h1:+fhVoCEA2hD7OFTmhDmy4pP3uC9q84OYhDa7irkEVWQ=
github.com/kendru/darwin/go/depgraph v0.0.0-20221105232959-877d6a81060c h1:eKb4PqwAMhlqwXw0W3atpKaYaPGlXE/Fwh+xpCEYaPk=
github.com/kendru/darwin/go/depgraph v0.0.0-20221105232959-877d6a81060c/go.mod h1:VOfm8h1NySetVlpHDSnbpCMsvCgYaU+YDn4XezUy2+4=
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
@@ -568,6 +570,8 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/zcalusic/sysinfo v0.9.5 h1:ivoHyj9aIAYkwzo1+8QgJ5s4oeE6Etx9FmZtqa4wJjQ=
github.com/zcalusic/sysinfo v0.9.5/go.mod h1:Z/gPVufBrFc8X5sef3m6kkw3r3nlNFp+I6bvASfvBZQ=
github.com/zcalusic/sysinfo v1.0.1 h1:cVh8q3codjh43AGRTa54dJ2Zq+qPejv8n2VWpxKViwc=
github.com/zcalusic/sysinfo v1.0.1/go.mod h1:LxwKwtQdbTIQc65drhjQzYzt0o7jfB80LrrZm7SWn8o=
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=

View File

@@ -56,7 +56,7 @@ const (
fi
menuentry "%s" --class os --unrestricted {
echo Loading kernel...
$linux ($root)/boot/kernel cdroot root=live:CDLABEL=%s rd.live.dir=/ rd.live.squashimg=rootfs.squashfs rd.live.overlay.overlayfs console=tty1 console=ttyS0 rd.cos.disable
$linux ($root)/boot/kernel cdroot root=live:CDLABEL=%s rd.live.dir=/ rd.live.squashimg=rootfs.squashfs rd.live.overlay.overlayfs console=ttyS0 console=tty1 rd.cos.disable
echo Loading initrd...
$initrd ($root)/boot/initrd
}

29
renovate.json Normal file
View File

@@ -0,0 +1,29 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"schedule": [
"after 11pm every weekday",
"before 7am every weekday",
"every weekend"
],
"timezone": "Europe/Brussels",
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"automerge": true
}
],
"regexManagers": [
{
"fileMatch": [
"^Earthfile$"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sARG\\s+.+_VERSION=\"?(?<currentValue>.*?)\"?\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
]
}