summaryrefslogtreecommitdiff
path: root/cucumber.yml
diff options
context:
space:
mode:
authorAJ Christensen <aj@junglist.gen.nz>2009-09-16 07:42:14 +1200
committerAJ Christensen <aj@junglist.gen.nz>2009-09-16 07:42:14 +1200
commitb86c5b063f6544b3767abec03ce0509aaa8c372b (patch)
treed0eb3f2f44bcda848adfb22fa8f0acc5287b31b7 /cucumber.yml
parent31456f5b12e540d504c981fc9cbe34bd9cb0788a (diff)
downloadchef-b86c5b063f6544b3767abec03ce0509aaa8c372b.tar.gz
CHEF-526: Chef Deploy support
Squashed commit of the following: commit 9613037fd2cca28280bccc8254ec06974551d6b3 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 10 20:34:54 2009 -0600 injecting into an array is just silly commit efecfd6b26029bf6a74c8b203b0240cec28486ce Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 10 20:22:53 2009 -0600 deploy cuke clones from a source that can be expected to exist :) commit 2a0fc82344bf0f459c46886b6eac3bbd2c3901b0 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 10 17:34:00 2009 -0600 deploy cuke: test that database.yml is copied from releases to current commit f664bb0f88a5ce7d33519d591998fef9bf8fcccd Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 10 07:38:11 2009 -0600 check that the restart action was executed in deploy cuke commit 459308f6cbc14338717ea409e8dbbbebf9b6793f Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 10 00:01:42 2009 -0600 more thorough cuke for deploying a rails app with db:migrate commit d8bbcaa02e6b5b6e55a0ab1572c53fb8d4cc9aed Author: Dan DeLeo <danielsdeleo@mac.com> Date: Wed Sep 9 23:56:39 2009 -0600 fix bug where migrate would fail if environment was nil commit 9d8d8dcf4a7faba01842efade524b88fc14751bd Author: Dan DeLeo <danielsdeleo@mac.com> Date: Wed Sep 9 20:16:15 2009 -0600 cukes for re-deploy and rollback commit 7caaf6dd2846799cda00f71271f9b9326fd3dd51 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Wed Sep 9 19:27:36 2009 -0600 a Cuke for deploying commit cf441f98d490ea44fde5d79901efcb714f2eab0a Author: Dan DeLeo <danielsdeleo@mac.com> Date: Wed Sep 9 17:59:16 2009 -0600 Cuke for git resource/provider: clone thyself commit 898231fca0bde5a0e48545ed0391471ae4cbee0c Author: Dan DeLeo <danielsdeleo@mac.com> Date: Tue Sep 8 20:16:55 2009 -0600 need to check for the .svn directory to determine if theres a working cp commit 4de025bc3ad018a06b5daccb65427026a31d30b1 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Tue Sep 8 20:03:05 2009 -0600 log (info) when removing old releases commit 67e34a5c5c271e92044a4b28a6fefed900b455d5 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Tue Sep 8 19:58:20 2009 -0600 deploy resource need svn_arguments to quack like a svn resource commit c671a85dd8f0b2da6e123438c45ea915b7dc2b0e Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 22:24:37 2009 -0600 remove stubs for diff and log actions they're of questionable value w/ chef These features weren't accessible in chef-deploy, though their implementations were brought over from cap. But they aren't of much use without a 2-way communication channel between the chef-server and -client anyway. commit a51c23f64ea021961a9326882f84de79fa887729 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 20:42:55 2009 -0600 better logging for subversion commit 1a23413090870ac5f191c499eaa4bfb4cc5a2588 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 20:04:30 2009 -0600 use run_command properly commit 637015de3b3fc930e9680124d2ca73e6872daf5e Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 19:52:51 2009 -0600 set subversion's and git's resource names commit baad186507e38bf94066824dfb7f8f2e70e4f43c Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 18:34:42 2009 -0600 helpful error for action_rollback when there's no release to rollback to commit 121f8d973c3057698397ba3ea789270fcdf77b8e Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 15:22:51 2009 -0600 More backwards compat magic. @configuration[:environment] is a string (or nil) commit 838dc4e0e794bfeb3b26e57fd6571e7e78a76d64 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 14:10:07 2009 -0600 prettier log output for environment variables commit 27206f67796bd7d019bcc27af715e90b6218b183 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 13:48:58 2009 -0600 explain the use of @configuration in Provider::Deploy commit c01574851ecdda02d55ed1081f607d158657931a Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 13:46:44 2009 -0600 convert deploy resource to a hash and set as @configuration for cap compat commit 3e83cd8c2178910bb07ab0339d0f16fb817d2bb7 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 13:46:00 2009 -0600 tweak the logging for string environments commit bb02b1bd3560513cc408c9c08bef9a6636110031 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 13:44:31 2009 -0600 sha_hash isn't a constant cause that gives ugly warnings, privatize methods commit 2dd5924b2cd533e06f55bf4c883d474ddda65d72 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 13:33:10 2009 -0600 Add Resource#to_hash with symbolic keys commit 17191c44906cc07d3798f922a31910a178b2c93b Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 12:49:18 2009 -0600 Deploy resource needs to accept a string for environment for compatibility commit 3766900dede0721905dcca8b29fb1f2ea3659e5b Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 12:27:50 2009 -0600 Refactor Git provider implementation and add proper logging commit 99c483a6c26384eb0f27485b64fc207bf985052d Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 10:43:22 2009 -0600 set the correct ivar for Resource::Deploy#current_path commit 75fad9eae7417b72bc5663d69161fb994407dfaa Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 01:49:48 2009 -0600 better logging messages commit 0d497379aab8451c1bca8f3e077796e69d7916b5 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 01:15:47 2009 -0600 using #inspect on an attribute produces absurd output commit 7474a3c06d97fb5f200e542b3324f99a7aafb0bb Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 01:10:48 2009 -0600 make sure the release dir exists before copying the release to it commit 4c08f83a02441030427ad5a477cfd661437c8aff Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 01:04:43 2009 -0600 enforce ownership before trying to clone or sync repo commit 28591bfdf591939251c0577beea6f5a80d554fcb Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 00:47:57 2009 -0600 git_ssh_wrapper <-> ssh_wrapper to look like a duck commit 4610c3decfd952846ac7340382d6daf43cddea53 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 00:44:48 2009 -0600 alias repo as repository for more duck quacking goodness commit 2e9bdc658e853199abefea911c3bba59cbc4517c Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 00:41:09 2009 -0600 also need to respond to depth to quack like a scm resource commit b59e257f7daf00c98128807e2e2fc9a0c5b8b4ef Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 00:36:05 2009 -0600 Deploy resource needs a remote attr to quack like a git resource commit b79c28722091a9f154aea12e847c31f3864632ab Author: Dan DeLeo <danielsdeleo@mac.com> Date: Mon Sep 7 00:27:04 2009 -0600 set the provider to Chef::Provider::Deploy commit 587b7396a46f7d4f4d7ce054d2b1a6382c709e25 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sun Sep 6 22:48:01 2009 -0600 stub for provider Deploy#load_current_resource to meet required API commit 9c71c19e7cb33f0dd97ead4d752d0f40b37be2f1 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sun Sep 6 21:18:21 2009 -0600 completed rollback action for the deploy provider commit dc3ba9000dd38b5efc9387c6246ee4ec17259c8c Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sun Sep 6 16:53:10 2009 -0600 completed the deploy action for the deploy provider commit 5e22f8fd55d9fcd544f69e5ed3d4bed664e703b0 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sun Sep 6 16:52:49 2009 -0600 cleaner syntax using run_options as a method commit 3fca61fae1a24b09faa8e072637599fdd0660126 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sun Sep 6 15:41:11 2009 -0600 Deploy resource calculates the current deployment path commit 4faf562b844a7e939d5c8f59327ad2411b26e2f8 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sun Sep 6 12:41:37 2009 -0600 Deploy provider is a port of ezra's chef-deploy commit b4f73ba5aca2bd10b49aecfb75bb7e8900cdd3a6 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sun Sep 6 12:28:07 2009 -0600 deploy resource looks like scm resource so it can be used a scm provider hooray duck typing! commit 3fa37b8b13ed4ea6e11af39672bc2b973bc582ce Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 17:56:53 2009 -0600 set environment variables for deploy via a hash commit 20655fe66969196cc45894c14938701042ed4193 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 17:22:09 2009 -0600 added attributes for scm_provider and force_deploy commit d13c0bc20be501a5bb2cc4854cc86010a94e5da8 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 17:10:35 2009 -0600 rm commented code commit c466e9f36142240ec8a11eeda3e3554819d16628 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 14:50:08 2009 -0600 SVN provider uses Command.output_of_command commit 7789a4a466c472b53379055db85ec7b3fc8f2c86 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 14:35:20 2009 -0600 modify git provider to use Command.output_of_command and handle failures commit 67e2fb7e7df2b872aceaff735d0676a9c97fd8d5 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 14:33:43 2009 -0600 extract status,stdout,stderr=output_of_command() from run_command() commit 4ea80cc70d08c556a70f4c89dd8c78c27976b895 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 13:45:54 2009 -0600 Extract command failure handling into its own method I need to use the command failure code elsewhere commit 3fb84f913ceee2193543da6e8175bfb4dbebe327 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 13:45:01 2009 -0600 make it easier to learn about SCM resource by reading the specs commit 2b247e99bc02f944390245631ff777c89a5ad173 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 13:04:30 2009 -0600 modify SCM resources to accommodate Chef's "reverse-Liskov" policy That is to say, for resources, the superclass is expected to be usable through the subclass' interface and the subclass is just a convenience wrapper. commit 5f7c61ece72161cc63802d62484b5ad456a98b3a Author: Dan DeLeo <danielsdeleo@mac.com> Date: Sat Sep 5 12:01:05 2009 -0600 begin port of ezra's deploy resource commit 7a8dabc8cf6f9630b9648da6312d32aa9752f45e Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 22:34:40 2009 -0600 SVN provider runs action_checkout, action_sync, and :action_export commit 9510109c3220c2df4b832e8c9c71dad5e09fe66b Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 22:17:44 2009 -0600 if a checkout is needed when running sync, don't also run the sync commit a32100aee3596b05e2a6322799e7f385706f14e5 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 18:55:03 2009 -0600 SVN provider generates the commands to run ...but doesn't yet have them wired to actions commit 372c45406fc424785e51af4a3c9c078c3524ec9d Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 15:28:22 2009 -0600 SVN provider loads current resource & resolves revision via server query commit cf17d2695b2ae7127ac67af0bf61f61462063f22 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 15:11:42 2009 -0600 fix a wtf non-test in the specs commit 27afcc17c574e7a8dee99287bb9020530fe04051 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 14:54:28 2009 -0600 subversion provider has stubs for actions, can determine revision of current repo commit 8dc9e4970d81959a0827cb068e4180d8cc1ac304 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 14:52:42 2009 -0600 revise spec example string to match reality commit ad75499c928c655f2cf98e75b21aa8eeedad29f9 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 12:04:08 2009 -0600 SVN resource lookin' good commit fbf99496232ca4bd4992c8d8ae2154954907ee94 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 11:51:26 2009 -0600 all SCMs must support :checkout,:export,:sync,:log, and :diff actions commit a3bc7e8ab4eabd244bdaa83464f884da9f9128a9 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 11:44:01 2009 -0600 slightly simpler remote reference resolution commit e80a586c6b40473d90a2145ef96e41f265aff450 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 11:37:38 2009 -0600 simplify the aliasing of revision => branch, reference commit 75dd4059b1143bf3e10d28a150c5e4af4cb5ec28 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 11:18:48 2009 -0600 for git, treat branch, revision, and reference as interchangeable Discussion: however you specify what code you want from the repo, it is always resolved to a particular commit's SHA1 via git ls-remote. This is especially confusing in the chef-deploy code: because it originally used subversion only, the different variations of these terms are used throughout the code in a way that they appear to mean different things. commit adde2749b7c77eda1d8d3e5b2c4d9c6d8b6dd6e6 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 09:56:31 2009 -0600 Subversion provider and resource stubs commit fef08c68403f0ecd33f13ec7e7eb39700beb43d7 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 09:47:58 2009 -0600 move the deploy user attr up to Scm resource--svn also uses it commit 35548f160714c287421892258fe3caa366dd7c91 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 09:44:08 2009 -0600 move svn hints comment to subversion_spec commit 95214df0e67de7a5780af25337dd6ed7a2c77015 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Fri Sep 4 09:31:32 2009 -0600 query revision is more of an internal thing (for now at least) commit 8e1fc7a858fa8bfa9c5cb95525e1e39eb7840d2c Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 23:05:10 2009 -0600 Fix author attribution and remove unneeded comments commit d0b362502f02dab4a8104534f89cd0d13f3320d2 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 21:59:33 2009 -0600 pass git user and env (GIT_SSH) options to run_command and popen4 commit 772eb25f96455aa036c9ab7dcbe8db988e335cba Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 21:40:36 2009 -0600 git resource can specify the user to run as commit 91a911f0426aa034d1cc7957776fe8993320a24f Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 21:07:47 2009 -0600 Must also run checkout with sync if deploy dir exists but is empty commit d4160cdae1fb446a883194c0d523595f832312b6 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 20:40:09 2009 -0600 Provider::Git#action_sync implies a checkout if the deploy dir doesn't exist commit edce733112073361b62c7efbbf0bd84c9bea019e Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 19:42:59 2009 -0600 implement #current_resource for Git provider commit d009c6868ebd9f6b8931d7e0d0dda231ff8a5af0 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 15:12:52 2009 -0600 initial dev of checkout, sync, and export actions completed commit a5117ed670763bfa78de7ef2138f0f9e2d6a5204 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 14:28:27 2009 -0600 use provider action naming convention correctly, compile sync command strings commit 05a40480f48b4df8a13c9c0cc475a875ba70f970 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 13:09:35 2009 -0600 merged revision resolver into git provider commit e552bb7d5f77360dad6e2cd91ff0df2848a214ec Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 00:10:43 2009 -0600 Git provider, mostly a stub but has checkout option. commit 296231393af609e258e13c35100e0417ebba1213 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Thu Sep 3 00:04:15 2009 -0600 SCM resources need to specify the revision commit d4560c7bf798bb8be58ef74704ccd800a8261dd8 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Wed Sep 2 23:45:23 2009 -0600 allow recipes to set the ssh wrapper commit b98bd32fe08f5afb231297d3fc7909f777aeb0ed Author: Dan DeLeo <danielsdeleo@mac.com> Date: Wed Sep 2 23:22:01 2009 -0600 git resource, uses git provider (which only minimally exists so far) commit ca09ea9f4edf00925fbdad3000a7bbb0f385d257 Author: Dan DeLeo <danielsdeleo@mac.com> Date: Wed Sep 2 23:17:21 2009 -0600 base scm class upon which git and svn resources can be built commit 958a383a601d48231a30b08bd7162d7dbe359abe Author: Dan DeLeo <danielsdeleo@mac.com> Date: Wed Sep 2 20:38:08 2009 -0600 create stubs for git provider and its spec ...but this will be easier if I start with the SCM resource.
Diffstat (limited to 'cucumber.yml')
-rw-r--r--cucumber.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cucumber.yml b/cucumber.yml
index 8a83c173e5..8e40ae2829 100644
--- a/cucumber.yml
+++ b/cucumber.yml
@@ -18,6 +18,7 @@ search: --tags search --format pretty -r features/steps -r features/support feat
language: --tags language --format pretty -r features/steps -r features/support features
recipe_inclusion: --tags recipe_inclusion --format pretty -r features/steps -r features/support features
provider_remote_file: --tags provider,remote_file --format pretty -r features/steps -r features/support features
+provider_git: --tags provider,git --format pretty -r features/steps -r features/support features
provider_template: --tags template --format pretty -r features/steps -r features/support features
provider_package_macports: --tags macports --format pretty -r features/steps -r features/support features