dpl 1.5.2.travis.184.2 → 1.5.2.travis.187.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +160 -7
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjZiN2QzOGEzMjNhMWI2ODdjODA3MjU2NTU5MzYyYjBiOWUyODYzNA==
4
+ OTg1ZmZjYWE4N2RmYWE4YzI4NjE5MGNiZWQyZjQyNTllY2U1NzAzNA==
5
5
  data.tar.gz: !binary |-
6
- ZTdkZTA4NDU1YWVjODQ1MDQ5ZTE3Y2Q5NDEyMDI0Njg5YzVhODIyMA==
6
+ YTkyOWM0ZGJkZjlhYWZhOWJhMzJiYTg0MjU3NDE4ODMyNDcwYzU2Yw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZGMxMTg5ODk2YTEyMTU3NWE0MWRmZmVlNmI5NWUyNzY4NjhjNmVjYTNiMWE1
10
- OGZmNzMzNThlMjBhNTFiNjQ4YzgzNWJmZWRjZTZjYjM5YjQ1NzVlZTZiNzBk
11
- MTUxZjg0OWI0ZmFiOTA0MTRjYTUzOGQ3MjZmMjNmMGVhODc1MmE=
9
+ MWQ4ZTc0OGNhNjFkM2U0NDcxNjYyMWRhYWQzOGRhNTg0MDIxY2FiZTcwNmQ0
10
+ MTdjOTA3ZGFmNmJlZDkzNzZlODFiMmRmMmJhZTZhZWFkZjJmZjVhMDNiZjhi
11
+ YmViNjEzZWRmNGM1YjI0NDcxMmFiYjliNDA3MTk5ZmUwYzlhMmE=
12
12
  data.tar.gz: !binary |-
13
- ZjFhYWRjZWYxNDMxNGQ0ZTQzODNkZjAzODU1NWViZTU5OWIxNjQ3ZTdkM2Y3
14
- ZmI0MzllNTkwZGYzMTMwMmNkNzY4OWJkYzQ1ZjEyZmNmY2QzMzUwNDQzMzJm
15
- OTQ2NTcyMzEwMzBmMWViY2E1MTcxZGNjNGQyNzhmMjc5Y2Q0ZWQ=
13
+ YzAzMmYzOTMyYmJmZDQ5M2RkZjJhNTc4ZDc1MGNjM2JmMWQ3NjY5YWZmYjJj
14
+ NjI4ZWI3N2VlYmZmYTRjODE0NmVkMDhmYjY4YTUxNjI3Nzg3MmYyZWU1OTli
15
+ M2U3MjE3NTg4NjU2MWY2MmNiNzIzYjkxNWJjZDVmMGM4Y2FhMjQ=
data/README.md CHANGED
@@ -1,11 +1,8 @@
1
- Deploy tool made for Continuous Deployment.
1
+ # Dpl
2
+ Dpl (dee-pee-ell) is a deploy tool made for continuous deployment. Developed and used by Travis CI.
2
3
 
3
- Usage:
4
-
5
- dpl --provider=heroku --api-key=`heroku auth:token`
6
- dpl --provider=cloudControl --deployment='<application>/<deployment>' --email=<email> --password=<password>
7
-
8
- Supported providers:
4
+ ## Supported providers:
5
+ Dpl supports the following providers:
9
6
 
10
7
  * AppFog
11
8
  * Cloud Foundry
@@ -19,3 +16,159 @@ Supported providers:
19
16
  * PyPi
20
17
  * RubyGems
21
18
  * S3
