-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add mbr disk generation Signed-off-by: mudler <[email protected]> * Specify iso Signed-off-by: mudler <[email protected]> * tests: use a default config Signed-off-by: mudler <[email protected]> * debug Signed-off-by: mudler <[email protected]> * try fix tests Signed-off-by: mudler <[email protected]> * make space for the worker Signed-off-by: mudler <[email protected]> * ci: timeout Signed-off-by: mudler <[email protected]> * debug Signed-off-by: mudler <[email protected]> * test Signed-off-by: mudler <[email protected]> * try to change image Signed-off-by: mudler <[email protected]> * write config also on the other set of tests Signed-off-by: mudler <[email protected]> * wire up more config, better defaults Signed-off-by: mudler <[email protected]> * try self-hosted runners Signed-off-by: mudler <[email protected]> * Do not run in earthly Signed-off-by: mudler <[email protected]> * replace 'iso' build dir to 'build' More meaningful as we don't build only ISOs Signed-off-by: mudler <[email protected]> * simplify test Signed-off-by: mudler <[email protected]> * speedup, try to enable kvm Signed-off-by: mudler <[email protected]> * fixup test output check Signed-off-by: mudler <[email protected]> --------- Signed-off-by: mudler <[email protected]>
- Loading branch information
Showing
11 changed files
with
218 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
ARG VERSION=v0.9.0 | ||
|
||
FROM golang as builder | ||
ADD . /work | ||
RUN cd /work && \ | ||
CGO_ENABLED=0 go build -o auroraboot | ||
|
||
FROM quay.io/kairos/osbuilder-tools | ||
FROM quay.io/kairos/osbuilder-tools:$VERSION | ||
COPY --from=builder /work/auroraboot /usr/bin/auroraboot | ||
|
||
RUN zypper in -y qemu | ||
ENTRYPOINT ["/usr/bin/auroraboot"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,33 @@ | ||
VERSION 0.6 | ||
ARG OSBUILDER_VERSION=v0.9.0 | ||
|
||
image: | ||
FROM DOCKERFILE -f Dockerfile . | ||
FROM DOCKERFILE --build-arg VERSION=$OSBUILDER_VERSION -f Dockerfile . | ||
RUN zypper in -y qemu | ||
|
||
test-label: | ||
FROM alpine | ||
WORKDIR /test | ||
RUN apk add go docker jq | ||
ENV GOPATH=/go | ||
ENV FIXTURE_CONFIG=/test/tests/fixtures/raw_disk.yaml | ||
ARG LABEL | ||
COPY . . | ||
WITH DOCKER \ | ||
--allow-privileged \ | ||
--load auroraboot:latest=+image | ||
RUN pwd && ls -liah && go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo && /go/bin/ginkgo -r -p --randomize-all --procs 2 --fail-fast --timeout=2h --label-filter="$LABEL" --flake-attempts 3 ./... | ||
END | ||
|
||
test: | ||
FROM alpine | ||
WORKDIR /test | ||
RUN apk add go docker jq | ||
ENV GOPATH=/go | ||
ENV FIXTURE_CONFIG=/test/tests/fixtures/raw_disk.yaml | ||
COPY . . | ||
WITH DOCKER \ | ||
--allow-privileged \ | ||
--load auroraboot:latest=+image | ||
RUN go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo && /go/bin/ginkgo -r -p --randomize-all --procs 2 --fail-fast --flake-attempts 3 ./... | ||
RUN pwd && ls -liah && go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo && /go/bin/ginkgo -r -p --randomize-all --procs 2 --fail-fast --timeout=2h --flake-attempts 3 ./... | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.