Skip to content

Commit

Permalink
🤖 Allow testing provider dev versions (#2870)
Browse files Browse the repository at this point in the history
  • Loading branch information
Itxaka authored Sep 24, 2024
1 parent 073d6cd commit 1f35518
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ base-image:
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 @@ base-image:
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

0 comments on commit 1f35518

Please sign in to comment.