diff options
author | Tim Smith <tsmith@chef.io> | 2018-08-24 12:21:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 12:21:46 -0700 |
commit | fffe72ac0dc43e0f226165615a630f42fabbf970 (patch) | |
tree | bbe8a1ac6754e3d3a134af3a82dbaffd9f0728ea | |
parent | 5d59c41f1d7697d45678276ef010179a9c0d3f6f (diff) | |
parent | 28303b62dc80807ee6b21ee610c81ee91050b9d5 (diff) | |
download | chef-fffe72ac0dc43e0f226165615a630f42fabbf970.tar.gz |
Merge pull request #7583 from chef/announcement
Update the announcement rake task with kitchen examples
-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 %> +``` |