19
+
20
+ ## Installation:
21
+
22
+ Dpl is published to rubygems.
23
+
24
+ * Dpl requires ruby with a version greater than 1.8.7
25
+ * To install: `gem install dpl`
26
+
27
+ ## Usage:
28
+
29
+ ###Security Warning:
30
+
31
+ Running dpl in a terminal that saves history is insecure as your password/api key will be saved as plain text by it.
32
+
33
+ ###Global Flags
34
+ * `--provider=<provider>` sets the provider you want to deploy to. Every provider has slightly different flags, which are documented in the section about your provider following.
35
+ * Dpl will deploy by default from the latest commit. Use the `--skip_cleanup` flag to deploy from the current file state. Note that many providers deploy by git and could ignore this option.
36
+
37
+
38
+ ### Heroku:
39
+
40
+ #### Options:
41
+ * **api-key**: Heroku API Key
42
+ * **strategy[git/anvil]**: Deployment strategy for Dpl. Defaults to git.
43
+ * **app**: Heroku app name. Defaults to the name of your git repo.
44
+ * **username**: heroku username. Not necessary if api-key is used. Requires git strategy.
45
+ * **password**: heroku password. Not necessary if api-key is used. Requires git strategy.
46
+
47
+ #### Git vs Anvil Deploy:
48
+ * Anvil will run the [buildpack](https://devcenter.heroku.com/articles/buildpacks) compilation step on the Travis CI VM, whereas the Git strategy will run it on a Heroku dyno, which provides the same environment the application will then run under and might be slightly faster.
49
+ * The Git strategy allows using *user* and *password* instead of *api-key*.
50
+ * When using Git, Heroku might send you an email for every deploy, as it adds a temporary SSH key to your account.
51
+
52
+ As a rule of thumb, you should switch to the Git strategy if you run into issues with Anvil or if you're using the [user-env-compile](https://devcenter.heroku.com/articles/labs-user-env-compile) plugin.
53
+
54
+ #### Examples:
55
+
56
+ dpl --provider=heroku --api-key=`heroku auth:token`
57
+ dpl --provider=heroku --username=<username> --password=<password>
58
+ dpl --provider=heroku --api-key=`heroku auth:token` --strategy=anvil --app=<application>
59
+
60
+
61
+
62
+
63
+ ### Nodejitsu:
64
+
65
+ #### Options:
66
+
67
+ * **username**: Nodejitsu Username
68
+ * **api-key**: Nodejitsu API Key
69
+
70
+ #### Examples:
71
+ dpl --provider=nodejitsu --username=<username> --api-key=<api-key>
72
+
73
+ ### Engine Yard:
74
+
75
+ #### Options:
76
+
77
+ * **api-key**: Engine Yard Api Key
78
+ * **username**: Engine Yard username. Not necessary if api-key is used. Requires git strategy.
79
+ * **password**: Engine Yard password. Not necessary if api-key is used.
80
+ * **app**: Engine Yard Application name. Defaults to git repo's name.
81
+ * **environment**: Engine Yard Application Environment. Optional.
82
+ * **migrate**: Engine Yard migration commands. Optional.
83
+
84
+ #### Examples:
85
+
86
+ dpl --provider=engineyard --api-key=<api-key>
87
+ dpl --provider=engineyard --username=<username> --password=<password> --environment=staging
88
+ dpl --provider=engineyard --api-key=<api-key> --app=<application> --migrate=`rake db:migrate`
89
+
90
+ ### Openshift:
91
+
92
+ #### Options:
93
+
94
+ * **username**: Openshift Username.
95
+ * **password**: Openshift Password.
96
+ * **domain**: Openshift Application Domain.
97
+ * **app**: Openshift Application. Defaults to git repo's name.
98
+
99
+ ####Examples:
100
+
101
+ dpl --provider=openshift --username=<username> --password=<password> --domain=<domain>
102
+ dpl --provider=openshift --username=<username> --password=<password> --domain=<domain> --app=<app>
103
+
104
+ ### cloudControl:
105
+
106
+ #### Options:
107
+
108
+ * **email**: cloudControll email.
109
+ * **password**: cloudControll password.
110
+ * **deployment**: cloudControll Deployment. Follows the format "APP_NAME/DEP_NAME".
111
+
112
+ #### Examples:
113
+
114
+ dpl --provider=cloudcontroll --email=<email> --password<password> --deployment=`APP_NAME/DEP_NAME`
115
+
116
+ ### RubyGems:
117
+
118
+ #### Options:
119
+
120
+ * **api-key**: Rubygems Api Key.
121
+
122
+ #### Examples:
123
+
124
+ dpl --provider=rubygems --api-key=<api-key>
125
+
126
+ ### PyPI:
127
+
128
+ #### Options:
129
+
130
+ * **user**: PyPI Username.
131
+ * **password**: PyPI Password.
132
+ * **server**: Optional. Only required if you want to release to a different index. Follows the form of "https://mypackageindex.com/index".
133
+
134
+ #### Examples:
135
+
136
+ dpl --provider=pypi --user=<username> --password=<password>
137
+ dpl --provider=pypi --user=<username> --password=<password> --server=`https://mypackageindex.com/index`
138
+
139
+ ### NPM:
140
+
141
+ #### Options:
142
+
143
+ * **email**: NPM email.
144
+ * **api-key**: NPM api key. Can be retrieved from your ~/.npmrc file.
145
+
146
+ #### Examples:
147
+
148
+ dpl --provider=npm --email=<email> --api-key=<api-key>
149
+
150
+ ### S3:
151
+
152
+ #### Options:
153
+
154
+ * **acess-key-id**: AWS Access Key ID. Can be obtained from [here](https://console.aws.amazon.com/iam/home?#security_credential).
155
+ * **secret-access-key**: AWS Secret Key. Can be obtained from [here](https://console.aws.amazon.com/iam/home?#security_credential).
156
+ * **bucket**: S3 Bucket.
157
+
158
+ #### Examples:
159
+
160
+ dpl --provider=s3 --access-key-id=<access-key-id> --secret-access-key=<secret-access-key> --bucket=<bucket>
161
+
162
+ ### Appfog:
163
+
164
+ #### Options:
165
+
166
+ * **email**: Appfog Email.
167
+ * **password**: Appfog Password.
168
+ * **app**: Appfog App. Defaults to git repo's name.
169
+
170
+ #### Examples:
171
+
172
+ dpl --provider=appfog --email=<email> --password=<password>
173
+ dpl --provider=appfog --email=<email> --password=<password> --app=<app>
174
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2.travis.184.2
4
+ version: 1.5.2.travis.187.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-22 00:00:00.000000000 Z
11
+ date: 2013-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec