Skip to content

Commit d703858

Browse files
DPL v2 update (#3415)
* Rewrite deployment opt in section * feat: set dpl v2 as a default version * fix: correct formatting * style: improve code layout
1 parent a3e3a6f commit d703858

31 files changed

+131
-105
lines changed

_includes/deploy/opt_in.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
1-
## How to opt in to v2
1+
## How to opt in to different deployment tooling versions
22

3-
In order to use version `v2` of our deployment tooling, please add the
3+
In order to use different version of our deployment tooling, please add the
44
following to your `.travis.yml`:
55

66
```yaml
77
deploy:
88
provider: <provider>
99
#
10+
dpl_version: <version> # Optional, defaults to the latest stable version
11+
```
12+
if you want to use the latest edge version of the deployment tooling:
13+
14+
```yaml
15+
deploy:
16+
provider: <provider>
17+
#
18+
edge: true
19+
```
20+
if you want to use other edge version of the deployment tooling:
21+
22+
```yaml
23+
deploy:
24+
provider: <provider>
25+
#
26+
dpl_version: <version.beta>
1027
edge: true
1128
```
29+
1230
{: data-file=".travis.yml"}

_includes/deploy/providers/anynines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ All options can be given as environment variables if prefixed with `ANYNINES_`.
4343

4444
For example, `password` can be given as `ANYNINES_PASSWORD=<password>`.
4545

46-
{% include deploy/secrets.md name="password" env_name="ANYNINES_PASSWORD" %}
46+
{% include deploy/secrets.md name="password" env_name="ANYNINES_PASSWORD" %}

_includes/deploy/providers/bintray.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ deploy:
1818
1919
## Status
2020
21-
Support for deployments to Bintray is *stable**.
21+
Support for deployments to Bintray is **stable**.
2222
## Known options
2323
2424
Use the following options to further configure the deployment.
@@ -39,4 +39,4 @@ All options can be given as environment variables if prefixed with `BINTRAY_`.
3939

4040
For example, `key` can be given as `BINTRAY_KEY=<key>`.
4141

42-
{% include deploy/secrets.md name="key" env_name="BINTRAY_KEY" %}
42+
{% include deploy/secrets.md name="key" env_name="BINTRAY_KEY" %}

_includes/deploy/providers/bluemixcloudfoundry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ deploy:
1919
2020
## Status
2121
22-
Support for deployments to Bluemix Cloud Foundry is *stable**.
22+
Support for deployments to Bluemix Cloud Foundry is **stable**.
2323
## Known options
2424
2525
Use the following options to further configure the deployment.
@@ -46,4 +46,4 @@ All options can be given as environment variables if prefixed with `CLOUDFOUNDRY
4646

4747
For example, `password` can be given as `CLOUDFOUNDRY_PASSWORD=<password>`.
4848

49-
{% include deploy/secrets.md name="password" env_name="CLOUDFOUNDRY_PASSWORD" %}
49+
{% include deploy/secrets.md name="password" env_name="CLOUDFOUNDRY_PASSWORD" %}

_includes/deploy/providers/cargo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ deploy:
1616
1717
## Status
1818
19-
Support for deployments to Cargo is *stable**.
19+
Support for deployments to Cargo is **stable**.
2020
## Known options
2121
2222
Use the following options to further configure the deployment.
@@ -35,4 +35,4 @@ All options can be given as environment variables if prefixed with `CARGO_`.
3535

3636
For example, `token` can be given as `CARGO_TOKEN=<token>`.
3737

38-
{% include deploy/secrets.md name="token" env_name="CARGO_TOKEN" %}
38+
{% include deploy/secrets.md name="token" env_name="CARGO_TOKEN" %}

_includes/deploy/providers/cloudformation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ deploy:
1919
2020
## Status
2121
22-
Support for deployments to AWS CloudFormation is *stable**.
22+
Support for deployments to AWS CloudFormation is **stable**.
2323
## Known options
2424
2525
Use the following options to further configure the deployment.
@@ -49,9 +49,9 @@ Use the following options to further configure the deployment.
4949

5050
All options can be given as environment variables if prefixed with `AWS_` or `CLOUDFORMATION_`.
5151

52-
For example, `access_key_id` can be given as
52+
For example, `access_key_id` can be given as
5353

54-
* `AWS_ACCESS_KEY_ID=<access_key_id>` or
54+
* `AWS_ACCESS_KEY_ID=<access_key_id>` or
5555
* `CLOUDFORMATION_ACCESS_KEY_ID=<access_key_id>`
5656

57-
{% include deploy/secrets.md name="access_key_id" env_name="AWS_ACCESS_KEY_ID" %}
57+
{% include deploy/secrets.md name="access_key_id" env_name="AWS_ACCESS_KEY_ID" %}

_includes/deploy/providers/cloudfoundry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ deploy:
1919
2020
## Status
2121
22-
Support for deployments to Cloud Foundry is *stable**.
22+
Support for deployments to Cloud Foundry is **stable**.
2323
## Known options
2424
2525
Use the following options to further configure the deployment.
@@ -47,4 +47,4 @@ All options can be given as environment variables if prefixed with `CLOUDFOUNDRY
4747

4848
For example, `password` can be given as `CLOUDFOUNDRY_PASSWORD=<password>`.
4949

50-
{% include deploy/secrets.md name="password" env_name="CLOUDFOUNDRY_PASSWORD" %}
50+
{% include deploy/secrets.md name="password" env_name="CLOUDFOUNDRY_PASSWORD" %}

_includes/deploy/providers/codedeploy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ deploy:
1818
1919
## Status
2020
21-
Support for deployments to AWS Code Deploy is *stable**.
21+
Support for deployments to AWS Code Deploy is **stable**.
2222
## Known options
2323
2424
Use the following options to further configure the deployment.
@@ -48,9 +48,9 @@ Use the following options to further configure the deployment.
4848

4949
All options can be given as environment variables if prefixed with `AWS_` or `CODEDEPLOY_`.
5050

51-
For example, `access_key_id` can be given as
51+
For example, `access_key_id` can be given as
5252

53-
* `AWS_ACCESS_KEY_ID=<access_key_id>` or
53+
* `AWS_ACCESS_KEY_ID=<access_key_id>` or
5454
* `CODEDEPLOY_ACCESS_KEY_ID=<access_key_id>`
5555
## Interpolation variables
5656

@@ -86,4 +86,4 @@ For example: "Current build number: ${TRAVIS_BUILD_NUMBER}".
8686
See [here](/user/environment-variables/#default-environment-variables)
8787
for a list of default environment variables set.
8888

89-
{% include deploy/secrets.md name="access_key_id" env_name="AWS_ACCESS_KEY_ID" %}
89+
{% include deploy/secrets.md name="access_key_id" env_name="AWS_ACCESS_KEY_ID" %}

_includes/deploy/providers/elasticbeanstalk.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ deploy:
1818
1919
## Status
2020
21-
Support for deployments to AWS Elastic Beanstalk is *stable**.
21+
Support for deployments to AWS Elastic Beanstalk is **stable**.
2222
## Known options
2323
2424
Use the following options to further configure the deployment.
@@ -45,9 +45,9 @@ Use the following options to further configure the deployment.
4545

4646
All options can be given as environment variables if prefixed with `AWS_` or `ELASTIC_BEANSTALK_`.
4747

48-
For example, `access_key_id` can be given as
48+
For example, `access_key_id` can be given as
4949

50-
* `AWS_ACCESS_KEY_ID=<access_key_id>` or
50+
* `AWS_ACCESS_KEY_ID=<access_key_id>` or
5151
* `ELASTIC_BEANSTALK_ACCESS_KEY_ID=<access_key_id>`
5252

53-
{% include deploy/secrets.md name="access_key_id" env_name="AWS_ACCESS_KEY_ID" %}
53+
{% include deploy/secrets.md name="access_key_id" env_name="AWS_ACCESS_KEY_ID" %}

_includes/deploy/providers/firebase.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ deploy:
1616
1717
## Status
1818
19-
Support for deployments to Firebase is *stable**.
19+
Support for deployments to Firebase is **stable**.
2020
## Known options
2121
2222
Use the following options to further configure the deployment.
@@ -38,4 +38,4 @@ All options can be given as environment variables if prefixed with `FIREBASE_`.
3838

3939
For example, `token` can be given as `FIREBASE_TOKEN=<token>`.
4040

41-
{% include deploy/secrets.md name="token" env_name="FIREBASE_TOKEN" %}
41+
{% include deploy/secrets.md name="token" env_name="FIREBASE_TOKEN" %}

0 commit comments

Comments
 (0)