forked from aws-ia/cloudformation-gitlab-resource-providers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitlab-code-tag.json
More file actions
101 lines (101 loc) · 2.91 KB
/
gitlab-code-tag.json
File metadata and controls
101 lines (101 loc) · 2.91 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
90
91
92
93
94
95
96
97
98
99
100
101
{
"typeName": "GitLab::Code::Tag",
"description": "Creates a tag against a code ref in GitLab",
"sourceUrl": "https://github.com/aws-ia/cloudformation-gitlab-resource-providers.git",
"documentationUrl": "https://github.com/aws-ia/cloudformation-gitlab-resource-providers",
"definitions": {
"GitLabAccess": {
"type": "object",
"properties": {
"Url": {
"description": "URL of the GitLab Server",
"type": "string"
},
"AccessToken": {
"description": "Access Token",
"type": "string"
}
},
"required": [
"AccessToken"
],
"additionalProperties": false
}
},
"properties": {
"Name": {
"description": "The name of the tag to create",
"type": "string",
"maxLength": 64
},
"ProjectId": {
"description": "The ID of the project which will be tagged",
"type": "integer"
},
"Ref": {
"description": "The reference to the code commit to be tagged, either a commit SHA ID or a branch name (to use the commit which is head of that branch at time of tag creation)",
"type": "string",
"maxLength": 64
},
"CommitId": {
"description": "The actual commit SHA ID referenced by this tag, set by the resource provider. This will be equal to Ref if Ref is a commit SHA ID, or set by the provider to point at the commit if Ref is a branch name.",
"type": "string"
},
"Message": {
"description": "A message to attach to the tag",
"type": "string"
},
"TagId": {
"description": "A CloudFormation ID to identify this tag",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"Name",
"ProjectId",
"Ref"
],
"primaryIdentifier": [
"/properties/Name",
"/properties/ProjectId",
"/properties/TagId"
],
"readOnlyProperties": [
"/properties/TagId",
"/properties/CommitId"
],
"createOnlyProperties": [
"/properties/Name",
"/properties/ProjectId",
"/properties/Ref"
],
"writeOnlyProperties": [
"/properties/Ref"
],
"handlers": {
"create": {
"permissions": [
]
},
"read": {
"permissions": [
]
},
"delete": {
"permissions": [
]
}
},
"typeConfiguration": {
"properties": {
"GitLabAccess": {
"$ref": "#/definitions/GitLabAccess"
}
},
"additionalProperties": false,
"required": [
"GitLabAccess"
]
}
}