mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-09-04 16:21:05 +00:00
Compare commits
3 Commits
test_itxak
...
ubuntu-loc
Author | SHA1 | Date | |
---|---|---|---|
|
8332f63fb1 | ||
|
c980784da5 | ||
|
40267d4c24 |
10
.github/workflows/e2e-tests.yml
vendored
10
.github/workflows/e2e-tests.yml
vendored
@@ -11,7 +11,7 @@ on:
|
||||
|
||||
jobs:
|
||||
e2e-tests:
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -48,13 +48,7 @@ jobs:
|
||||
|
||||
earthly -P +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
|
||||
# https://docs.earthly.dev/ci-integration/pull-through-cache#configuring-earthly-to-use-the-cache
|
||||
cat << EOF > ~/.earthly/config.yml
|
||||
|
@@ -13,9 +13,8 @@ build-challenger:
|
||||
SAVE ARTIFACT /work/kcrypt-discovery-challenger AS LOCAL kcrypt-discovery-challenger
|
||||
|
||||
image:
|
||||
FROM github.com/Itxaka/kairos:drop_kcrypt_dracut+image
|
||||
FROM $BASE_IMAGE
|
||||
ARG IMAGE
|
||||
RUN cat /etc/os-release
|
||||
COPY +build-challenger/kcrypt-discovery-challenger /system/discovery/kcrypt-discovery-challenger
|
||||
SAVE IMAGE $IMAGE
|
||||
|
||||
|
@@ -59,4 +59,4 @@ kubectl apply -k "$SCRIPT_DIR/../tests/assets/"
|
||||
# https://stackoverflow.com/a/6752280
|
||||
export KMS_ADDRESS="10.0.2.2.challenger.sslip.io"
|
||||
|
||||
PATH=$PATH:$GOPATH/bin ginkgo -v --nodes $GINKGO_NODES --label-filter $LABEL --fail-fast -r ./tests/
|
||||
go run github.com/onsi/ginkgo/v2/ginkgo -v --nodes $GINKGO_NODES --label-filter $LABEL --fail-fast -r ./tests/
|
||||
|
Reference in New Issue
Block a user