summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-05-31 22:25:43 -0700
committerTim Smith <tsmith@chef.io>2019-05-31 22:25:43 -0700
commit7a3be4021fc9f72eea473e8f782c5d19edd6a827 (patch)
treeefdda549b028842a641e0a44a3dea9cb7ccd4f19
parent7b217161ab69a0dda1c6412c977397dde331f8a4 (diff)
downloadmixlib-config-7a3be4021fc9f72eea473e8f782c5d19edd6a827.tar.gz
Add BuildKite PR Testing
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.expeditor/config.yml9
-rw-r--r--.expeditor/verify.pipeline.yml28
-rw-r--r--Gemfile6
-rw-r--r--Rakefile2
4 files changed, 38 insertions, 7 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index 6791cb7..7d2223e 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -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:
@@ -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"
@@ -42,3 +40,8 @@ promote:
actions:
- built_in:rollover_changelog
- built_in:publish_rubygems
+
+pipelines:
+ - verify:
+ description: Pull Request validation tests
+ public: true
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
new file mode 100644
index 0000000..a3efc1c
--- /dev/null
+++ b/.expeditor/verify.pipeline.yml
@@ -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:
diff --git a/Gemfile b/Gemfile
index ba67ea8..f4ab921 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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
diff --git a/Rakefile b/Rakefile
index 19e14b8..b8e277a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,4 @@
-require "bundler"
+require "bundler/gem_tasks"
require "rspec/core/rake_task"
Bundler::GemHelper.install_tasks