forked from peakon/s3-cache-buildkite-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.yml
58 lines (57 loc) · 1.08 KB
/
plugin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: AWS S3 cache plugin
description: Save / restore cache to / from AWS S3 bucket
author: https://github.com/peakon
requirements:
- aws
- tar
- awk
- sed
- jq
configuration:
properties:
fail_on_error:
type: boolean
pipeline_namae:
type: string
aws_profile:
type: string
id:
type: string
restore_dry_run:
type: boolean
save:
type: array
minimum: 1
items:
type: object
properties:
key:
type: string
paths:
type: [string, array]
minimum: 1
overwrite:
type: boolean
when:
type: string
enum:
- always
- on_success
- on_failure
required:
- key
- paths
restore:
type: array
minimum: 1
items:
type: object
properties:
keys:
type: array
minimum: 1
items:
type: string
required:
- keys
additionalProperties: false