summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-12-02 21:18:14 -0800
committerTim Smith <tsmith@chef.io>2018-12-02 21:18:14 -0800
commitd5751edf1a9238b20a20d63d54b507591f7831f9 (patch)
treee75eaa66412cfb0a81524d37ba1a647cf9e593ab
parent3f2897db77211a946c71251e37661677da45b51a (diff)
downloadmixlib-shellout-d5751edf1a9238b20a20d63d54b507591f7831f9.tar.gz
Wire up Expeditor
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.expeditor/config.yml41
-rwxr-xr-x.expeditor/update_version.sh14
-rw-r--r--.github/ISSUE_TEMPLATE.md21
-rw-r--r--CHANGELOG.md6
-rw-r--r--VERSION1
5 files changed, 83 insertions, 0 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
new file mode 100644
index 0000000..9c7b756
--- /dev/null
+++ b/.expeditor/config.yml
@@ -0,0 +1,41 @@
+# 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-shellout
+
+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 Minor Version"
+
+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:
+ - "Expeditor: Skip Version Bump"
+ - "Expeditor: Skip All"
+ - bash:.expeditor/update_version.sh:
+ only_if: built_in:bump_version
+ - built_in:update_changelog:
+ ignore_labels:
+ - "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/.expeditor/update_version.sh b/.expeditor/update_version.sh
new file mode 100755
index 0000000..c79a54b
--- /dev/null
+++ b/.expeditor/update_version.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# After a PR merge, Chef Expeditor will bump the PATCH version in the VERSION file.
+# It then executes this file to update any other files/components with that new version.
+#
+
+set -evx
+
+VERSION=$(cat VERSION)
+
+sed -i -r "s/^(\\s*)VERSION = \".+\"/\\1VERSION = \"$VERSION\"/" lib/mixlib/shellout/version.rb
+
+# Once Expeditor finshes executing this script, it will commit the changes and push
+# the commit as a new tag corresponding to the value in the VERSION file.
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
new file mode 100644
index 0000000..f229e13
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE.md
@@ -0,0 +1,21 @@
+# Version:
+
+[Version of the project installed]
+
+# Environment: [Details about the environment such as the Operating System, cookbook details, etc...]
+
+# Scenario:
+
+[What you are trying to achieve and you can't?]
+
+# Steps to Reproduce:
+
+[If you are filing an issue what are the things we need to do in order to repro your problem?]
+
+# Expected Result:
+
+[What are you expecting to happen as the consequence of above reproduction steps?]
+
+# Actual Result:
+
+[What actually happens after the reproduction steps?]
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f8e8495..3db4f06 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,9 +1,15 @@
# mixlib-shellout Changelog
+<!-- latest_release -->
+<!-- latest_release -->
+<!-- release_rollup -->
+<!-- release_rollup -->
+<!-- latest_stable_release -->
## Release 2.4.0
- Added username and password validation for elevated option on Windows
- Added support for setting sensitive so that potentially sensitive output is suppressed
+<!-- latest_stable_release -->
## Release 2.3.2
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..9183195
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+2.4.0 \ No newline at end of file