forked from buildkite-plugins/cache-buildkite-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.yml
42 lines (41 loc) · 801 Bytes
/
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
name: Cache
description: Persist cache in between build steps
author: https://github.com/buildkite-plugins
requirements: []
configuration:
$defs:
valid_levels:
type: string
enum:
- file
- step
- branch
- pipeline
- all
properties:
backend:
type: string
compression:
type: string
enum:
- zip
- tar
- tgz
force:
type: boolean
manifest:
type: string
path:
type: string
restore:
$ref: '#/$defs/valid_levels'
save:
oneOf:
- $ref: '#/$defs/valid_levels'
- type: array
items:
$ref: '#/$defs/valid_levels'
additionalProperties: false
anyOf:
- required: [ path, save ]
- required: [ path, restore ]