Skip to content

Commit

Permalink
Merge pull request #75 from chef/bk
Browse files Browse the repository at this point in the history
Add BuildKite PR Testing
  • Loading branch information
tas50 authored Jun 1, 2019
2 parents 039024a + 7a3be40 commit 325a5fa
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
# Slack channel in Chef Software slack to send notifications about build failures, etc
slack:
notify_channel: chef-notify
notify_channel: chef-found-notify

# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
rubygems:
Expand All @@ -11,8 +11,6 @@ rubygems:
github:
# This deletes the GitHub PR branch after successfully merged into the release branch
delete_branch_on_merge: true
# The tag format to use (e.g. v1.0.0)
version_tag_format: "v{{version}}"
# allow bumping the minor release via label
minor_bump_labels:
- "Expeditor: Bump Version Minor"
Expand Down Expand Up @@ -42,3 +40,8 @@ promote:
actions:
- built_in:rollover_changelog
- built_in:publish_rubygems

pipelines:
- verify:
description: Pull Request validation tests
public: true
28 changes: 28 additions & 0 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
steps:

- label: run-lint-and-specs-ruby-2.4
command:
- asdf local ruby 2.4.5
- bundle install --jobs=7 --retry=3
- bundle exec rake
expeditor:
executor:
docker:

- label: run-lint-and-specs-ruby-2.5
command:
- asdf local ruby 2.5.5
- bundle install --jobs=7 --retry=3
- bundle exec rake
expeditor:
executor:
docker:

- label: run-lint-and-specs-ruby-2.6
command:
- asdf local ruby 2.6.3
- bundle install --jobs=7 --retry=3
- bundle exec rake
expeditor:
executor:
docker:
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ source "https://rubygems.org"
gemspec

group :docs do
gem "yard"
gem "redcarpet"
gem "github-markup"
gem "redcarpet"
gem "yard"
end

group :test do
gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
gem "rspec", "~> 3.0"
gem "rake"
gem "rspec", "~> 3.0"
end

group :debug do
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "bundler"
require "bundler/gem_tasks"
require "rspec/core/rake_task"

Bundler::GemHelper.install_tasks
Expand Down

0 comments on commit 325a5fa

Please sign in to comment.