Skip to content

Commit

Permalink
Add block step and use rails-ci pipeline instead of main rails
Browse files Browse the repository at this point in the history
This is to avoid potentially confusing results when the "main" branch fails, and sends discord messages because of testing CI changes.

We also don't want to accidentally execute some bad config so require approvals then we can allow builds from fork prs.

Co-authored-by: Matthew Draper <[email protected]>
  • Loading branch information
zzak and matthewd committed Jun 23, 2023
1 parent bb73924 commit 28588b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildkite-config-initial-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
# This config is intended for running the rails/buildkite-config CI.

steps:
- trigger: "rails"
- block: "Review Build Script"
prompt: |
Approval is required. Please review the changes carefully before unblocking.
- trigger: "rails-ci"
label: ":pipeline: Run buildkite-config CI"
build:
message: "buildkite-config: ${BUILDKITE_MESSAGE}"
Expand Down

0 comments on commit 28588b0

Please sign in to comment.