@pulumi/gitlab 9.5.0-alpha.1762841292 → 9.5.0-alpha.1763071959
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/getUser.d.ts +44 -0
- package/getUser.js +44 -0
- package/getUser.js.map +1 -1
- package/groupLevelMrApprovals.d.ts +20 -0
- package/groupLevelMrApprovals.js +20 -0
- package/groupLevelMrApprovals.js.map +1 -1
- package/groupServiceAccountAccessToken.d.ts +51 -0
- package/groupServiceAccountAccessToken.js +51 -0
- package/groupServiceAccountAccessToken.js.map +1 -1
- package/package.json +2 -2
- package/projectApprovalRule.d.ts +70 -0
- package/projectApprovalRule.js +70 -0
- package/projectApprovalRule.js.map +1 -1
- package/projectJobTokenScope.d.ts +2 -0
- package/projectJobTokenScope.js +2 -0
- package/projectJobTokenScope.js.map +1 -1
- package/projectWikiPage.d.ts +14 -0
- package/projectWikiPage.js +14 -0
- package/projectWikiPage.js.map +1 -1
- package/userRunner.d.ts +6 -6
- package/userRunner.js +6 -6
- package/valueStreamAnalytics.d.ts +46 -0
- package/valueStreamAnalytics.js +46 -0
- package/valueStreamAnalytics.js.map +1 -1
package/getUser.d.ts
CHANGED
|
@@ -7,6 +7,28 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* > When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. The most related match will prioritize an exact match if one is available.
|
|
8
8
|
*
|
|
9
9
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/users/#get-a-single-user)
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* const example = gitlab.getUser({
|
|
19
|
+
* username: "myuser",
|
|
20
|
+
* });
|
|
21
|
+
* // Example using `for_each`
|
|
22
|
+
* const example_two = std.toset({
|
|
23
|
+
* input: [
|
|
24
|
+
* "user1",
|
|
25
|
+
* "user2",
|
|
26
|
+
* "user3",
|
|
27
|
+
* ],
|
|
28
|
+
* }).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: gitlab.getUser({
|
|
29
|
+
* username: __value,
|
|
30
|
+
* }) })));
|
|
31
|
+
* ```
|
|
10
32
|
*/
|
|
11
33
|
export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
12
34
|
/**
|
|
@@ -171,6 +193,28 @@ export interface GetUserResult {
|
|
|
171
193
|
* > When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. The most related match will prioritize an exact match if one is available.
|
|
172
194
|
*
|
|
173
195
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/users/#get-a-single-user)
|
|
196
|
+
*
|
|
197
|
+
* ## Example Usage
|
|
198
|
+
*
|
|
199
|
+
* ```typescript
|
|
200
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
201
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
202
|
+
* import * as std from "@pulumi/std";
|
|
203
|
+
*
|
|
204
|
+
* const example = gitlab.getUser({
|
|
205
|
+
* username: "myuser",
|
|
206
|
+
* });
|
|
207
|
+
* // Example using `for_each`
|
|
208
|
+
* const example_two = std.toset({
|
|
209
|
+
* input: [
|
|
210
|
+
* "user1",
|
|
211
|
+
* "user2",
|
|
212
|
+
* "user3",
|
|
213
|
+
* ],
|
|
214
|
+
* }).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: gitlab.getUser({
|
|
215
|
+
* username: __value,
|
|
216
|
+
* }) })));
|
|
217
|
+
* ```
|
|
174
218
|
*/
|
|
175
219
|
export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult>;
|
|
176
220
|
/**
|
package/getUser.js
CHANGED
|
@@ -13,6 +13,28 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* > When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. The most related match will prioritize an exact match if one is available.
|
|
14
14
|
*
|
|
15
15
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/users/#get-a-single-user)
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
22
|
+
* import * as std from "@pulumi/std";
|
|
23
|
+
*
|
|
24
|
+
* const example = gitlab.getUser({
|
|
25
|
+
* username: "myuser",
|
|
26
|
+
* });
|
|
27
|
+
* // Example using `for_each`
|
|
28
|
+
* const example_two = std.toset({
|
|
29
|
+
* input: [
|
|
30
|
+
* "user1",
|
|
31
|
+
* "user2",
|
|
32
|
+
* "user3",
|
|
33
|
+
* ],
|
|
34
|
+
* }).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: gitlab.getUser({
|
|
35
|
+
* username: __value,
|
|
36
|
+
* }) })));
|
|
37
|
+
* ```
|
|
16
38
|
*/
|
|
17
39
|
function getUser(args, opts) {
|
|
18
40
|
args = args || {};
|
|
@@ -34,6 +56,28 @@ exports.getUser = getUser;
|
|
|
34
56
|
* > When using the `email` attribute, an exact match is not guaranteed. The most related match will be returned. The most related match will prioritize an exact match if one is available.
|
|
35
57
|
*
|
|
36
58
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/users/#get-a-single-user)
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
65
|
+
* import * as std from "@pulumi/std";
|
|
66
|
+
*
|
|
67
|
+
* const example = gitlab.getUser({
|
|
68
|
+
* username: "myuser",
|
|
69
|
+
* });
|
|
70
|
+
* // Example using `for_each`
|
|
71
|
+
* const example_two = std.toset({
|
|
72
|
+
* input: [
|
|
73
|
+
* "user1",
|
|
74
|
+
* "user2",
|
|
75
|
+
* "user3",
|
|
76
|
+
* ],
|
|
77
|
+
* }).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: gitlab.getUser({
|
|
78
|
+
* username: __value,
|
|
79
|
+
* }) })));
|
|
80
|
+
* ```
|
|
37
81
|
*/
|
|
38
82
|
function getUserOutput(args, opts) {
|
|
39
83
|
args = args || {};
|
package/getUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0BAUC;AA6JD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC"}
|
|
@@ -2,6 +2,26 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
8
|
+
*
|
|
9
|
+
* const foo = new gitlab.Group("foo", {
|
|
10
|
+
* name: "test_group",
|
|
11
|
+
* path: "test_group",
|
|
12
|
+
* description: "An example group",
|
|
13
|
+
* });
|
|
14
|
+
* const fooGroupLevelMrApprovals = new gitlab.GroupLevelMrApprovals("foo", {
|
|
15
|
+
* group: foo.id,
|
|
16
|
+
* allowAuthorApproval: true,
|
|
17
|
+
* allowCommitterApproval: true,
|
|
18
|
+
* allowOverridesToApproverListPerMergeRequest: true,
|
|
19
|
+
* retainApprovalsOnPush: true,
|
|
20
|
+
* selectiveCodeOwnerRemovals: false,
|
|
21
|
+
* requireReauthenticationToApprove: true,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
5
25
|
* ## Import
|
|
6
26
|
*
|
|
7
27
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_level_mr_approvals`. For example:
|
package/groupLevelMrApprovals.js
CHANGED
|
@@ -8,6 +8,26 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
14
|
+
*
|
|
15
|
+
* const foo = new gitlab.Group("foo", {
|
|
16
|
+
* name: "test_group",
|
|
17
|
+
* path: "test_group",
|
|
18
|
+
* description: "An example group",
|
|
19
|
+
* });
|
|
20
|
+
* const fooGroupLevelMrApprovals = new gitlab.GroupLevelMrApprovals("foo", {
|
|
21
|
+
* group: foo.id,
|
|
22
|
+
* allowAuthorApproval: true,
|
|
23
|
+
* allowCommitterApproval: true,
|
|
24
|
+
* allowOverridesToApproverListPerMergeRequest: true,
|
|
25
|
+
* retainApprovalsOnPush: true,
|
|
26
|
+
* selectiveCodeOwnerRemovals: false,
|
|
27
|
+
* requireReauthenticationToApprove: true,
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
11
31
|
* ## Import
|
|
12
32
|
*
|
|
13
33
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_level_mr_approvals`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groupLevelMrApprovals.js","sourceRoot":"","sources":["../groupLevelMrApprovals.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"groupLevelMrApprovals.js","sourceRoot":"","sources":["../groupLevelMrApprovals.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,6CAA6C,CAAC,GAAG,IAAI,EAAE,2CAA2C,CAAC;YAClH,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,kCAAkC,CAAC,GAAG,IAAI,EAAE,gCAAgC,CAAC;YAC5F,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAzFL,sDA0FC;AA5EG,gBAAgB;AACO,kCAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -16,6 +16,57 @@ import * as outputs from "./types/output";
|
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
18
|
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
22
|
+
*
|
|
23
|
+
* // This must be a top-level group
|
|
24
|
+
* const example = new gitlab.Group("example", {
|
|
25
|
+
* name: "example",
|
|
26
|
+
* path: "example",
|
|
27
|
+
* description: "An example group",
|
|
28
|
+
* });
|
|
29
|
+
* // The service account against the top-level group
|
|
30
|
+
* const exampleSa = new gitlab.GroupServiceAccount("example_sa", {
|
|
31
|
+
* group: example.id,
|
|
32
|
+
* name: "example-name",
|
|
33
|
+
* username: "example-username",
|
|
34
|
+
* });
|
|
35
|
+
* // To assign the service account to a group
|
|
36
|
+
* const exampleMembership = new gitlab.GroupMembership("example_membership", {
|
|
37
|
+
* groupId: example.id,
|
|
38
|
+
* userId: exampleSa.serviceAccountId,
|
|
39
|
+
* accessLevel: "developer",
|
|
40
|
+
* expiresAt: "2020-03-14",
|
|
41
|
+
* });
|
|
42
|
+
* // The service account access token with no expiry
|
|
43
|
+
* const exampleSaTokenNoExpiry = new gitlab.GroupServiceAccountAccessToken("example_sa_token_no_expiry", {
|
|
44
|
+
* group: example.id,
|
|
45
|
+
* userId: exampleSa.serviceAccountId,
|
|
46
|
+
* name: "Example service account access token",
|
|
47
|
+
* scopes: ["api"],
|
|
48
|
+
* });
|
|
49
|
+
* // The service account access token with expires at
|
|
50
|
+
* const exampleSaTokenExpiresAt = new gitlab.GroupServiceAccountAccessToken("example_sa_token_expires_at", {
|
|
51
|
+
* group: example.id,
|
|
52
|
+
* userId: exampleSa.serviceAccountId,
|
|
53
|
+
* name: "Example service account access token",
|
|
54
|
+
* expiresAt: "2020-03-14",
|
|
55
|
+
* scopes: ["api"],
|
|
56
|
+
* });
|
|
57
|
+
* // The service account access token with rotation configuration
|
|
58
|
+
* const exampleSaTokenRotationConfiguration = new gitlab.GroupServiceAccountAccessToken("example_sa_token_rotation_configuration", {
|
|
59
|
+
* group: example.id,
|
|
60
|
+
* userId: exampleSa.serviceAccountId,
|
|
61
|
+
* name: "Example service account access token",
|
|
62
|
+
* rotationConfiguration: {
|
|
63
|
+
* rotateBeforeDays: 2,
|
|
64
|
+
* expirationDays: 7,
|
|
65
|
+
* },
|
|
66
|
+
* scopes: ["api"],
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
19
70
|
* ## Import
|
|
20
71
|
*
|
|
21
72
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_service_account_access_token`. For example:
|
|
@@ -20,6 +20,57 @@ const utilities = require("./utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* ## Example Usage
|
|
22
22
|
*
|
|
23
|
+
* ```typescript
|
|
24
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
26
|
+
*
|
|
27
|
+
* // This must be a top-level group
|
|
28
|
+
* const example = new gitlab.Group("example", {
|
|
29
|
+
* name: "example",
|
|
30
|
+
* path: "example",
|
|
31
|
+
* description: "An example group",
|
|
32
|
+
* });
|
|
33
|
+
* // The service account against the top-level group
|
|
34
|
+
* const exampleSa = new gitlab.GroupServiceAccount("example_sa", {
|
|
35
|
+
* group: example.id,
|
|
36
|
+
* name: "example-name",
|
|
37
|
+
* username: "example-username",
|
|
38
|
+
* });
|
|
39
|
+
* // To assign the service account to a group
|
|
40
|
+
* const exampleMembership = new gitlab.GroupMembership("example_membership", {
|
|
41
|
+
* groupId: example.id,
|
|
42
|
+
* userId: exampleSa.serviceAccountId,
|
|
43
|
+
* accessLevel: "developer",
|
|
44
|
+
* expiresAt: "2020-03-14",
|
|
45
|
+
* });
|
|
46
|
+
* // The service account access token with no expiry
|
|
47
|
+
* const exampleSaTokenNoExpiry = new gitlab.GroupServiceAccountAccessToken("example_sa_token_no_expiry", {
|
|
48
|
+
* group: example.id,
|
|
49
|
+
* userId: exampleSa.serviceAccountId,
|
|
50
|
+
* name: "Example service account access token",
|
|
51
|
+
* scopes: ["api"],
|
|
52
|
+
* });
|
|
53
|
+
* // The service account access token with expires at
|
|
54
|
+
* const exampleSaTokenExpiresAt = new gitlab.GroupServiceAccountAccessToken("example_sa_token_expires_at", {
|
|
55
|
+
* group: example.id,
|
|
56
|
+
* userId: exampleSa.serviceAccountId,
|
|
57
|
+
* name: "Example service account access token",
|
|
58
|
+
* expiresAt: "2020-03-14",
|
|
59
|
+
* scopes: ["api"],
|
|
60
|
+
* });
|
|
61
|
+
* // The service account access token with rotation configuration
|
|
62
|
+
* const exampleSaTokenRotationConfiguration = new gitlab.GroupServiceAccountAccessToken("example_sa_token_rotation_configuration", {
|
|
63
|
+
* group: example.id,
|
|
64
|
+
* userId: exampleSa.serviceAccountId,
|
|
65
|
+
* name: "Example service account access token",
|
|
66
|
+
* rotationConfiguration: {
|
|
67
|
+
* rotateBeforeDays: 2,
|
|
68
|
+
* expirationDays: 7,
|
|
69
|
+
* },
|
|
70
|
+
* scopes: ["api"],
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
23
74
|
* ## Import
|
|
24
75
|
*
|
|
25
76
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_group_service_account_access_token`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groupServiceAccountAccessToken.js","sourceRoot":"","sources":["../groupServiceAccountAccessToken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"groupServiceAccountAccessToken.js","sourceRoot":"","sources":["../groupServiceAccountAccessToken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,G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AAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AA5HL,wEA6HC;AA/GG,gBAAgB;AACO,2CAAY,GAAG,4EAA4E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gitlab",
|
|
3
|
-
"version": "9.5.0-alpha.
|
|
3
|
+
"version": "9.5.0-alpha.1763071959",
|
|
4
4
|
"description": "A Pulumi package for creating and managing GitLab resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "gitlab",
|
|
25
|
-
"version": "9.5.0-alpha.
|
|
25
|
+
"version": "9.5.0-alpha.1763071959"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/projectApprovalRule.d.ts
CHANGED
|
@@ -2,6 +2,76 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
8
|
+
* import * as std from "@pulumi/std";
|
|
9
|
+
*
|
|
10
|
+
* const example_one = new gitlab.ProjectApprovalRule("example-one", {
|
|
11
|
+
* project: "5",
|
|
12
|
+
* name: "Example Rule",
|
|
13
|
+
* approvalsRequired: 3,
|
|
14
|
+
* userIds: [
|
|
15
|
+
* 50,
|
|
16
|
+
* 500,
|
|
17
|
+
* ],
|
|
18
|
+
* groupIds: [51],
|
|
19
|
+
* });
|
|
20
|
+
* // With Protected Branch IDs
|
|
21
|
+
* const example = new gitlab.BranchProtection("example", {
|
|
22
|
+
* project: "5",
|
|
23
|
+
* branch: "release/*",
|
|
24
|
+
* pushAccessLevel: "maintainer",
|
|
25
|
+
* mergeAccessLevel: "developer",
|
|
26
|
+
* });
|
|
27
|
+
* const example_two = new gitlab.ProjectApprovalRule("example-two", {
|
|
28
|
+
* project: "5",
|
|
29
|
+
* name: "Example Rule 2",
|
|
30
|
+
* approvalsRequired: 3,
|
|
31
|
+
* userIds: [
|
|
32
|
+
* 50,
|
|
33
|
+
* 500,
|
|
34
|
+
* ],
|
|
35
|
+
* groupIds: [51],
|
|
36
|
+
* protectedBranchIds: [example.branchProtectionId],
|
|
37
|
+
* });
|
|
38
|
+
* // Example using `data.gitlab_user` and `for` loop
|
|
39
|
+
* const users = std.toset({
|
|
40
|
+
* input: [
|
|
41
|
+
* "user1",
|
|
42
|
+
* "user2",
|
|
43
|
+
* "user3",
|
|
44
|
+
* ],
|
|
45
|
+
* }).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: gitlab.getUser({
|
|
46
|
+
* username: __value,
|
|
47
|
+
* }) })));
|
|
48
|
+
* const example_three = new gitlab.ProjectApprovalRule("example-three", {
|
|
49
|
+
* project: "5",
|
|
50
|
+
* name: "Example Rule 3",
|
|
51
|
+
* approvalsRequired: 3,
|
|
52
|
+
* userIds: users.apply(users => Object.values(users).map(user => (user.id))),
|
|
53
|
+
* });
|
|
54
|
+
* // Example using `approval_rule` using `any_approver` as rule type
|
|
55
|
+
* const anyApprover = new gitlab.ProjectApprovalRule("any_approver", {
|
|
56
|
+
* project: "5",
|
|
57
|
+
* name: "Any name",
|
|
58
|
+
* ruleType: "any_approver",
|
|
59
|
+
* approvalsRequired: 1,
|
|
60
|
+
* });
|
|
61
|
+
* // Example using `applies_to_all_protected_branches`
|
|
62
|
+
* const example_four = new gitlab.ProjectApprovalRule("example-four", {
|
|
63
|
+
* project: "5",
|
|
64
|
+
* name: "Example Rule 4",
|
|
65
|
+
* approvalsRequired: 3,
|
|
66
|
+
* userIds: [
|
|
67
|
+
* 50,
|
|
68
|
+
* 500,
|
|
69
|
+
* ],
|
|
70
|
+
* groupIds: [51],
|
|
71
|
+
* appliesToAllProtectedBranches: true,
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
5
75
|
* ## Import
|
|
6
76
|
*
|
|
7
77
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_project_approval_rule`. For example:
|
package/projectApprovalRule.js
CHANGED
|
@@ -8,6 +8,76 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
14
|
+
* import * as std from "@pulumi/std";
|
|
15
|
+
*
|
|
16
|
+
* const example_one = new gitlab.ProjectApprovalRule("example-one", {
|
|
17
|
+
* project: "5",
|
|
18
|
+
* name: "Example Rule",
|
|
19
|
+
* approvalsRequired: 3,
|
|
20
|
+
* userIds: [
|
|
21
|
+
* 50,
|
|
22
|
+
* 500,
|
|
23
|
+
* ],
|
|
24
|
+
* groupIds: [51],
|
|
25
|
+
* });
|
|
26
|
+
* // With Protected Branch IDs
|
|
27
|
+
* const example = new gitlab.BranchProtection("example", {
|
|
28
|
+
* project: "5",
|
|
29
|
+
* branch: "release/*",
|
|
30
|
+
* pushAccessLevel: "maintainer",
|
|
31
|
+
* mergeAccessLevel: "developer",
|
|
32
|
+
* });
|
|
33
|
+
* const example_two = new gitlab.ProjectApprovalRule("example-two", {
|
|
34
|
+
* project: "5",
|
|
35
|
+
* name: "Example Rule 2",
|
|
36
|
+
* approvalsRequired: 3,
|
|
37
|
+
* userIds: [
|
|
38
|
+
* 50,
|
|
39
|
+
* 500,
|
|
40
|
+
* ],
|
|
41
|
+
* groupIds: [51],
|
|
42
|
+
* protectedBranchIds: [example.branchProtectionId],
|
|
43
|
+
* });
|
|
44
|
+
* // Example using `data.gitlab_user` and `for` loop
|
|
45
|
+
* const users = std.toset({
|
|
46
|
+
* input: [
|
|
47
|
+
* "user1",
|
|
48
|
+
* "user2",
|
|
49
|
+
* "user3",
|
|
50
|
+
* ],
|
|
51
|
+
* }).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: gitlab.getUser({
|
|
52
|
+
* username: __value,
|
|
53
|
+
* }) })));
|
|
54
|
+
* const example_three = new gitlab.ProjectApprovalRule("example-three", {
|
|
55
|
+
* project: "5",
|
|
56
|
+
* name: "Example Rule 3",
|
|
57
|
+
* approvalsRequired: 3,
|
|
58
|
+
* userIds: users.apply(users => Object.values(users).map(user => (user.id))),
|
|
59
|
+
* });
|
|
60
|
+
* // Example using `approval_rule` using `any_approver` as rule type
|
|
61
|
+
* const anyApprover = new gitlab.ProjectApprovalRule("any_approver", {
|
|
62
|
+
* project: "5",
|
|
63
|
+
* name: "Any name",
|
|
64
|
+
* ruleType: "any_approver",
|
|
65
|
+
* approvalsRequired: 1,
|
|
66
|
+
* });
|
|
67
|
+
* // Example using `applies_to_all_protected_branches`
|
|
68
|
+
* const example_four = new gitlab.ProjectApprovalRule("example-four", {
|
|
69
|
+
* project: "5",
|
|
70
|
+
* name: "Example Rule 4",
|
|
71
|
+
* approvalsRequired: 3,
|
|
72
|
+
* userIds: [
|
|
73
|
+
* 50,
|
|
74
|
+
* 500,
|
|
75
|
+
* ],
|
|
76
|
+
* groupIds: [51],
|
|
77
|
+
* appliesToAllProtectedBranches: true,
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
11
81
|
* ## Import
|
|
12
82
|
*
|
|
13
83
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_project_approval_rule`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectApprovalRule.js","sourceRoot":"","sources":["../projectApprovalRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectApprovalRule.js","sourceRoot":"","sources":["../projectApprovalRule.ts"],"names":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AAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjHL,kDAkHC;AApGG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -7,6 +7,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
*
|
|
8
8
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_job_token_scopes/)
|
|
9
9
|
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
10
12
|
* ## Import
|
|
11
13
|
*
|
|
12
14
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_project_job_token_scope`. For example:
|
package/projectJobTokenScope.js
CHANGED
|
@@ -13,6 +13,8 @@ const utilities = require("./utilities");
|
|
|
13
13
|
*
|
|
14
14
|
* **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/project_job_token_scopes/)
|
|
15
15
|
*
|
|
16
|
+
* ## Example Usage
|
|
17
|
+
*
|
|
16
18
|
* ## Import
|
|
17
19
|
*
|
|
18
20
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_project_job_token_scope`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectJobTokenScope.js","sourceRoot":"","sources":["../projectJobTokenScope.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectJobTokenScope.js","sourceRoot":"","sources":["../projectJobTokenScope.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAA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CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AApEL,oDAqEC;AAvDG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
|
package/projectWikiPage.d.ts
CHANGED
|
@@ -6,6 +6,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
12
|
+
*
|
|
13
|
+
* const example = new gitlab.ProjectWikiPage("example", {
|
|
14
|
+
* project: "12345",
|
|
15
|
+
* slug: "test-wiki-page",
|
|
16
|
+
* title: "Test Wiki Page",
|
|
17
|
+
* content: `This is a test content for the wiki page.
|
|
18
|
+
* And this is a second line of content.
|
|
19
|
+
* `,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
9
23
|
* ## Import
|
|
10
24
|
*
|
|
11
25
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_project_wiki_page`. For example:
|
package/projectWikiPage.js
CHANGED
|
@@ -12,6 +12,20 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
18
|
+
*
|
|
19
|
+
* const example = new gitlab.ProjectWikiPage("example", {
|
|
20
|
+
* project: "12345",
|
|
21
|
+
* slug: "test-wiki-page",
|
|
22
|
+
* title: "Test Wiki Page",
|
|
23
|
+
* content: `This is a test content for the wiki page.
|
|
24
|
+
* And this is a second line of content.
|
|
25
|
+
* `,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
15
29
|
* ## Import
|
|
16
30
|
*
|
|
17
31
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_project_wiki_page`. For example:
|
package/projectWikiPage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectWikiPage.js","sourceRoot":"","sources":["../projectWikiPage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectWikiPage.js","sourceRoot":"","sources":["../projectWikiPage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;Y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9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA5FL,0CA6FC;AA/EG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
|
package/userRunner.d.ts
CHANGED
|
@@ -35,10 +35,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
35
|
* session_timeout = 1800
|
|
36
36
|
*
|
|
37
37
|
* [[runners]]
|
|
38
|
-
* name = "my_gitlab_runner"
|
|
39
|
-
* url = "https://example.gitlab.com"
|
|
40
|
-
* token = "${groupRunner.token}"
|
|
41
|
-
* executor = "docker"
|
|
38
|
+
* name = \"my_gitlab_runner\"
|
|
39
|
+
* url = \"https://example.gitlab.com\"
|
|
40
|
+
* token = \"${groupRunner.token}\"
|
|
41
|
+
* executor = \"docker\"
|
|
42
42
|
*
|
|
43
43
|
* [runners.custom_build_dir]
|
|
44
44
|
* [runners.cache]
|
|
@@ -47,12 +47,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
47
47
|
* [runners.cache.azure]
|
|
48
48
|
* [runners.docker]
|
|
49
49
|
* tls_verify = false
|
|
50
|
-
* image = "ubuntu"
|
|
50
|
+
* image = \"ubuntu\"
|
|
51
51
|
* privileged = true
|
|
52
52
|
* disable_entrypoint_overwrite = false
|
|
53
53
|
* oom_kill_disable = false
|
|
54
54
|
* disable_cache = false
|
|
55
|
-
* volumes = ["/cache", "/certs/client"]
|
|
55
|
+
* volumes = [\"/cache\", \"/certs/client\"]
|
|
56
56
|
* shm_size = 0
|
|
57
57
|
* `;
|
|
58
58
|
* ```
|
package/userRunner.js
CHANGED
|
@@ -41,10 +41,10 @@ const utilities = require("./utilities");
|
|
|
41
41
|
* session_timeout = 1800
|
|
42
42
|
*
|
|
43
43
|
* [[runners]]
|
|
44
|
-
* name = "my_gitlab_runner"
|
|
45
|
-
* url = "https://example.gitlab.com"
|
|
46
|
-
* token = "${groupRunner.token}"
|
|
47
|
-
* executor = "docker"
|
|
44
|
+
* name = \"my_gitlab_runner\"
|
|
45
|
+
* url = \"https://example.gitlab.com\"
|
|
46
|
+
* token = \"${groupRunner.token}\"
|
|
47
|
+
* executor = \"docker\"
|
|
48
48
|
*
|
|
49
49
|
* [runners.custom_build_dir]
|
|
50
50
|
* [runners.cache]
|
|
@@ -53,12 +53,12 @@ const utilities = require("./utilities");
|
|
|
53
53
|
* [runners.cache.azure]
|
|
54
54
|
* [runners.docker]
|
|
55
55
|
* tls_verify = false
|
|
56
|
-
* image = "ubuntu"
|
|
56
|
+
* image = \"ubuntu\"
|
|
57
57
|
* privileged = true
|
|
58
58
|
* disable_entrypoint_overwrite = false
|
|
59
59
|
* oom_kill_disable = false
|
|
60
60
|
* disable_cache = false
|
|
61
|
-
* volumes = ["/cache", "/certs/client"]
|
|
61
|
+
* volumes = [\"/cache\", \"/certs/client\"]
|
|
62
62
|
* shm_size = 0
|
|
63
63
|
* `;
|
|
64
64
|
* ```
|
|
@@ -10,6 +10,52 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
16
|
+
*
|
|
17
|
+
* const project = new gitlab.ValueStreamAnalytics("project", {
|
|
18
|
+
* name: "TEST",
|
|
19
|
+
* projectFullPath: "test/project",
|
|
20
|
+
* stages: [
|
|
21
|
+
* {
|
|
22
|
+
* name: "Issue",
|
|
23
|
+
* custom: false,
|
|
24
|
+
* hidden: false,
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* name: "Issue Labels",
|
|
28
|
+
* custom: true,
|
|
29
|
+
* hidden: false,
|
|
30
|
+
* startEventIdentifier: "ISSUE_LABEL_ADDED",
|
|
31
|
+
* startEventLabelId: "gid://gitlab/ProjectLabel/0",
|
|
32
|
+
* endEventIdentifier: "ISSUE_LABEL_REMOVED",
|
|
33
|
+
* endEventLabelId: "gid://gitlab/ProjectLabel/1",
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* });
|
|
37
|
+
* const group = new gitlab.ValueStreamAnalytics("group", {
|
|
38
|
+
* name: "TEST",
|
|
39
|
+
* groupFullPath: "test/group",
|
|
40
|
+
* stages: [
|
|
41
|
+
* {
|
|
42
|
+
* name: "Issue",
|
|
43
|
+
* custom: false,
|
|
44
|
+
* hidden: false,
|
|
45
|
+
* },
|
|
46
|
+
* {
|
|
47
|
+
* name: "Issue Labels",
|
|
48
|
+
* custom: true,
|
|
49
|
+
* hidden: false,
|
|
50
|
+
* startEventIdentifier: "ISSUE_LABEL_ADDED",
|
|
51
|
+
* startEventLabelId: "gid://gitlab/GroupLabel/0",
|
|
52
|
+
* endEventIdentifier: "ISSUE_LABEL_REMOVED",
|
|
53
|
+
* endEventLabelId: "gid://gitlab/GroupLabel/1",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
13
59
|
* ## Import
|
|
14
60
|
*
|
|
15
61
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_value_stream_analytics`. For example:
|
package/valueStreamAnalytics.js
CHANGED
|
@@ -14,6 +14,52 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as gitlab from "@pulumi/gitlab";
|
|
20
|
+
*
|
|
21
|
+
* const project = new gitlab.ValueStreamAnalytics("project", {
|
|
22
|
+
* name: "TEST",
|
|
23
|
+
* projectFullPath: "test/project",
|
|
24
|
+
* stages: [
|
|
25
|
+
* {
|
|
26
|
+
* name: "Issue",
|
|
27
|
+
* custom: false,
|
|
28
|
+
* hidden: false,
|
|
29
|
+
* },
|
|
30
|
+
* {
|
|
31
|
+
* name: "Issue Labels",
|
|
32
|
+
* custom: true,
|
|
33
|
+
* hidden: false,
|
|
34
|
+
* startEventIdentifier: "ISSUE_LABEL_ADDED",
|
|
35
|
+
* startEventLabelId: "gid://gitlab/ProjectLabel/0",
|
|
36
|
+
* endEventIdentifier: "ISSUE_LABEL_REMOVED",
|
|
37
|
+
* endEventLabelId: "gid://gitlab/ProjectLabel/1",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* });
|
|
41
|
+
* const group = new gitlab.ValueStreamAnalytics("group", {
|
|
42
|
+
* name: "TEST",
|
|
43
|
+
* groupFullPath: "test/group",
|
|
44
|
+
* stages: [
|
|
45
|
+
* {
|
|
46
|
+
* name: "Issue",
|
|
47
|
+
* custom: false,
|
|
48
|
+
* hidden: false,
|
|
49
|
+
* },
|
|
50
|
+
* {
|
|
51
|
+
* name: "Issue Labels",
|
|
52
|
+
* custom: true,
|
|
53
|
+
* hidden: false,
|
|
54
|
+
* startEventIdentifier: "ISSUE_LABEL_ADDED",
|
|
55
|
+
* startEventLabelId: "gid://gitlab/GroupLabel/0",
|
|
56
|
+
* endEventIdentifier: "ISSUE_LABEL_REMOVED",
|
|
57
|
+
* endEventLabelId: "gid://gitlab/GroupLabel/1",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
17
63
|
* ## Import
|
|
18
64
|
*
|
|
19
65
|
* Starting in Terraform v1.5.0, you can use an import block to import `gitlab_value_stream_analytics`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valueStreamAnalytics.js","sourceRoot":"","sources":["../valueStreamAnalytics.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC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