Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Allow testing provider dev versions #2870

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
ARG KAIROS_AGENT_DEV_BRANCH
ARG IMMUCORE_DEV_BRANCH
ARG OVERLAY_FILES_DEV_BRANCH
ARG KAIROS_PROVIDER_DEV_BRANCH

IF [ "$KAIROS_AGENT_DEV_BRANCH" != "" ]
RUN rm -rf /usr/bin/kairos-agent
Expand All @@ -305,6 +306,11 @@
fi
END

IF [ "$KAIROS_PROVIDER_DEV_BRANCH" != "" ]
RUN rm -rf /system/providers/agent-provider-kairos
COPY github.com/kairos-io/provider-kairos:$KAIROS_PROVIDER_DEV_BRANCH+build-kairos-agent-provider/agent-provider-kairos /system/providers/agent-provider-kairos
END

IF [ "$OVERLAY_FILES_DEV_BRANCH" != "" ]
COPY +overlay-files/files /
END
Expand Down Expand Up @@ -907,7 +913,7 @@
END
COPY +go-deps-test/go.mod go.mod
COPY +go-deps-test/go.sum go.sum
RUN go run github.com/onsi/ginkgo/v2/ginkgo -v --label-filter "$TEST_SUITE" --fail-fast -r ./tests/

Check failure on line 916 in Earthfile

View workflow job for this annotation

GitHub Actions / upgrade-alpine / test

Error

The command RUN go run github.com/onsi/ginkgo/v2/ginkgo -v --label-filter "$TEST_SUITE" --fail-fast -r ./tests/ did not complete successfully. Exit code 1

###
### Artifacts targets
Expand Down
Loading