summaryrefslogtreecommitdiff
path: root/.expeditor
diff options
context:
space:
mode:
authorSwati Keshari <skeshari@msystechnologies.com>2021-07-02 14:05:50 +0530
committerSwati Keshari <skeshari@msystechnologies.com>2021-07-02 14:05:50 +0530
commit3aabde459d23e8806b1b407d3624260a09e81f05 (patch)
treec26be8a481257fca6297e577887573655c4b21a5 /.expeditor
parente1541bc6a90caa3686139524d9c1818b77ad721a (diff)
downloadohai-3aabde459d23e8806b1b407d3624260a09e81f05.tar.gz
Updating expeditor configurations
Signed-off-by: Swati Keshari <skeshari@msystechnologies.com>
Diffstat (limited to '.expeditor')
-rw-r--r--.expeditor/config.yml61
1 files changed, 32 insertions, 29 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index be6f94ab..ec4a8eec 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -20,39 +20,42 @@ 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: 17.*
- - 16-stable:
- 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: 17.*
+ - 16-stable:
+ 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: