From a1f8975f27118baf2e577b2840a827551683abc1 Mon Sep 17 00:00:00 2001 From: Byron Schaller Date: Sun, 11 Dec 2016 14:30:44 -0500 Subject: [PATCH] Add generated delivery configuration --- .delivery/config.json | 10 ++++++++++ .delivery/project.toml | 25 +++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .delivery/config.json create mode 100644 .delivery/project.toml diff --git a/.delivery/config.json b/.delivery/config.json new file mode 100644 index 0000000..f8e280f --- /dev/null +++ b/.delivery/config.json @@ -0,0 +1,10 @@ +{ + "version": "2", + "build_cookbook": { + "name": "build_cookbook", + "path": ".delivery/build_cookbook" + }, + "skip_phases": [], + "build_nodes": {}, + "dependencies": [] +} diff --git a/.delivery/project.toml b/.delivery/project.toml new file mode 100644 index 0000000..ac93ca8 --- /dev/null +++ b/.delivery/project.toml @@ -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"