I have three use cases:

   - Git revision: When my build server finishes running tests, it deploys
   code. Since commits can occur during testing, HEAD may not necessarily be
   the revision that was tested and needs to be deployed. Previously I passed
   -S revision=<git-sha> to ensure only tested code was deployed. We used -S
   tag when deploying to production.
   - API Versioning: My API versions live on different branches of the same
   repository and are deployed to different locations. For example, v1 lives
   in the api/v1 branch and is deployed to /var/www/api-v1. In Capv2, I passed
   -S version=1 to set the version.
   - Elasticsearch Index Naming: My deployment of ES indices relies on
   knowing the index name. Since we have indices named based on our customers'
   names as well as a build number (e.g. acme_186), I need to be able to pass
   in -S customer=acme -S build_number=186.


Thanks,
Clinton

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to