Skip to content

Commit

Permalink
wip: poc: buildkite-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
zzak committed Dec 1, 2023
1 parent a8538b9 commit 3ae6437
Show file tree
Hide file tree
Showing 7 changed files with 488 additions and 435 deletions.
Empty file added .buildkite/.keep
Empty file.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source "https://rubygems.org"

gem "autotest"
gem "buildkit"
gem "buildkite-builder"
gem "diffy"
gem "rake"
gem "autotest"
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ GEM
minitest-autotest (~> 1.0)
buildkit (1.5.0)
sawyer (>= 0.6)
buildkite-builder (4.2.4)
rainbow (>= 3)
diffy (3.4.2)
faraday (2.7.7)
faraday-net_http (>= 2.0, < 3.1)
Expand All @@ -20,6 +22,7 @@ GEM
minitest (~> 5.16)
path_expander (1.1.1)
public_suffix (5.0.1)
rainbow (3.1.1)
rake (13.0.6)
ruby2_keywords (0.0.5)
sawyer (0.9.2)
Expand All @@ -33,6 +36,7 @@ PLATFORMS
DEPENDENCIES
autotest
buildkit
buildkite-builder
diffy
rake

Expand Down
4 changes: 2 additions & 2 deletions buildkite-config-initial-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ steps:
message: "[${BUILDKITE_BRANCH}] ${BUILDKITE_MESSAGE}"
branch: "main"
env:
CONFIG_REPO: "${BUILDKITE_PULL_REQUEST_REPO}"
CONFIG_REPO: "${BUILDKITE_REPO}"
CONFIG_BRANCH: "${BUILDKITE_BRANCH}"
BUILDKITE_CONFIG_TRIGGER: true # This variable can be used downstream to avoid things like "if branch==main do Y"
- trigger: "rails-ci"
Expand All @@ -63,6 +63,6 @@ steps:
message: "[${BUILDKITE_BRANCH} / 6-1-stable] ${BUILDKITE_MESSAGE}"
branch: "6-1-stable"
env:
CONFIG_REPO: "${BUILDKITE_PULL_REQUEST_REPO}"
CONFIG_REPO: "${BUILDKITE_REPO}"
CONFIG_BRANCH: "${BUILDKITE_BRANCH}"
BUILDKITE_CONFIG_TRIGGER: true # This variable can be used downstream to avoid things like "if branch==main do Y"
Loading

0 comments on commit 3ae6437

Please sign in to comment.