Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only ship the required library files in the gem artifact #45

Merged
merged 2 commits into from
Dec 18, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,41 @@
# Documentation available at http://expeditor-docs.es.chef.io/

# Documentation available at https://expeditor.chef.io/docs/getting-started/
---
# Slack channel in Chef Software slack to send notifications about build failures, etc
slack:
notify_channel: chef-notify

# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
rubygems:
- mixlib-log

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}}"
# The Github Team primarily responsible for handling incoming Pull Requests.
maintainer_group: chef/client-maintainers
# Which Github branches to build gems from, and what versions
# (as determined by the value in the VERSION file) those branches are responsible
# for building.
release_branch:
- master:
version_constraint: 2.*
# allow bumping the minor release via label
minor_bump_labels:
- "Expeditor: Bump Minor Version"

promote:
action:
- built_in:publish_rubygems
- built_in:rollover_changelog
changelog:
rollup_header: Changes not yet released to rubygems.org

# These actions are taken, in order they are specified, anytime a Pull Request is merged.
merge_actions:
- built_in:bump_version:
ignore_labels:
- "Version: Skip Bump"
- "Expeditor: Skip Version Bump"
- "Expeditor: Skip All"
- bash:.expeditor/update_version.sh:
only_if: built_in:bump_version
- built_in:update_changelog:
ignore_labels:
- "Meta: Exclude From Changelog"
- "Expeditor: Exclude From Changelog"
- "Expeditor: Skip All"
- built_in:build_gem:
only_if: built_in:bump_version

promote:
actions:
- built_in:rollover_changelog
- built_in:publish_rubygems
5 changes: 4 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
* @chef/client-maintainers
# Order is important. The last matching pattern has the most precedence.

* @chef/client-maintainers
.expeditor/** @chef/jex-team
6 changes: 3 additions & 3 deletions mixlib-log.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Gem::Specification.new do |gem|
gem.version = Mixlib::Log::VERSION
gem.summary = "A gem that provides a simple mixin for log functionality"
gem.email = "info@chef.io"
gem.homepage = "https://www.chef.io"
gem.homepage = "https://github.com/chef/mixlib-log"
gem.license = "Apache-2.0"
gem.authors = ["Chef Software, Inc."]
gem.extra_rdoc_files = ["README.md", "LICENSE", "NOTICE"]
gem.files = Dir["lib/**/*"] + Dir["spec/**/*"] + ["Gemfile", "Rakefile", ".gemtest", "mixlib-log.gemspec"]
gem.files = %w{LICENSE} + Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
gem.require_paths = ['lib']
gem.required_ruby_version = ">= 2.2"
end