Skip to content

bk: update unit-annotate to run faster #3014

@v1v

Description

@v1v

Overview

The BK plugin junit-annotate can be configured to run faster using containers.

Steps

  • List the Buildkite plugins using junit-annotate with the GCP provider
  • Replace junit-annotate using the GCP provider with the same configuration using the container docker.elastic.co/ci-agent-images/buildkite-junit-annotate:1.0 and run-in-docker: false
  • Link the PR to this issue as closed by the PR.

Example

The following configuration with junit-annotate and gcp provider

  • label: ":junit: Junit annotate"
    plugins:
    • junit-annotate#v2.5.0:
      artifacts: "build/test-results/*.xml"
      report-skipped: true
      always-annotate: true
      agents:
      provider: "gcp" # junit plugin requires docker

it is replaced by the following configuration with junit-annotate#v2.7.0 and run-in-docker: false and the agent images

  • 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: "build/test-results/*.xml"
      report-skipped: true
      always-annotate: true
      run-in-docker: false

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions