Skip to content

Commit

Permalink
all them
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com>
  • Loading branch information
golanglemonade committed Dec 15, 2024
1 parent f361588 commit 9c1d91f
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ env:
IMAGE_TAG: ${BUILDKITE_BUILD_NUMBER}-${BUILDKITE_COMMIT:0:8}
SONAR_HOST: https://sonarcloud.io
GOFLAGS: -buildvcs=false
LARGE_RUNNER: self-hosted-garage-vms
RUNNER_SIZE: "large"
LARGE_RUNNER_QUEUE: self-hosted-garage-vms
SMALL_RUNNER_QUEUE: self-hosted-garage-vms
RUNNER_LARGE: "large"
RUNNER_SMALL: "small"

steps:
- group: ":knife: Pre-check"
Expand All @@ -15,8 +17,8 @@ steps:
- label: ":golang: go generate"
key: "generate"
agents:
queue: $LARGE_RUNNER
size: $RUNNER_SIZE
queue: $LARGE_RUNNER_QUEUE
size: $RUNNER_LARGE
cancel_on_build_failing: true
plugins:
- docker#v5.12.0:
Expand All @@ -41,8 +43,8 @@ steps:
- label: ":golangci-lint: lint :lint-roller:"
if: build.branch !~ /^renovate\//
agents:
queue: $LARGE_RUNNER
size: $RUNNER_SIZE
queue: $LARGE_RUNNER_QUEUE
size: $RUNNER_LARGE
cancel_on_build_failing: true
timeout_in_minutes: 20
key: "lint"
Expand All @@ -56,8 +58,8 @@ steps:
artifact_paths: ["coverage.out"]
- label: ":golang: go test - {{matrix.version}}"
agents:
queue: $LARGE_RUNNER
size: $RUNNER_SIZE
queue: $LARGE_RUNNER_QUEUE
size: $RUNNER_LARGE
key: "go_test"
cancel_on_build_failing: true
env:
Expand All @@ -82,7 +84,8 @@ steps:
- label: ":auth0: fga model test"
if: build.branch !~ /^renovate\//
agents:
queue: "hosted-small"
queue: $SMALL_RUNNER_QUEUE
size: $RUNNER_SMALL
key: "fga_test"
plugins:
- docker#v5.12.0:
Expand Down Expand Up @@ -136,7 +139,8 @@ steps:
cancel_on_build_failing: true
artifact_paths: "bin/${APP_NAME}"
agents:
queue: "hosted-medium"
queue: $LARGE_RUNNER_QUEUE
size: $RUNNER_LARGE
plugins:
- docker#v5.12.0:
image: "ghcr.io/theopenlane/build-image:latest"
Expand All @@ -148,7 +152,8 @@ steps:
- label: ":terminal: build cli"
key: "gobuild-cli"
agents:
queue: "hosted-small"
queue: $LARGE_RUNNER_QUEUE
size: $RUNNER_LARGE
cancel_on_build_failing: true
artifact_paths: "bin/openlane-cli"
plugins:
Expand Down Expand Up @@ -196,8 +201,8 @@ steps:
- label: ":docker: docker pr build"
key: "docker-pr-build"
agents:
queue: $LARGE_RUNNER
size: $RUNNER_SIZE
queue: $LARGE_RUNNER_QUEUE
size: $RUNNER_LARGE
cancel_on_build_failing: true
if: build.branch != "main" && build.tag == null
commands: |
Expand Down Expand Up @@ -270,8 +275,8 @@ steps:
- label: ":docker: docker build and publish all in one"
key: "docker-build-aio"
agents:
queue: $LARGE_RUNNER
size: $RUNNER_SIZE
queue: $LARGE_RUNNER_QUEUE
size: $RUNNER_LARGE
if: build.branch == "main"
cancel_on_build_failing: true
commands: |
Expand Down Expand Up @@ -328,8 +333,8 @@ steps:
- label: ":docker: docker build and publish all in one"
key: "docker-build-aio-and-tag"
agents:
queue: $LARGE_RUNNER
size: $RUNNER_SIZE
queue: $LARGE_RUNNER_QUEUE
size: $RUNNER_LARGE
cancel_on_build_failing: true
if: build.tag != null
commands: |
Expand Down

0 comments on commit 9c1d91f

Please sign in to comment.