diff options
author | Tim Smith <tsmith@chef.io> | 2018-08-23 10:45:53 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-08-23 10:45:53 -0700 |
commit | 6add481cf6eab66677e3143601a36cc10602ca33 (patch) | |
tree | 3e5fbbb5453ca3843ea0dd2540ac2a5497213f92 /.expeditor/update_dep.sh | |
parent | eca8f9519e6719774d7fb5581b81b9e4a879acaa (diff) | |
download | chef-6add481cf6eab66677e3143601a36cc10602ca33.tar.gz |
Explain what our expeditor scripts are doing
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.expeditor/update_dep.sh')
-rw-r--r-- | .expeditor/update_dep.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.expeditor/update_dep.sh b/.expeditor/update_dep.sh index 24c4c89830..ef2bd3e6a7 100644 --- a/.expeditor/update_dep.sh +++ b/.expeditor/update_dep.sh @@ -1,5 +1,14 @@ #!/bin/bash +############################################################################ +# What is this script? +# +# Chef uses a workflow tool called Expeditor to manage version bumps, changelogs +# and releases. When a dependency of chef is released, expeditor is triggered +# against this repository to run this script. It bumps our gem lock files and opens +# a PR. That way humans can do hard work and bots can open gem bump PRs. +############################################################################ + set -evx branch="expeditor/${GEM_NAME}_${VERSION}" @@ -9,7 +18,10 @@ bundle install bundle exec rake dependencies:update git add . -git commit --message "Bump $GEM_NAME to $VERSION" --message "This pull request was triggered automatically via Expeditor when $GEM_NAME $VERSION was promoted to Rubygems." --message "Obvious fix - no DCO required" + +# give a friendly message for the commit and make sure it's noted for any future audit of our codebase that no +# DCO sign-off is needed for this sort of PR since it contains no intellectual property +git commit --message "Bump $GEM_NAME to $VERSION" --message "This pull request was triggered automatically via Expeditor when $GEM_NAME $VERSION was promoted to Rubygems." --message "This change falls under the obvious fix so no Developer Certificate of Origin (DCO) is required." open_pull_request |