· 9 years ago · Dec 16, 2016, 05:20 PM
1version: 1
2
3name: Amazon S3
4logo: amazon_s3.svg
5tags: [ aws, amazon, s3 ]
6license: apache2
7author: bradyrdzewski
8image: plugins/s3
9
10description: |
11 The S3 plugin uploads files and build artifacts to your S3 bucket.
12
13settings:
14 endpoint: custom endpoint URL
15 access_key: amazon key
16 secret_key: amazon secret key
17 bucket: bucket name
18 region: bucket region
19 acl: access to files that are uploaded
20 source: source location of the files, using a glob matching pattern
21 target: target location of files in the bucket
22 encryption: if provided, use server-side encryption
23 strip_prefix: strip the prefix from source path
24 exclude: glob exclusion patterns
25 path_style: whether path style URLs should be used (true for minio)
26
27environment:
28 AWS_ACCESS_KEY_ID: amazon key
29 AWS_SECRET_ACCESS_KEY: amazon secret key
30
31example: |
32 pipeline:
33 s3:
34 image: plugins/s3
35 bucket: my-bucket-name
36 access_key: a50d28f4dd477bc184fbd10b376de753
37 secret_key: bc5785d3ece6a9cdefa42eb99b58986f9095ff1c
38 source: public/**/*
39 target: /target/location
40
41examples:
42 - desc: Override the default acl and region:
43 code: >
44 pipeline:
45 s3:
46 image: plugins/s3
47 bucket: my-bucket-name
48 + acl: public-read
49 + region: us-east-1
50 source: public/**/*
51 target: /target/location
52
53 - desc: Override the default acl and region:
54 code: >
55 pipeline:
56 s3:
57 image: plugins/s3
58 bucket: my-bucket-name
59 source: public/**/*
60 target: /target/location
61 + strip_prefix: public/
62
63 - desc: Override the default acl and region:
64 code: >
65 pipeline:
66 s3:
67 image: plugins/s3
68 bucket: my-bucket-name
69 source: public/**/*
70 target: /target/location
71 + exclude:
72 + - **/*.xml
73
74---
75
76description:
77 en: The S3 plugin uploads files and build artifacts to your S3 bucket.
78 fr: The S3 plugin uploads files and build artifacts to your S3 bucket.
79 ko: The S3 plugin uploads files and build artifacts to your S3 bucket.
80
81settings:
82 endpoint:
83 en: custom endpoint URL
84 fr: custom endpoint URL
85 ko: custom endpoint URL
86 access_key:
87 en: amazon key
88 fr: amazon key
89 ko: amazon key
90
91examples:
92 - desc:
93 en: Override the default acl and region
94 fr: Override the default acl and region
95 ko: Override the default acl and region