-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.json
More file actions
89 lines (89 loc) · 2.53 KB
/
metadata.json
File metadata and controls
89 lines (89 loc) · 2.53 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"$id": "pcit/s3",
"$comment": "https://docs.ci.khs1994.com/usage/",
"description": "The S3 plugin uploads files and build artifacts to your S3 bucket, or S3-compatible(example: Minio).",
"github": "https://github.com/pcit-plugins/pcit-s3",
"tags": "Storage",
"author": "PCIT",
"title": "JSON schema for configuring PCIT CI/CD plugin",
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"endpoint": {
"type": "string",
"description": "s3 endpoint"
},
"access_key_id": {
"type": "string",
"description": "s3 access key id"
},
"secret_access_key": {
"type": "string",
"description": "s3 access key"
},
"bucket": {
"type": "string",
"description": "s3 bucket"
},
"region": {
"type": "string",
"description": "s3 region",
"default": " us-east-1"
},
"cache": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"description": "cache dir array"
},
"cache_prefix": {
"type": "string",
"description": "cache prefix"
},
"cache_download": {
"type": "boolean",
"description": "download cache",
"default": false
},
"use_path_style_endpoint": {
"type": "boolean",
"description": "when use minio, please set true",
"default": false
},
"connect_timeout": {
"type": "string",
"description": "connect timeout, s",
"default": 20
},
"acl": {
"type": "string",
"description": "see https://docs.aws.amazon.com/zh_cn/AmazonS3/latest/dev/acl-overview.html#canned-acl",
"default": " public-read",
"enum": [
"private",
"public-read",
"public-read-write"
]
},
"local_dir": {
"type": "string",
"description": "local dir"
},
"upload_dir": {
"type": "string",
"description": "s3 dir"
},
"files": {
"type": [
"object",
"array"
],
"description": "dir,dir2 or local_path:s3_path"
}
},
"required": [
"endpoint",
"access_key_id",
"secret_access_key",
"bucket"
]
}