File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ test-int-set: ## - Run integration tests without setup
336
336
.PHONY : build-e2e-agent-image
337
337
build-e2e-agent-image : docker-cover-e2e-binaries # # - Build a custom elastic-agent image with fleet-server binaries with coverage enabled injected
338
338
@printf " ${CMD_COLOR_ON} Creating test e2e agent image\n${CMD_COLOR_OFF} "
339
- GOARCH=amd64 ./dev-tools/e2e/build.sh
339
+ FLEET_VERSION= ${DEFAULT_VERSION} -SNAPSHOT GOARCH=amd64 ./dev-tools/e2e/build.sh # force fleet version to be equal to VERSION-SNAPSHOT
340
340
341
341
.PHONY : e2e-certs
342
342
e2e-certs : # # - Use openssl to create a CA, encrypted private key, and signed fleet-server cert testing purposes
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ CUSTOM_IMAGE_TAG=${STACK_VERSION}-e2e-${COMMIT}-$(date +%s)
27
27
docker build \
28
28
-f $REPO_ROOT /dev-tools/e2e/Dockerfile \
29
29
--build-arg ELASTIC_AGENT_IMAGE=$BASE_IMAGE \
30
- --build-arg STACK_VERSION=$STACK_VERSION \
30
+ --build-arg STACK_VERSION=${FLEET_VERSION} \
31
31
--build-arg VCS_REF_SHORT=${VCS_REF: 0: 6} \
32
32
--platform linux/$GOARCH \
33
33
-t ${CI_ELASTIC_AGENT_DOCKER_IMAGE} :${CUSTOM_IMAGE_TAG} \
You can’t perform that action at this time.
0 commit comments