-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into service-quotas
- Loading branch information
Showing
276 changed files
with
7,524 additions
and
3,654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
steps: | ||
- label: Update GraphQL docs | ||
command: .buildkite/update_graphql_docs | ||
plugins: | ||
- aws-assume-role-with-web-identity#v1.0.0: | ||
role-arn: arn:aws:iam::445615400570:role/pipeline-buildkite-docs-private | ||
- aws-ssm#v1.0.0: | ||
parameters: | ||
GH_TOKEN: /pipelines/buildkite/docs-private/gh-token | ||
API_ACCESS_TOKEN: /pipelines/buildkite/docs-private/api-access-token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,42 @@ | ||
env: | ||
BUILDKIT_PROGRESS: plain | ||
|
||
steps: | ||
- label: "Prepare preview" | ||
command: bin/prepare-preview | ||
key: prepare-preview | ||
plugins: | ||
- aws-assume-role-with-web-identity#v1.0.0: | ||
role-arn: arn:aws:iam::445615400570:role/pipeline-buildkite-docs-private | ||
- aws-ssm#v1.0.0: | ||
parameters: | ||
GH_TOKEN: /pipelines/buildkite/docs-private/gh-token | ||
BUILDKITE_ANALYTICS_TOKEN: /pipelines/buildkite/docs-private/buildkite-analytics-token | ||
NETLIFY_AUTH_TOKEN: /pipelines/buildkite/docs-private/netlify-auth-token | ||
NETLIFY_SITE_ID: /pipelines/buildkite/docs-private/netlify-site-id | ||
|
||
- label: "Deploy preview" | ||
command: bin/deploy-preview | ||
depends_on: prepare-preview | ||
env: | ||
RAILS_ENV: "production" | ||
plugins: | ||
- aws-assume-role-with-web-identity#v1.0.0: | ||
role-arn: arn:aws:iam::445615400570:role/pipeline-buildkite-docs-private | ||
- aws-ssm#v1.0.0: | ||
parameters: | ||
GH_TOKEN: /pipelines/buildkite/docs-private/gh-token | ||
BUILDKITE_ANALYTICS_TOKEN: /pipelines/buildkite/docs-private/buildkite-analytics-token | ||
NETLIFY_AUTH_TOKEN: /pipelines/buildkite/docs-private/netlify-auth-token | ||
NETLIFY_SITE_ID: /pipelines/buildkite/docs-private/netlify-site-id | ||
- docker-compose#v3.9.0: | ||
run: app | ||
dependencies: false | ||
mount-buildkite-agent: true | ||
env: | ||
- GH_REPO | ||
- GH_TOKEN | ||
- NETLIFY_AUTH_TOKEN | ||
- NETLIFY_SITE_ID | ||
- NETLIFY_SALT | ||
- BUILDKITE_BRANCH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#docs-private-to-public-sync | ||
notify: | ||
- slack: "$SLACK_CHANNEL" | ||
if: build.state != "passed" | ||
env: | ||
PUBLIC_REPO: [email protected]:buildkite/docs.git | ||
steps: | ||
- label: Sync to public mirror | ||
branches: main | ||
commands: | | ||
echo "+++ :git: Syncing to public mirror" | ||
git push "${PUBLIC_REPO}" ${BUILDKITE_COMMIT}:main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
steps: | ||
# NOTE: this input step is in the pipeline steps on Buildkite | ||
# - block: "Which PR needs to be synced?" | ||
# fields: | ||
# - key: pull_request_number | ||
# required: true | ||
# text: "Pull Request Number" | ||
# format: "^[0-9]+$" | ||
# hint: "Find the PR number on https://github.com/buildkite/docs/pulls" | ||
|
||
- label: ":git: Sync Public PR to Private Repo" | ||
command: "bin/sync-public-pr" | ||
plugins: | ||
- aws-assume-role-with-web-identity#v1.0.0: | ||
role-arn: arn:aws:iam::445615400570:role/pipeline-buildkite-docs-private | ||
- aws-ssm#v1.0.0: | ||
parameters: | ||
GH_TOKEN: /pipelines/buildkite/docs-private/gh-token | ||
- docker#v5.11.0: | ||
image: "ruby:3.3-bookworm" | ||
propagate-environment: true | ||
mount-buildkite-agent: true | ||
mount-ssh-agent: true | ||
environment: | ||
- GH_TOKEN | ||
- GH_PRIVATE_REPO | ||
- GH_PUBLIC_REPO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
env: | ||
BUILDKIT_PROGRESS: plain | ||
|
||
steps: | ||
- label: ":spider: muffet" | ||
# We need to wait until rails has started before running muffet as otherwise it will error out | ||
|
@@ -56,7 +59,7 @@ steps: | |
login: true | ||
account-ids: public.ecr.aws | ||
- docker#v3.7.0: | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.14" | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.16" | ||
|
||
- label: ":lint-roller: Linting text and markdown" | ||
agents: | ||
|
@@ -80,9 +83,7 @@ steps: | |
# version, is way faster because we don't have to wait for Ruby gems to | ||
# install. | ||
- docker#v3.7.0: | ||
# Alpine 3.14 - EOS 01 May 2023 | ||
# lts = Node 1415.1 - 2023-04-30 | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.14" | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.16" | ||
|
||
- label: "Validate YAML" | ||
command: | ||
|
@@ -97,7 +98,7 @@ steps: | |
login: true | ||
account-ids: public.ecr.aws | ||
- docker#v3.7.0: | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.14" | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.16" | ||
|
||
- label: ":lint-roller: :markdown: Linting the Markdown" | ||
command: npm run -y mdlint | ||
|
@@ -110,7 +111,7 @@ steps: | |
login: true | ||
account-ids: public.ecr.aws | ||
- docker#v3.7.0: | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.14" | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.16" | ||
|
||
- label: ":snake: Linting markdown files for snake case" | ||
command: npx -y @ls-lint/[email protected] | ||
|
@@ -123,7 +124,7 @@ steps: | |
login: true | ||
account-ids: public.ecr.aws | ||
- docker#v3.7.0: | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.14" | ||
image: "public.ecr.aws/docker/library/node:lts-alpine3.16" | ||
|
||
- label: ":rspec: RSpec" | ||
depends_on: linting | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @buildkite/docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.19.1 | ||
18.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.3.3 | ||
3.3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.