Skip to content

Fail cloude2e step if tests can't run, fix image publication#5000

Merged
michel-laterman merged 5 commits intoelastic:mainfrom
michel-laterman:fix-push-image-cloude2e
Jun 3, 2025
Merged

Fail cloude2e step if tests can't run, fix image publication#5000
michel-laterman merged 5 commits intoelastic:mainfrom
michel-laterman:fix-push-image-cloude2e

Conversation

@michel-laterman
Copy link
Copy Markdown
Contributor

What is the problem this PR solves?

cloude2e tests can silently fail.
fleet-server image publication broken.

How does this PR solve the problem?

Fail the pipeline if cloude2e tests can't run.
mage docker:image now uses the DOCKER_IMAGE env var.

@michel-laterman michel-laterman requested a review from a team as a code owner June 3, 2025 15:32
@michel-laterman michel-laterman added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team tech debt labels Jun 3, 2025
@michel-laterman michel-laterman added the backport-8.19 Automated backport to the 8.19 branch label Jun 3, 2025
@michel-laterman
Copy link
Copy Markdown
Contributor Author

buildkite test this

1 similar comment
@michel-laterman
Copy link
Copy Markdown
Contributor Author

buildkite test this

@prodsecmachine
Copy link
Copy Markdown

prodsecmachine commented Jun 3, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@michel-laterman michel-laterman enabled auto-merge (squash) June 3, 2025 20:44
michel-laterman and others added 2 commits June 3, 2025 15:14
Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
@elastic-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@michel-laterman michel-laterman merged commit 8adb94d into elastic:main Jun 3, 2025
9 checks passed
mergify bot pushed a commit that referenced this pull request Jun 3, 2025
Fail the pipeline if cloude2e tests can't run.
mage docker:image now uses the DOCKER_IMAGE env var.

(cherry picked from commit 8adb94d)
@michel-laterman michel-laterman deleted the fix-push-image-cloude2e branch June 3, 2025 22:44
michel-laterman added a commit that referenced this pull request Jun 4, 2025
…5007)

Fail the pipeline if cloude2e tests can't run.
mage docker:image now uses the DOCKER_IMAGE env var.

(cherry picked from commit 8adb94d)

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
michel-laterman added a commit that referenced this pull request Sep 3, 2025
Fail the pipeline if cloude2e tests can't run.
mage docker:image now uses the DOCKER_IMAGE env var.
michel-laterman added a commit to michel-laterman/fleet-server that referenced this pull request Sep 3, 2025
…#5000)

Fail the pipeline if cloude2e tests can't run.
mage docker:image now uses the DOCKER_IMAGE env var.
michel-laterman added a commit to michel-laterman/fleet-server that referenced this pull request Sep 4, 2025
…#5000)

Fail the pipeline if cloude2e tests can't run.
mage docker:image now uses the DOCKER_IMAGE env var.
michel-laterman added a commit to michel-laterman/fleet-server that referenced this pull request Sep 4, 2025
…#5000)

Fail the pipeline if cloude2e tests can't run.
mage docker:image now uses the DOCKER_IMAGE env var.
michel-laterman added a commit that referenced this pull request Sep 24, 2025
Backport PRs #4912 #4985 #5000 #5075 to 9.0 so that mage is used instead of Make.
Do additional cleanup so FIPS references have been removed.
Chane Buildkite to use plugins.
michel-laterman added a commit that referenced this pull request Sep 24, 2025
* Convert Makefile to magefile.go (#4912)

Reimplement Makefile targets in mage.
Change buildkite pipeline to use mage.
Change Dockerfile* to use mage.

(cherry picked from commit db5f46b)

# Conflicts:
#	.buildkite/pipeline.yml
#	.buildkite/scripts/common.sh
#	.buildkite/scripts/local_build.sh
#	.buildkite/scripts/test-release.sh
#	Dockerfile.build
#	Dockerfile.fips
#	Makefile
#	NOTICE.txt
#	README.md
#	dev-tools/cloud/Makefile
#	dev-tools/cloud/terraform/main.tf
#	dev-tools/e2e/Dockerfile
#	dev-tools/e2e/build.sh
#	dev-tools/e2e/validatecerts.go
#	dev-tools/go.mod
#	dev-tools/go.sum
#	docs/developers-guide.md
#	docs/docker-images.md
#	docs/fips.md
#	testing/e2e/fips_test.go

* Ensure directory is made within zip artifacts (#4985)

* Ensure directory is made within zip artifacts

* Make test:release extraction stricter

* Fail cloude2e step if tests can't run, fix image publication (#5000)

Fail the pipeline if cloude2e tests can't run.
mage docker:image now uses the DOCKER_IMAGE env var.

* Add multiplatform images (#5075)

Fixes issue where change from make to mage, result in the loss of creating multiple platform images.

* Fix cherry-picks

* change to serialdeps

* Use magefile from main

* Remove FIPS references, use docker plugin

* Use bk plugins

* cleanup go.mod in dev-tools and pkg/api

* Add missing EC secret to cloud e2e step

* Review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-8.19 Automated backport to the 8.19 branch Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants