Skip to content

Commit

Permalink
added bk precommit plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed Sep 11, 2024
1 parent bbb880c commit 310ea3d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .buildkite/heartbeat/heartbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,6 @@ env:
TEST_COVERAGE: "true"

steps:
- group: "Pre-commit"
steps:
- label: "Pre-commit"
command: |
pre-commit run --from-ref origin/HEAD --to-ref HEAD --show-diff-on-failure
plugins:
- elastic/pre-commit#v1.0.1
agents:
image: "docker.elastic.co/ci-agent-images/ubuntu-build-essential:latest"
cpu: "4000m"
memory: "8Gi"

- group: "Check/Update"
key: "heartbeat-check-update"

Expand Down Expand Up @@ -83,6 +71,8 @@ steps:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "${GCP_DEFAULT_MACHINE_TYPE}"
plugins:
- elastic/pre-commit#v1.0.1
artifact_paths:
- "heartbeat/build/*.xml"
- "heartbeat/build/*.json"
Expand Down

0 comments on commit 310ea3d

Please sign in to comment.