Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .buildkite/scripts/cloud_e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [[ "${FLEET_SERVER_URL}" == "" ]]; then
--style "error"
fi
echo "${message}"
exit 0
exit 1
fi

echo "--- Trigger cloud E2E test"
Expand Down
5 changes: 4 additions & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,7 @@ func (Docker) Cover() error {
// DEV creates a development image.
// SNAPSHOT creates a snapshot image.
// VERSION_QUALIFIER may be used to manually specify a version qualifer for the image tag.
// DOCKER_IMAGE may be used to completely specify the image name.
// DOCKER_IMAGE_TAG may be used to completely specify the image tag.
func (Docker) Image() error {
dockerFile := "Dockerfile"
Expand All @@ -982,6 +983,9 @@ func (Docker) Image() error {
dockerFile = dockerBuilderFIPS
image += "-fips"
}
if v, ok := os.LookupEnv(envDockerImage); ok && v != "" {
image = v
}

return sh.RunWithV(map[string]string{"DOCKER_BUILDKIT": "1"}, "docker", "build",
"--build-arg", "GO_VERSION="+getGoVersion(),
Expand Down Expand Up @@ -1615,7 +1619,6 @@ func (Test) Benchstat() error {
func (Test) E2e() {
os.Setenv(envDev, "true")
os.Setenv(envSnapshot, "true")
os.Setenv(envDockerImage, "fleet-server-e2e-agent")

// Set PLATFORMS to linux/$GOARCH + a binary for the local system
pList := []string{
Expand Down
Loading