diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index e1b31896de..5cbc042375 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -6,6 +6,8 @@ steps: key: "rspec" env: RAILS_ENV: test + agents: + queue: hosted plugins: - docker-compose#v3.9.0: run: app @@ -27,6 +29,8 @@ steps: key: "assets" env: RAILS_ENV: production + agents: + queue: hosted plugins: - docker-compose#v3.9.0: build: app @@ -51,6 +55,8 @@ steps: --color=always env: RAILS_ENV: production + agents: + queue: hosted plugins: - docker-compose#v3.9.0: run: muffet @@ -62,6 +68,8 @@ steps: - label: ":junit: Test Summary" depends_on: "rspec" allow_dependency_failure: true + agents: + queue: hosted plugins: - bugcrowd/test-summary#v1.11.0: inputs: @@ -74,6 +82,8 @@ steps: - label: ":graphql: Check generated code is up to date" command: bundle exec rake graphql:generate + agents: + queue: hosted plugins: - docker-compose#v3.9.0: run: app @@ -88,11 +98,15 @@ steps: commands: - yarn - npm run prettier-check + agents: + queue: hosted plugins: - docker#v3.7.0: image: "public.ecr.aws/docker/library/node:lts-alpine3.14" - label: ":lint-roller: Linting text and markdown" + agents: + queue: hosted plugins: - docker-compose#v3.9.0: run: vale @@ -100,6 +114,8 @@ steps: - label: ":lint-roller: Linting for insensitive words" command: npm run lint -y + agents: + queue: hosted plugins: # Using the plain Node image, instead of the custom doc Dockerfile # version, is way faster because we don't have to wait for Ruby gems to @@ -113,18 +129,24 @@ steps: command: - npm run -y validate-agent-attributes-yaml - npm run -y validate-environment-variables-yaml + agents: + queue: hosted plugins: - docker#v3.7.0: image: "public.ecr.aws/docker/library/node:lts-alpine3.14" - label: ":lint-roller: :markdown: Linting the Markdown" command: npm run -y mdlint + agents: + queue: hosted plugins: - docker#v3.7.0: image: "public.ecr.aws/docker/library/node:lts-alpine3.14" - label: ":snake: Linting markdown files for snake case" command: npx -y @ls-lint/ls-lint@2.1.0 + agents: + queue: hosted plugins: - docker#v3.7.0: image: "public.ecr.aws/docker/library/node:lts-alpine3.14"