-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add generated delivery configuration
- Loading branch information
1 parent
c1bdd92
commit a1f8975
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"version": "2", | ||
"build_cookbook": { | ||
"name": "build_cookbook", | ||
"path": ".delivery/build_cookbook" | ||
}, | ||
"skip_phases": [], | ||
"build_nodes": {}, | ||
"dependencies": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Delivery Prototype for Local Phases Execution | ||
# | ||
# The purpose of this file is to prototype a new way to execute | ||
# phases locally on your workstation. The delivery-cli will read | ||
# this file and execute the command(s) that are configured for | ||
# each phase. You can customize them by just modifying the phase | ||
# key on this file. | ||
# | ||
# By default these phases are configured for Cookbook Workflow only | ||
# | ||
# As this is still a prototype we are not modifying the current | ||
# config.json file and it will continue working as usual. | ||
|
||
[local_phases] | ||
unit = "rspec spec/" | ||
lint = "cookstyle" | ||
# Foodcritic includes rules only appropriate for community cookbooks | ||
# uploaded to Supermarket. We turn off any rules tagged "supermarket" | ||
# by default. If you plan to share this cookbook you should remove | ||
# '-t ~supermarket' below to enable supermarket rules. | ||
syntax = "foodcritic . --exclude spec -f any -t ~supermarket" | ||
provision = "chef exec kitchen create" | ||
deploy = "chef exec kitchen converge" | ||
smoke = "chef exec kitchen verify" | ||
cleanup = "chef exec kitchen destroy" |