mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-26 14:03:57 +00:00
Fix bundle tests
The `rm` we did, made the repo "dirty" thus changing the kubo extention version. This result in a kubo version that doesn't match the one in /etc/os-release, so systemd-sysext doesn't show the extension. https://www.freedesktop.org/software/systemd/man/systemd-sysext.html#Options Fixes: https://github.com/kairos-io/kairos/issues/1029 Signed-off-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
This commit is contained in:
committed by
Itxaka
parent
5419e568cc
commit
ed7f6c989f
@@ -548,6 +548,7 @@ run-qemu-datasource-tests:
|
||||
RUN apt install -y qemu-system-x86 qemu-utils golang git
|
||||
WORKDIR /test
|
||||
ARG FLAVOR
|
||||
ARG PREBUILT_ISO
|
||||
ARG TEST_SUITE=autoinstall-test
|
||||
ENV FLAVOR=$FLAVOR
|
||||
ENV SSH_PORT=60023
|
||||
@@ -560,8 +561,8 @@ run-qemu-datasource-tests:
|
||||
ENV CLOUD_CONFIG=$CLOUD_CONFIG
|
||||
COPY . .
|
||||
RUN ls -liah /test/build
|
||||
IF [ -e /test/build/kairos.iso ]
|
||||
ENV ISO=/test/build/kairos.iso
|
||||
IF [ -n "$PREBUILT_ISO" ]
|
||||
ENV ISO=$PREBUILT_ISO
|
||||
ELSE
|
||||
COPY +iso/kairos.iso kairos.iso
|
||||
ENV ISO=/test/kairos.iso
|
||||
@@ -707,7 +708,8 @@ prepare-bundles-tests:
|
||||
|
||||
run-qemu-bundles-tests:
|
||||
ARG FLAVOR
|
||||
BUILD +run-qemu-datasource-tests --CLOUD_CONFIG=./bundles-config.yaml --TEST_SUITE="bundles-test" --FLAVOR=$FLAVOR
|
||||
ARG PREBUILT_ISO
|
||||
BUILD +run-qemu-datasource-tests --PREBUILT_ISO=$PREBUILT_ISO --CLOUD_CONFIG=./bundles-config.yaml --TEST_SUITE="bundles-test" --FLAVOR=$FLAVOR
|
||||
|
||||
###
|
||||
### Examples
|
||||
|
Reference in New Issue
Block a user