diff options
author | Tim Smith <tsmith@chef.io> | 2018-12-11 20:27:59 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-12-11 20:27:59 -0800 |
commit | 97c08e1138dc2f9b99d17f5622d2ad2f9f6d725c (patch) | |
tree | 7d09cf9e4316c5e90a68fb2d21c4d1ef2b83ade9 | |
parent | 828da1e98631d8d0726cad913dd0ba9ac233dcb7 (diff) | |
download | mixlib-log-97c08e1138dc2f9b99d17f5622d2ad2f9f6d725c.tar.gz |
Only ship the required library files in the gem artifactslim
Don't ship the test and dev files in the gem artifact.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | .expeditor/config.yml | 30 | ||||
-rw-r--r-- | .github/CODEOWNERS | 5 | ||||
-rw-r--r-- | mixlib-log.gemspec | 6 |
3 files changed, 21 insertions, 20 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 8fc137b..fb57921 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -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 diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 59c6d93..fee8d42 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,4 @@ -* @chef/client-maintainers +# Order is important. The last matching pattern has the most precedence. + +* @chef/client-maintainers +.expeditor/** @chef/jex-team diff --git a/mixlib-log.gemspec b/mixlib-log.gemspec index fe418eb..bedd1dd 100644 --- a/mixlib-log.gemspec +++ b/mixlib-log.gemspec @@ -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 |