summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwati Keshari <skeshari@msystechnologies.com>2021-06-23 17:31:54 +0530
committerSwati Keshari <skeshari@msystechnologies.com>2021-06-23 17:31:54 +0530
commit14a1a7e3637d90fe2609d08727856a28f8e2b149 (patch)
tree4bc0dd22b011d66dcd981977f34c18a7a11082db
parentafbc9bc90ed4a601a4233f9dab40101636a61fa8 (diff)
downloadchef-14a1a7e3637d90fe2609d08727856a28f8e2b149.tar.gz
Updating expeditor configurations
Signed-off-by: Swati Keshari <skeshari@msystechnologies.com>
-rw-r--r--.expeditor/config.yml55
1 files changed, 28 insertions, 27 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index c19e0e222d..2ed24fbc7a 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -38,34 +38,17 @@ github:
# allow bumping the minor release via label
minor_bump_labels:
- "Expeditor: Bump Minor Version"
- # Which Github branches to build Omnibus releases from, and what versions
- # (as determined by the value in the VERSION file) those branches are responsible
- # for building.
- release_branch:
- - master:
- version_constraint: 15*
- - chef-14:
- version_constraint: 14*
- - chef-13:
- version_constraint: 13*
-# These actions are taken, in order they are specified, anytime a PR is merged.
-merge_actions:
- - built_in:bump_version:
- ignore_labels:
- - "Expeditor: Skip Version Bump"
- - "Expeditor: Skip All"
- - bash:.expeditor/update_version.sh@chef/chef@master:
- only_if: built_in:bump_version
- - built_in:update_changelog:
- ignore_labels:
- - "Expeditor: Exclude From Changelog"
- - "Expeditor: Skip All"
- - built_in:trigger_omnibus_release_build:
- ignore_labels:
- - "Expeditor: Skip Build"
- - "Expeditor: Skip All"
- only_if: built_in:bump_version
+# Which Github branches to build Omnibus releases from, and what versions
+# (as determined by the value in the VERSION file) those branches are responsible
+# for building.
+release_branches:
+ - master:
+ version_constraint: 15*
+ - chef-14:
+ version_constraint: 14*
+ - chef-13:
+ version_constraint: 13*
subscriptions:
- workload: artifact_published:unstable:chef:{{version_constraint}}
@@ -81,3 +64,21 @@ subscriptions:
- built_in:tag_docker_image
- built_in:publish_rubygems
- built_in:notify_chefio_slack_channels
+ # These actions are taken, in order they are specified, anytime a PR 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@chef/chef@master:
+ only_if: built_in:bump_version
+ - built_in:update_changelog:
+ ignore_labels:
+ - "Expeditor: Exclude From Changelog"
+ - "Expeditor: Skip All"
+ - built_in:trigger_omnibus_release_build:
+ ignore_labels:
+ - "Expeditor: Skip Build"
+ - "Expeditor: Skip All"
+ only_if: built_in:bump_version