Skip to content

Commit

Permalink
Setup this repo for Buildkite testing
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Jun 24, 2019
1 parent 1252df7 commit a254a21
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .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 Down Expand Up @@ -42,3 +42,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:
- bundle install --jobs=7 --retry=3 --without docs debug
- bundle exec rake
expeditor:
executor:
docker:
image: ruby:2.4-stretch

- label: run-lint-and-specs-ruby-2.5
command:
- bundle install --jobs=7 --retry=3 --without docs debug
- bundle exec rake
expeditor:
executor:
docker:
image: ruby:2.5-stretch

- label: run-lint-and-specs-ruby-2.6
command:
- bundle install --jobs=7 --retry=3 --without docs debug
- bundle exec rake
expeditor:
executor:
docker:
image: ruby:2.6-stretch
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ group :docs do
end

group :test do
gem "rake"
gem "chefstyle"
gem "rake"
end

group :debug do
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# appbundle-updater
[![Gem Version](https://badge.fury.io/rb/appbundle-updater.svg)](https://badge.fury.io/rb/appbundle-updater)

* **Umbrella Project**: [Chef Infra](https://github.com/chef/chef-oss-practices/blob/master/projects/chef-foundation.md)
* **[Project State](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md)**: Active
* **Issues [Response Time Maximum](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md)**: 7 days
* **Pull Request [Response Time Maximum](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md)**: 7 days
**Umbrella Project**: [Chef Foundation](https://github.com/chef/chef-oss-practices/blob/master/projects/chef-foundation.md)

**Project State**: [Active](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md#active)

**Issues [Response Time Maximum](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md)**: 14 days

**Pull Request [Response Time Maximum](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md)**: 14 days

Helper to update Chef and Chef-DK appbundle'd apps inside of an omnibus bundle.

Expand Down
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ task default: [:style]
begin
require "chefstyle"
require "rubocop/rake_task"
desc "Run Chefstyle tests"
RuboCop::RakeTask.new(:style) do |task|
task.options += ["--display-cop-names", "--no-color"]
end
rescue LoadError
puts "chefstyle/rubocop is not available. bundle install first to make sure all dependencies are installed."
puts "chefstyle gem is not installed. bundle install first to make sure all dependencies are installed."
end

begin
Expand Down

0 comments on commit a254a21

Please sign in to comment.