mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-09-08 18:20:28 +00:00
Compare commits
2 Commits
ubuntu-loc
...
test_itxak
Author | SHA1 | Date | |
---|---|---|---|
|
956c70ca2a | ||
|
d1d89d1796 |
8
.github/workflows/e2e-tests.yml
vendored
8
.github/workflows/e2e-tests.yml
vendored
@@ -11,7 +11,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e-tests:
|
e2e-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -49,6 +49,12 @@ jobs:
|
|||||||
earthly -P +iso
|
earthly -P +iso
|
||||||
export ISO=$PWD/build/challenger.iso
|
export ISO=$PWD/build/challenger.iso
|
||||||
|
|
||||||
|
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo
|
||||||
|
go get github.com/onsi/gomega/...
|
||||||
|
go get github.com/onsi/ginkgo/v2/ginkgo/internal@v2.7.1
|
||||||
|
go get github.com/onsi/ginkgo/v2/ginkgo/generators@v2.7.1
|
||||||
|
go get github.com/onsi/ginkgo/v2/ginkgo/labels@v2.7.1
|
||||||
|
|
||||||
# Configure earthly to use the docker mirror in CI
|
# Configure earthly to use the docker mirror in CI
|
||||||
# https://docs.earthly.dev/ci-integration/pull-through-cache#configuring-earthly-to-use-the-cache
|
# https://docs.earthly.dev/ci-integration/pull-through-cache#configuring-earthly-to-use-the-cache
|
||||||
cat << EOF > ~/.earthly/config.yml
|
cat << EOF > ~/.earthly/config.yml
|
||||||
|
@@ -13,8 +13,9 @@ build-challenger:
|
|||||||
SAVE ARTIFACT /work/kcrypt-discovery-challenger AS LOCAL kcrypt-discovery-challenger
|
SAVE ARTIFACT /work/kcrypt-discovery-challenger AS LOCAL kcrypt-discovery-challenger
|
||||||
|
|
||||||
image:
|
image:
|
||||||
FROM $BASE_IMAGE
|
FROM github.com/Itxaka/kairos:drop_kcrypt_dracut+image
|
||||||
ARG IMAGE
|
ARG IMAGE
|
||||||
|
RUN cat /etc/os-release
|
||||||
COPY +build-challenger/kcrypt-discovery-challenger /system/discovery/kcrypt-discovery-challenger
|
COPY +build-challenger/kcrypt-discovery-challenger /system/discovery/kcrypt-discovery-challenger
|
||||||
SAVE IMAGE $IMAGE
|
SAVE IMAGE $IMAGE
|
||||||
|
|
||||||
|
@@ -59,4 +59,4 @@ kubectl apply -k "$SCRIPT_DIR/../tests/assets/"
|
|||||||
# https://stackoverflow.com/a/6752280
|
# https://stackoverflow.com/a/6752280
|
||||||
export KMS_ADDRESS="10.0.2.2.challenger.sslip.io"
|
export KMS_ADDRESS="10.0.2.2.challenger.sslip.io"
|
||||||
|
|
||||||
go run github.com/onsi/ginkgo/v2/ginkgo -v --nodes $GINKGO_NODES --label-filter $LABEL --fail-fast -r ./tests/
|
PATH=$PATH:$GOPATH/bin ginkgo -v --nodes $GINKGO_NODES --label-filter $LABEL --fail-fast -r ./tests/
|
||||||
|
Reference in New Issue
Block a user