summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-12-11 20:14:10 -0800
committerTim Smith <tsmith@chef.io>2018-12-11 20:14:10 -0800
commitfc501a5a2b4a6fab4e17f1e4e38dfc48339de179 (patch)
tree277822ba032b53728834e4211c432ee1b5923a03
parent46b1eca9685a282b4ff4282fa062e25a1c9fadac (diff)
downloadmixlib-authentication-fc501a5a2b4a6fab4e17f1e4e38dfc48339de179.tar.gz
Only ship the required libraries in the gem artifactslim
Skip the dev and test files from the gem artifact. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.expeditor/config.yml29
-rw-r--r--.travis.yml6
-rw-r--r--mixlib-authentication.gemspec7
3 files changed, 21 insertions, 21 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index 591780e..e3dd427 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -1,40 +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-authentication
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}}"
- # 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:
- actions:
- - built_in:rollover_changelog
- - built_in:publish_rubygems
+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/.travis.yml b/.travis.yml
index 8134b8f..cf0a799 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,9 +10,9 @@ before_install:
matrix:
include:
- rvm: 2.2.10
- - rvm: 2.3.7
- - rvm: 2.4.4
- - rvm: 2.5.1
+ - rvm: 2.3.8
+ - rvm: 2.4.5
+ - rvm: 2.5.3
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
diff --git a/mixlib-authentication.gemspec b/mixlib-authentication.gemspec
index 4f2b9e3..eeb46c6 100644
--- a/mixlib-authentication.gemspec
+++ b/mixlib-authentication.gemspec
@@ -9,9 +9,8 @@ Gem::Specification.new do |s|
s.license = "Apache-2.0"
s.author = "Chef Software, Inc."
s.email = "info@chef.io"
- s.homepage = "https://www.chef.io"
+ s.homepage = "https://github.com/chef/mixlib-authentication"
- s.require_path = "lib"
- s.files = %w{LICENSE README.md Gemfile Rakefile NOTICE} + Dir.glob("*.gemspec") +
- Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
+ s.files = %w{LICENSE} + Dir.glob("lib/**/*")
+ s.require_paths = ["lib"]
end