Skip to content

Commit a93ceca

Browse files
author
Travis CI dpl test (via Travis CI)
committed
Update master
1 parent a1fe53b commit a93ceca

File tree

1 file changed

+45
-0
lines changed
  • _includes/deploy/providers

1 file changed

+45
-0
lines changed

_includes/deploy/providers/ecr.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{% unless include.minimal == false %}
2+
For a minimal configuration, add the following to your `.travis.yml`:
3+
4+
```yaml
5+
deploy:
6+
provider: ecr
7+
access_key_id: <encrypted access_key_id>
8+
secret_access_key: <encrypted secret_access_key>
9+
source: <source>
10+
target: <target>
11+
edge: true # opt in to dpl v2
12+
```
13+
{: data-file=".travis.yml"}
14+
15+
16+
17+
{{ include.content }}
18+
{% endunless %}
19+
20+
## Status
21+
22+
Support for deployments to AWS ECR is in **alpha**. Please see [Maturity Levels](/user/deployment-v2#maturity-levels) for details.
23+
## Known options
24+
25+
Use the following options to further configure the deployment.
26+
27+
| `access_key_id` | AWS access key &mdash; **required**, **secret**, type: string |
28+
| `secret_access_key` | AWS secret access key &mdash; **required**, **secret**, type: string |
29+
| `account_id` | AWS Account ID &mdash; type: string, note: Required if the repository is owned by a different account than the IAM user |
30+
| `source` | Image to push &mdash; **required**, type: string, note: can be the id or the name and optional tag (e.g. mysql:5.6) |
31+
| `target` | Comma separated list of partial repository names to push to &mdash; **required**, type: string |
32+
| `region` | Comma separated list of regions to push to &mdash; type: string, default: `us-east-1` |
33+
34+
### Shared options
35+
36+
| `cleanup` | Clean up build artifacts from the Git working directory before the deployment &mdash; type: boolean |
37+
| `run` | Commands to execute after the deployment finished successfully &mdash; type: string or array of strings |
38+
39+
## Environment variables
40+
41+
All options can be given as environment variables if prefixed with `AWS_`.
42+
43+
For example, `access_key_id` can be given as `AWS_ACCESS_KEY_ID=<access_key_id>`.
44+
45+
{% include deploy/secrets.md name="access_key_id" env_name="AWS_ACCESS_KEY_ID" %}

0 commit comments

Comments
 (0)