mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-13 16:41:20 +02:00
chore: load all external artifacts earlier
Load all external artifacts early in the build process so that the binaries are available for e2e tests. Signed-off-by: Noel Georgi <git@frezbo.dev>
This commit is contained in:
parent
2dd0964c5f
commit
df9b851fba
@ -133,7 +133,7 @@ local setup_ci = {
|
|||||||
|
|
||||||
commands: [
|
commands: [
|
||||||
'setup-ci',
|
'setup-ci',
|
||||||
'make ./_out/kubectl ./_out/kubestr ./_out/clusterctl',
|
'make external-artifacts',
|
||||||
],
|
],
|
||||||
environment: {
|
environment: {
|
||||||
BUILDKIT_FLAVOR: 'cross',
|
BUILDKIT_FLAVOR: 'cross',
|
||||||
|
4
Makefile
4
Makefile
@ -380,7 +380,9 @@ $(ARTIFACTS)/cilium:
|
|||||||
@curl -L "$(CILIUM_CLI_URL)" | tar xzf - -C $(ARTIFACTS) cilium
|
@curl -L "$(CILIUM_CLI_URL)" | tar xzf - -C $(ARTIFACTS) cilium
|
||||||
@chmod +x $(ARTIFACTS)/cilium
|
@chmod +x $(ARTIFACTS)/cilium
|
||||||
|
|
||||||
e2e-%: $(ARTIFACTS)/$(INTEGRATION_TEST_DEFAULT_TARGET)-amd64 $(ARTIFACTS)/kubectl $(ARTIFACTS)/clusterctl $(ARTIFACTS)/kubestr $(ARTIFACTS)/helm $(ARTIFACTS)/cilium ## Runs the E2E test for the specified platform (e.g. e2e-docker).
|
external-artifacts: $(ARTIFACTS)/kubectl $(ARTIFACTS)/clusterctl $(ARTIFACTS)/kubestr $(ARTIFACTS)/helm $(ARTIFACTS)/cilium
|
||||||
|
|
||||||
|
e2e-%: $(ARTIFACTS)/$(INTEGRATION_TEST_DEFAULT_TARGET)-amd64 external-artifacts ## Runs the E2E test for the specified platform (e.g. e2e-docker).
|
||||||
@$(MAKE) hack-test-$@ \
|
@$(MAKE) hack-test-$@ \
|
||||||
PLATFORM=$* \
|
PLATFORM=$* \
|
||||||
TAG=$(TAG) \
|
TAG=$(TAG) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user