Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 19, 2025

Updates the Buildkite junit-annotate plugin configuration to run faster using containers instead of the GCP provider.

Changes Made

  • Plugin Version: Updated from junit-annotate#v2.5.0 to junit-annotate#v2.7.0
  • Agent Configuration: Replaced GCP provider with container image docker.elastic.co/ci-agent-images/buildkite-junit-annotate:1.0
  • Performance Optimization: Added run-in-docker: false for improved execution speed
  • Requirements: Added comment documenting that the container requires at least "bash", "curl" and "git"

The configuration change in .buildkite/pipeline.yml transforms the junit annotation step from:

- label: ":junit: Junit annotate"
  plugins:
    - junit-annotate#v2.5.0:
        artifacts: "**TEST-*.xml"
        always-annotate: true
  agents:
    provider: "gcp"

To:

- label: ":junit: Junit annotate"
  agents:
    # requires at least "bash", "curl" and "git"
    image: "docker.elastic.co/ci-agent-images/buildkite-junit-annotate:1.0"
  plugins:
    - junit-annotate#v2.7.0:
        artifacts: "**TEST-*.xml"
        always-annotate: true
        run-in-docker: false

This change maintains all existing functionality while providing faster execution by using a dedicated container image instead of provisioning GCP instances.

Fixes #10063.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI assigned Copilot and v1v Sep 19, 2025
@mergify
Copy link
Contributor

mergify bot commented Sep 19, 2025

This pull request does not have a backport label. Could you fix it @Copilot? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label that automatically backports to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@v1v
Copy link
Member

v1v commented Sep 22, 2025

@copilot this PR is WIP, finish the remaining work

Copy link
Contributor Author

Copilot AI commented Sep 22, 2025

@copilot this PR is WIP, finish the remaining work

Completed the remaining work to update junit-annotate configuration. Updated .buildkite/pipeline.yml to use junit-annotate#v2.7.0 with container image docker.elastic.co/ci-agent-images/buildkite-junit-annotate:1.0 and run-in-docker: false for faster execution. Commit: 321a246

Copilot AI changed the title [WIP] bk: update unit-annotate to run faster bk: update junit-annotate to run faster Sep 22, 2025
Copilot finished work on behalf of v1v September 22, 2025 12:36
@v1v v1v added skip-changelog backport-8.19 Automated backport to the 8.19 branch backport-9.1 Automated backport to the 9.1 branch labels Sep 22, 2025
@v1v v1v marked this pull request as ready for review September 22, 2025 12:43
@v1v v1v requested a review from a team as a code owner September 22, 2025 12:43
@v1v v1v requested review from a team and pkoutsovasilis September 22, 2025 12:43
@v1v v1v enabled auto-merge (squash) September 22, 2025 13:34
Copy link
Contributor

@fr4nc1sc0-r4m0n fr4nc1sc0-r4m0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@v1v
Copy link
Member

v1v commented Sep 22, 2025

buildkite test this

@v1v v1v added the backport-9.0 Automated backport to the 9.0 branch label Sep 22, 2025
@v1v v1v merged commit bfaf781 into main Sep 22, 2025
23 checks passed
@v1v v1v deleted the copilot/fix-10063 branch September 22, 2025 22:57
@elastic-sonarqube
Copy link

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

@elasticmachine
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

cc @v1v @Copilot

mergify bot pushed a commit that referenced this pull request Sep 22, 2025
mergify bot pushed a commit that referenced this pull request Sep 22, 2025
mergify bot pushed a commit that referenced this pull request Sep 22, 2025
intxgo pushed a commit to intxgo/elastic-agent that referenced this pull request Sep 24, 2025
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 backport-9.0 Automated backport to the 9.0 branch backport-9.1 Automated backport to the 9.1 branch skip-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bk: update unit-annotate to run faster

4 participants