-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from chef/IPACK-87-setup-win-32-process-repo-f…
…or-expeditor Setup expeditor for win32-process
- Loading branch information
Showing
6 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# 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: | ||
- win32-process | ||
|
||
github: | ||
# This deletes the GitHub PR branch after successfully merged into the release branch | ||
delete_branch_on_merge: true | ||
version_tag_format: "win32-process-{{version}}" | ||
# allow bumping the minor release via label | ||
minor_bump_labels: | ||
- "Expeditor: Bump Version Minor" | ||
|
||
release_branches: | ||
- main: | ||
version_constraint: "0.*" | ||
|
||
changelog: | ||
rollup_header: Changes not yet released to rubygems.org | ||
|
||
subscriptions: | ||
# These actions are taken, in order they are specified, anytime a Pull Request is merged. | ||
- workload: pull_request_merged:{{github_repo}}:{{release_branch}}:* | ||
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: Skip Changelog" | ||
- "Expeditor: Skip All" | ||
- built_in:build_gem: | ||
only_if: built_in:bump_version | ||
|
||
- workload: project_promoted:{{agent_id}}:* | ||
actions: | ||
- built_in:rollover_changelog | ||
- built_in:publish_rubygems |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/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 | ||
|
||
sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"$(cat VERSION)\"/" lib/win32/process/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module Win32 | ||
class Process | ||
# The version of the win32-process library | ||
VERSION = "0.9.0".freeze | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Gem::Specification.new do |spec| | ||
spec.name = "win32-process" | ||
spec.version = "0.9.0" | ||
spec.version = Win32::Process::VERSION | ||
spec.license = "Artistic-2.0" | ||
spec.authors = ["Daniel Berger", "Park Heesob"] | ||
spec.email = "[email protected]" | ||
|