summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Duffield <tom@chef.io>2021-07-02 08:13:57 -0500
committerGitHub <noreply@github.com>2021-07-02 08:13:57 -0500
commit08e46438194b1bbd3aaf2a9eacac0df91f1a1d8a (patch)
tree371f6f1c6f67acbe5ce0ce72115ae59278ceba50
parent0b01c1b4cb15e9b60337e5a29e93af1ad502027b (diff)
parent82aaa8950203a089796865cf25447a33ba446345 (diff)
downloadohai-15-stable.tar.gz
Merge pull request #1677 from chef/15stable/update-expeditor-configuration15-stable
Updating expeditor configurations
-rw-r--r--.expeditor/config.yml57
1 files changed, 30 insertions, 27 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index a077c467..405c0e3f 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -20,37 +20,40 @@ github:
# allow bumping the major release via label
major_bump_labels:
- "Expeditor: Bump Version Major"
- # 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: 16.*
- - 15-stable:
- version_constraint: 15.*
+
+# 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: 16.*
+ - 15-stable:
+ version_constraint: 15.*
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: Skip Changelog"
- - "Expeditor: Skip All"
- - built_in:build_gem:
- only_if: built_in:bump_version
-
-promote:
- actions:
- - built_in:rollover_changelog
- - built_in:publish_rubygems
+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
pipelines:
- verify: