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>
This commit is contained in:
Mauro Morales 2023-04-19 22:37:00 +02:00 committed by Itxaka
parent 5ffefac855
commit 8ab177d3a5

View File

@ -88,7 +88,7 @@ OSRELEASE:
ARG HOME_URL
# update OS-release file
RUN envsubst >/etc/os-release </usr/lib/os-release.tmpl
RUN envsubst >>/etc/os-release </usr/lib/os-release.tmpl
BUILD_GOLANG:
COMMAND