summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Duffield <tom@chef.io>2018-09-17 12:43:58 -0500
committerTom Duffield <tom@chef.io>2018-09-17 12:43:58 -0500
commit022be641040e0e518bad42dcd98dc180a13c5cf1 (patch)
tree227755c98e8247fc2546c3804e609d3aab8473c6
parent7eb2bfefbc4b138b5b8ce19239ebf70f83de8ca9 (diff)
downloadchef-tduffield/expeditor-template-variables.tar.gz
[Expeditor] Use new template variables in .expeditor/config.ymltduffield/expeditor-template-variables
You can now use `{{version_constraint}}` to reference the version constraint for your release branch. https://expeditor.chef.io/docs/getting-started/subscriptions/#subscription-template-variables Signed-off-by: Tom Duffield <tom@chef.io>
-rw-r--r--.expeditor/config.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index 061694fb25..9074e29a7f 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -40,9 +40,9 @@ github:
# for building.
release_branch:
- master:
- version_constraint: 14.*
+ version_constraint: 14*
- chef-13:
- version_constraint: 13.*
+ version_constraint: 13*
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
merge_actions:
@@ -68,13 +68,13 @@ merge_actions:
only_if: built_in:bump_version
subscriptions:
- - workload: artifact_published:unstable:chef:14*
+ - workload: artifact_published:unstable:chef:{{version_constraint}}
actions:
- built_in:build_docker_image
- - workload: artifact_published:current:chef:14*
+ - workload: artifact_published:current:chef:{{version_constraint}}
actions:
- built_in:tag_docker_image
- - workload: artifact_published:stable:chef:14*
+ - workload: artifact_published:stable:chef:{{version_constraint}}
actions:
- built_in:rollover_changelog
- bash:.expeditor/update_dockerfile.sh