diff options
author | Tim Smith <tsmith@chef.io> | 2018-08-24 11:45:26 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-08-24 11:45:26 -0700 |
commit | 28303b62dc80807ee6b21ee610c81ee91050b9d5 (patch) | |
tree | 1320b7121dcf45d3bc2d3c90fa104ea236b5da64 /tasks | |
parent | a749e76cad7b89ae21ac09f03ea17272ad2ab6dd (diff) | |
download | chef-28303b62dc80807ee6b21ee610c81ee91050b9d5.tar.gz |
Update the announcement rake task with kitchen examplesannouncement
This was in DK before, but it made no sense there. This might convince some folks to test things when we cut a pre-release.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/announce.rb | 2 | ||||
-rw-r--r-- | tasks/templates/prerelease.md.erb | 9 | ||||
-rw-r--r-- | tasks/templates/release.md.erb | 8 |
3 files changed, 18 insertions, 1 deletions
diff --git a/tasks/announce.rb b/tasks/announce.rb index 0399137eb0..b6b701f04b 100644 --- a/tasks/announce.rb +++ b/tasks/announce.rb @@ -1,5 +1,5 @@ # -# Copyright:: Copyright (c) 2016 Chef Software Inc. +# Copyright:: Copyright 2016-2018, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tasks/templates/prerelease.md.erb b/tasks/templates/prerelease.md.erb index 0c5c55cffc..9e9e33bbeb 100644 --- a/tasks/templates/prerelease.md.erb +++ b/tasks/templates/prerelease.md.erb @@ -24,3 +24,12 @@ $ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v <%= @ve # In Windows Powershell . { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version <%= @version %> -channel current ``` + +If you want to give this version a spin in Test Kitchen, create or add the following to your `kitchen.yml` file: + +```yaml +provisioner: + product_name: chef + channel: current + product_version: <%= @version %> +``` diff --git a/tasks/templates/release.md.erb b/tasks/templates/release.md.erb index 2c6ff0b7c6..cad14d27df 100644 --- a/tasks/templates/release.md.erb +++ b/tasks/templates/release.md.erb @@ -24,3 +24,11 @@ $ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v <%= @ve # In Windows Powershell . { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chef -version <%= @version %> ``` + +If you want to give this version a spin in Test Kitchen, create or add the following to your `kitchen.yml` file: + +```yaml +provisioner: + product_name: chef + product_version: <%= @version %> +``` |