Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Sep 19, 2025

Updated the Buildkite junit-annotate plugin configuration to run faster using containers as requested in issue #108.

Changes Made

  • Found Configuration: Located the Buildkite pipeline using junit-annotate with GCP provider in .buildkite/pipeline.yml
  • Updated Plugin Version: Upgraded from junit-annotate#v2.4.1 to junit-annotate#v2.7.0
  • Replaced Provider: Removed GCP provider configuration and replaced with container image docker.elastic.co/ci-agent-images/buildkite-junit-annotate:1.0
  • Added Configuration: Added run-in-docker: false configuration for optimal performance

Before

- key: junit
  label: ":junit: Test results"
  agents:
    provider: "gcp"
    image: family/core-ubuntu-2204
  plugins:
    - junit-annotate#v2.4.1:
        artifacts: "junit-output/junit-*.xml"
        job-uuid-file-pattern: "junit-(.*).xml"
        fail-build-on-error: true
        failure-format: file

After

- key: junit
  label: ":junit: Test results"
  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: "junit-output/junit-*.xml"
        job-uuid-file-pattern: "junit-(.*).xml"
        fail-build-on-error: true
        failure-format: file
        run-in-docker: false

This change should result in faster execution of the junit annotation step by using a specialized container image instead of the GCP provider.

Fixes #108.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

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

Copilot AI commented Sep 19, 2025

@v1v 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

@v1v
Copy link
Member

v1v commented Sep 21, 2025

@copilot finish the PR, it's still marked as WIP in the description

- Updated junit-annotate plugin from v2.4.1 to v2.7.0
- Replaced GCP provider with container image docker.elastic.co/ci-agent-images/buildkite-junit-annotate:1.0
- Added run-in-docker: false configuration
- This should result in faster execution as requested in the issue

Fixes #108

Co-authored-by: v1v <[email protected]>
Copy link
Author

Copilot AI commented Sep 21, 2025

@copilot finish the PR, it's still marked as WIP in the description

Done! I've completed the implementation and updated the PR description to remove the WIP status. The changes have been committed in 487196f.

The junit-annotate plugin has been successfully updated to use the container image docker.elastic.co/ci-agent-images/buildkite-junit-annotate:1.0 with run-in-docker: false configuration, which should result in faster execution as requested in the original issue.

@Copilot Copilot AI changed the title [WIP] bk: update unit-annotate to run faster bk: update junit-annotate to run faster Sep 21, 2025
Copilot finished work on behalf of v1v September 21, 2025 07:38
@elasticmachine
Copy link
Collaborator

elasticmachine commented Sep 21, 2025

@v1v v1v marked this pull request as ready for review September 22, 2025 10:52
@JoshMock
Copy link
Member

This repo is deprecated and will only be updated for security patches, so we don't need to update its integration test suite (which was flaky anyway) with improvements like this.

@JoshMock JoshMock closed this Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bk: update unit-annotate to run faster

4 participants