From 38473047379e8afb8e47d2b0674ce1fe51dc1c25 Mon Sep 17 00:00:00 2001 From: Swati Keshari Date: Fri, 2 Jul 2021 14:23:33 +0530 Subject: Updating expeditor configurations Signed-off-by: Swati Keshari --- .expeditor/config.yml | 57 +++++++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 286bfcc8..f58202d8 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: 15.* - - 14-stable: - version_constraint: 14.* + +# 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.* + - 14-stable: + version_constraint: 14.* 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: -- cgit v1.2.1