@pulumiverse/buildkite 3.3.0-alpha.1777573583 → 3.3.0
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/cluster/cluster.d.ts +10 -23
- package/cluster/cluster.js +10 -23
- package/cluster/cluster.js.map +1 -1
- package/cluster/clusterDefaultQueue.d.ts +10 -23
- package/cluster/clusterDefaultQueue.js +10 -23
- package/cluster/clusterDefaultQueue.js.map +1 -1
- package/cluster/clusterMaintainer.d.ts +1 -5
- package/cluster/clusterMaintainer.js +1 -5
- package/cluster/clusterMaintainer.js.map +1 -1
- package/cluster/clusterQueue.d.ts +12 -27
- package/cluster/clusterQueue.js +12 -27
- package/cluster/clusterQueue.js.map +1 -1
- package/cluster/clusterSecret.d.ts +9 -6
- package/cluster/clusterSecret.js +9 -6
- package/cluster/clusterSecret.js.map +1 -1
- package/config/vars.d.ts +3 -0
- package/config/vars.js.map +1 -1
- package/getMeta.d.ts +6 -6
- package/getMeta.js +6 -6
- package/organization/banner.d.ts +9 -21
- package/organization/banner.js +9 -21
- package/organization/banner.js.map +1 -1
- package/organization/getRegistry.d.ts +10 -2
- package/organization/getRegistry.js.map +1 -1
- package/organization/organization.d.ts +0 -1
- package/organization/organization.js +0 -1
- package/organization/organization.js.map +1 -1
- package/organization/portal.d.ts +0 -3
- package/organization/portal.js +0 -3
- package/organization/portal.js.map +1 -1
- package/organization/registry.d.ts +37 -11
- package/organization/registry.js +17 -0
- package/organization/registry.js.map +1 -1
- package/organization/rule.d.ts +45 -78
- package/organization/rule.js +45 -78
- package/organization/rule.js.map +1 -1
- package/package.json +2 -2
- package/pipeline/getPipeline.d.ts +4 -0
- package/pipeline/getPipeline.js.map +1 -1
- package/pipeline/pipeline.d.ts +24 -2
- package/pipeline/pipeline.js +4 -2
- package/pipeline/pipeline.js.map +1 -1
- package/pipeline/schedule.d.ts +18 -37
- package/pipeline/schedule.js +18 -37
- package/pipeline/schedule.js.map +1 -1
- package/pipeline/team.d.ts +9 -21
- package/pipeline/team.js +9 -21
- package/pipeline/team.js.map +1 -1
- package/pipeline/template.d.ts +10 -23
- package/pipeline/template.js +10 -23
- package/pipeline/template.js.map +1 -1
- package/pipeline/webhook.d.ts +3 -9
- package/pipeline/webhook.js +3 -9
- package/pipeline/webhook.js.map +1 -1
- package/provider.d.ts +6 -0
- package/provider.js.map +1 -1
- package/team/member.d.ts +15 -33
- package/team/member.js +15 -33
- package/team/member.js.map +1 -1
- package/team/team.d.ts +10 -23
- package/team/team.js +10 -23
- package/team/team.js.map +1 -1
- package/testsuite/team.d.ts +21 -45
- package/testsuite/team.js +21 -45
- package/testsuite/team.js.map +1 -1
- package/testsuite/testSuite.d.ts +10 -23
- package/testsuite/testSuite.js +10 -23
- package/testsuite/testSuite.js.map +1 -1
- package/types/input.d.ts +4 -0
- package/types/output.d.ts +4 -0
package/cluster/cluster.d.ts
CHANGED
|
@@ -32,33 +32,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
32
|
* ## Import
|
|
33
33
|
*
|
|
34
34
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
35
|
-
*
|
|
36
35
|
* import a cluster resource using the GraphQL ID
|
|
37
36
|
*
|
|
38
37
|
* you can use this query to find the ID:
|
|
39
|
-
*
|
|
40
38
|
* query getClusters {
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* name
|
|
53
|
-
*
|
|
54
|
-
* }
|
|
55
|
-
*
|
|
56
|
-
* }
|
|
57
|
-
*
|
|
58
|
-
* }
|
|
59
|
-
*
|
|
60
|
-
* }
|
|
61
|
-
*
|
|
39
|
+
* organization(slug: "ORGANIZATION"){
|
|
40
|
+
* clusters(first: 5, order:NAME) {
|
|
41
|
+
* edges{
|
|
42
|
+
* node {
|
|
43
|
+
* id
|
|
44
|
+
* name
|
|
45
|
+
* }
|
|
46
|
+
* }
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
62
49
|
* }
|
|
63
50
|
*
|
|
64
51
|
* ```sh
|
package/cluster/cluster.js
CHANGED
|
@@ -38,33 +38,20 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* ## Import
|
|
39
39
|
*
|
|
40
40
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
41
|
-
*
|
|
42
41
|
* import a cluster resource using the GraphQL ID
|
|
43
42
|
*
|
|
44
43
|
* you can use this query to find the ID:
|
|
45
|
-
*
|
|
46
44
|
* query getClusters {
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* name
|
|
59
|
-
*
|
|
60
|
-
* }
|
|
61
|
-
*
|
|
62
|
-
* }
|
|
63
|
-
*
|
|
64
|
-
* }
|
|
65
|
-
*
|
|
66
|
-
* }
|
|
67
|
-
*
|
|
45
|
+
* organization(slug: "ORGANIZATION"){
|
|
46
|
+
* clusters(first: 5, order:NAME) {
|
|
47
|
+
* edges{
|
|
48
|
+
* node {
|
|
49
|
+
* id
|
|
50
|
+
* name
|
|
51
|
+
* }
|
|
52
|
+
* }
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
68
55
|
* }
|
|
69
56
|
*
|
|
70
57
|
* ```sh
|
package/cluster/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../cluster/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../cluster/cluster.ts"],"names":[],"mappings":";AAAA,s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c,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA/EL,0BAgFC;AAlEG,gBAAgB;AACO,oBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -29,33 +29,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
31
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
32
|
-
*
|
|
33
32
|
* import a clusters default queue resource using the GraphQL ID of the cluster itself
|
|
34
33
|
*
|
|
35
34
|
* you can use this query to find the ID:
|
|
36
|
-
*
|
|
37
35
|
* query getClusters {
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* name
|
|
50
|
-
*
|
|
51
|
-
* }
|
|
52
|
-
*
|
|
53
|
-
* }
|
|
54
|
-
*
|
|
55
|
-
* }
|
|
56
|
-
*
|
|
57
|
-
* }
|
|
58
|
-
*
|
|
36
|
+
* organization(slug: "ORGANIZATION"){
|
|
37
|
+
* clusters(first: 5, order:NAME) {
|
|
38
|
+
* edges{
|
|
39
|
+
* node {
|
|
40
|
+
* id
|
|
41
|
+
* name
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
* }
|
|
45
|
+
* }
|
|
59
46
|
* }
|
|
60
47
|
*
|
|
61
48
|
* ```sh
|
|
@@ -35,33 +35,20 @@ const utilities = require("../utilities");
|
|
|
35
35
|
* ## Import
|
|
36
36
|
*
|
|
37
37
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
38
|
-
*
|
|
39
38
|
* import a clusters default queue resource using the GraphQL ID of the cluster itself
|
|
40
39
|
*
|
|
41
40
|
* you can use this query to find the ID:
|
|
42
|
-
*
|
|
43
41
|
* query getClusters {
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* name
|
|
56
|
-
*
|
|
57
|
-
* }
|
|
58
|
-
*
|
|
59
|
-
* }
|
|
60
|
-
*
|
|
61
|
-
* }
|
|
62
|
-
*
|
|
63
|
-
* }
|
|
64
|
-
*
|
|
42
|
+
* organization(slug: "ORGANIZATION"){
|
|
43
|
+
* clusters(first: 5, order:NAME) {
|
|
44
|
+
* edges{
|
|
45
|
+
* node {
|
|
46
|
+
* id
|
|
47
|
+
* name
|
|
48
|
+
* }
|
|
49
|
+
* }
|
|
50
|
+
* }
|
|
51
|
+
* }
|
|
65
52
|
* }
|
|
66
53
|
*
|
|
67
54
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterDefaultQueue.js","sourceRoot":"","sources":["../../cluster/clusterDefaultQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"clusterDefaultQueue.js","sourceRoot":"","sources":["../../cluster/clusterDefaultQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C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AS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;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;;AA7EL,kDA8EC;AAhEG,gBAAgB;AACO,gCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -25,15 +25,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
25
|
* ## Import
|
|
26
26
|
*
|
|
27
27
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
28
|
-
*
|
|
29
28
|
* Import a cluster maintainer using {cluster_uuid}/{permission_uuid}
|
|
30
29
|
*
|
|
31
|
-
* You can find the
|
|
32
|
-
*
|
|
30
|
+
* You can find the clusterUuid and the permissionUuid
|
|
33
31
|
* from the maintainers list using the cluster data source or REST
|
|
34
|
-
*
|
|
35
32
|
* API response from:
|
|
36
|
-
*
|
|
37
33
|
* GET /v2/organizations/{org_slug}/clusters/{cluster_uuid}/maintainers
|
|
38
34
|
*
|
|
39
35
|
* ```sh
|
|
@@ -31,15 +31,11 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* ## Import
|
|
32
32
|
*
|
|
33
33
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
34
|
-
*
|
|
35
34
|
* Import a cluster maintainer using {cluster_uuid}/{permission_uuid}
|
|
36
35
|
*
|
|
37
|
-
* You can find the
|
|
38
|
-
*
|
|
36
|
+
* You can find the clusterUuid and the permissionUuid
|
|
39
37
|
* from the maintainers list using the cluster data source or REST
|
|
40
|
-
*
|
|
41
38
|
* API response from:
|
|
42
|
-
*
|
|
43
39
|
* GET /v2/organizations/{org_slug}/clusters/{cluster_uuid}/maintainers
|
|
44
40
|
*
|
|
45
41
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterMaintainer.js","sourceRoot":"","sources":["../../cluster/clusterMaintainer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"clusterMaintainer.js","sourceRoot":"","sources":["../../cluster/clusterMaintainer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA6CD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI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AC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AApGL,8CAqGC;AAvFG,gBAAgB;AACO,8BAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -54,37 +54,22 @@ import * as outputs from "../types/output";
|
|
|
54
54
|
* ## Import
|
|
55
55
|
*
|
|
56
56
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
57
|
-
*
|
|
58
57
|
* import a cluster queue resource using the GraphQL ID along with its respective cluster UUID
|
|
59
58
|
*
|
|
60
59
|
* you can use this query to find the ID:
|
|
61
|
-
*
|
|
62
60
|
* query getClusterQueues {
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* key
|
|
77
|
-
*
|
|
78
|
-
* }
|
|
79
|
-
*
|
|
80
|
-
* }
|
|
81
|
-
*
|
|
82
|
-
* }
|
|
83
|
-
*
|
|
84
|
-
* }
|
|
85
|
-
*
|
|
86
|
-
* }
|
|
87
|
-
*
|
|
61
|
+
* organization(slug: "ORGANIZATION_SLUG") {
|
|
62
|
+
* cluster(id: "CLUSTER_UUID") {
|
|
63
|
+
* queues(first: 50) {
|
|
64
|
+
* edges {
|
|
65
|
+
* node {
|
|
66
|
+
* id
|
|
67
|
+
* key
|
|
68
|
+
* }
|
|
69
|
+
* }
|
|
70
|
+
* }
|
|
71
|
+
* }
|
|
72
|
+
* }
|
|
88
73
|
* }
|
|
89
74
|
*
|
|
90
75
|
* ```sh
|
package/cluster/clusterQueue.js
CHANGED
|
@@ -58,37 +58,22 @@ const utilities = require("../utilities");
|
|
|
58
58
|
* ## Import
|
|
59
59
|
*
|
|
60
60
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
61
|
-
*
|
|
62
61
|
* import a cluster queue resource using the GraphQL ID along with its respective cluster UUID
|
|
63
62
|
*
|
|
64
63
|
* you can use this query to find the ID:
|
|
65
|
-
*
|
|
66
64
|
* query getClusterQueues {
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
* key
|
|
81
|
-
*
|
|
82
|
-
* }
|
|
83
|
-
*
|
|
84
|
-
* }
|
|
85
|
-
*
|
|
86
|
-
* }
|
|
87
|
-
*
|
|
88
|
-
* }
|
|
89
|
-
*
|
|
90
|
-
* }
|
|
91
|
-
*
|
|
65
|
+
* organization(slug: "ORGANIZATION_SLUG") {
|
|
66
|
+
* cluster(id: "CLUSTER_UUID") {
|
|
67
|
+
* queues(first: 50) {
|
|
68
|
+
* edges {
|
|
69
|
+
* node {
|
|
70
|
+
* id
|
|
71
|
+
* key
|
|
72
|
+
* }
|
|
73
|
+
* }
|
|
74
|
+
* }
|
|
75
|
+
* }
|
|
76
|
+
* }
|
|
92
77
|
* }
|
|
93
78
|
*
|
|
94
79
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterQueue.js","sourceRoot":"","sources":["../../cluster/clusterQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"clusterQueue.js","sourceRoot":"","sources":["../../cluster/clusterQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAi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|
3
|
+
* A Cluster Secret is an encrypted key-value pair that can be accessed by agents within a cluster.
|
|
4
|
+
* Secrets are encrypted and can only be accessed by agents that match the access policy.
|
|
5
|
+
*
|
|
6
|
+
* **Note:** Secret values are write-only and cannot be retrieved from the API. When importing an existing
|
|
7
|
+
* cluster secret, you must manually set the 'value' attribute in your configuration to match the secret's
|
|
8
|
+
* actual value, as Terraform cannot read it from the Buildkite API.
|
|
9
|
+
*
|
|
3
10
|
* ## Example Usage
|
|
4
11
|
*
|
|
5
12
|
* ```typescript
|
|
@@ -20,15 +27,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
27
|
* ## Import
|
|
21
28
|
*
|
|
22
29
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
23
|
-
*
|
|
24
30
|
* Import a cluster secret using {cluster_id}/{secret_id}
|
|
25
31
|
*
|
|
26
|
-
* You can find the
|
|
27
|
-
*
|
|
28
|
-
* and find the secret_id from the secrets list using the
|
|
29
|
-
*
|
|
32
|
+
* You can find the clusterId under cluster settings in the UI
|
|
33
|
+
* and find the secretId from the secrets list using the
|
|
30
34
|
* REST API response from:
|
|
31
|
-
*
|
|
32
35
|
* GET /v2/organizations/{org_slug}/clusters/{cluster_id}/secrets
|
|
33
36
|
*
|
|
34
37
|
* ```sh
|
package/cluster/clusterSecret.js
CHANGED
|
@@ -6,6 +6,13 @@ exports.ClusterSecret = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* A Cluster Secret is an encrypted key-value pair that can be accessed by agents within a cluster.
|
|
10
|
+
* Secrets are encrypted and can only be accessed by agents that match the access policy.
|
|
11
|
+
*
|
|
12
|
+
* **Note:** Secret values are write-only and cannot be retrieved from the API. When importing an existing
|
|
13
|
+
* cluster secret, you must manually set the 'value' attribute in your configuration to match the secret's
|
|
14
|
+
* actual value, as Terraform cannot read it from the Buildkite API.
|
|
15
|
+
*
|
|
9
16
|
* ## Example Usage
|
|
10
17
|
*
|
|
11
18
|
* ```typescript
|
|
@@ -26,15 +33,11 @@ const utilities = require("../utilities");
|
|
|
26
33
|
* ## Import
|
|
27
34
|
*
|
|
28
35
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
29
|
-
*
|
|
30
36
|
* Import a cluster secret using {cluster_id}/{secret_id}
|
|
31
37
|
*
|
|
32
|
-
* You can find the
|
|
33
|
-
*
|
|
34
|
-
* and find the secret_id from the secrets list using the
|
|
35
|
-
*
|
|
38
|
+
* You can find the clusterId under cluster settings in the UI
|
|
39
|
+
* and find the secretId from the secrets list using the
|
|
36
40
|
* REST API response from:
|
|
37
|
-
*
|
|
38
41
|
* GET /v2/organizations/{org_slug}/clusters/{cluster_id}/secrets
|
|
39
42
|
*
|
|
40
43
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterSecret.js","sourceRoot":"","sources":["../../cluster/clusterSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"clusterSecret.js","sourceRoot":"","sources":["../../cluster/clusterSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS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c,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AApGL,sCAqGC;AAvFG,gBAAgB;AACO,0BAAY,GAAG,+CAA+C,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
|
+
/**
|
|
3
|
+
* API token with GraphQL access and `writePipelines`, `readPipelines` and `writeSuites` REST API scopes. You can generate a token from [your settings page](https://buildkite.com/user/api-access-tokens/new?description=terraform&scopes[]=write_pipelines&scopes[]=write_suites&scopes[]=read_pipelines&scopes[]=graphql). If not provided, the value is taken from the `BUILDKITE_API_TOKEN` environment variable.
|
|
4
|
+
*/
|
|
2
5
|
export declare const apiToken: string | undefined;
|
|
3
6
|
/**
|
|
4
7
|
* Enable this to archive pipelines when destroying the resource. This is opposed to completely deleting pipelines.
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAMzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAMzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAMhD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,yBAAyB,EAAE;IACtD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,yBAAyB,CAAC,CAAC;IAClE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,YAAY,CAAC,CAAC;IACpD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAA0B,UAAU,CAAC,CAAC;IACnE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/getMeta.d.ts
CHANGED
|
@@ -14,13 +14,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
*
|
|
15
15
|
* const ips = buildkite.getMeta({});
|
|
16
16
|
* // Create an AWS security group allowing ingress from Buildkite
|
|
17
|
-
* const fromBuildkite = new aws.
|
|
17
|
+
* const fromBuildkite = new aws.index.SecurityGroup("from_buildkite", {
|
|
18
18
|
* name: "from_buildkite",
|
|
19
19
|
* ingress: [{
|
|
20
20
|
* fromPort: "*",
|
|
21
|
-
* toPort: 443,
|
|
21
|
+
* toPort: "443",
|
|
22
22
|
* protocol: "tcp",
|
|
23
|
-
* cidrBlocks: ips.
|
|
23
|
+
* cidrBlocks: ips.webhookIps,
|
|
24
24
|
* }],
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
@@ -54,13 +54,13 @@ export interface GetMetaResult {
|
|
|
54
54
|
*
|
|
55
55
|
* const ips = buildkite.getMeta({});
|
|
56
56
|
* // Create an AWS security group allowing ingress from Buildkite
|
|
57
|
-
* const fromBuildkite = new aws.
|
|
57
|
+
* const fromBuildkite = new aws.index.SecurityGroup("from_buildkite", {
|
|
58
58
|
* name: "from_buildkite",
|
|
59
59
|
* ingress: [{
|
|
60
60
|
* fromPort: "*",
|
|
61
|
-
* toPort: 443,
|
|
61
|
+
* toPort: "443",
|
|
62
62
|
* protocol: "tcp",
|
|
63
|
-
* cidrBlocks: ips.
|
|
63
|
+
* cidrBlocks: ips.webhookIps,
|
|
64
64
|
* }],
|
|
65
65
|
* });
|
|
66
66
|
* ```
|
package/getMeta.js
CHANGED
|
@@ -20,13 +20,13 @@ const utilities = require("./utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* const ips = buildkite.getMeta({});
|
|
22
22
|
* // Create an AWS security group allowing ingress from Buildkite
|
|
23
|
-
* const fromBuildkite = new aws.
|
|
23
|
+
* const fromBuildkite = new aws.index.SecurityGroup("from_buildkite", {
|
|
24
24
|
* name: "from_buildkite",
|
|
25
25
|
* ingress: [{
|
|
26
26
|
* fromPort: "*",
|
|
27
|
-
* toPort: 443,
|
|
27
|
+
* toPort: "443",
|
|
28
28
|
* protocol: "tcp",
|
|
29
|
-
* cidrBlocks: ips.
|
|
29
|
+
* cidrBlocks: ips.webhookIps,
|
|
30
30
|
* }],
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
@@ -51,13 +51,13 @@ exports.getMeta = getMeta;
|
|
|
51
51
|
*
|
|
52
52
|
* const ips = buildkite.getMeta({});
|
|
53
53
|
* // Create an AWS security group allowing ingress from Buildkite
|
|
54
|
-
* const fromBuildkite = new aws.
|
|
54
|
+
* const fromBuildkite = new aws.index.SecurityGroup("from_buildkite", {
|
|
55
55
|
* name: "from_buildkite",
|
|
56
56
|
* ingress: [{
|
|
57
57
|
* fromPort: "*",
|
|
58
|
-
* toPort: 443,
|
|
58
|
+
* toPort: "443",
|
|
59
59
|
* protocol: "tcp",
|
|
60
|
-
* cidrBlocks: ips.
|
|
60
|
+
* cidrBlocks: ips.webhookIps,
|
|
61
61
|
* }],
|
|
62
62
|
* });
|
|
63
63
|
* ```
|
package/organization/banner.d.ts
CHANGED
|
@@ -16,31 +16,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* ## Import
|
|
17
17
|
*
|
|
18
18
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
19
|
-
*
|
|
20
19
|
* import an organization banner resource using the banner's GraphQL ID
|
|
21
20
|
*
|
|
22
21
|
* you can use this query to find the banner's ID:
|
|
23
|
-
*
|
|
24
22
|
* query getOrganizationBannerId {
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* id
|
|
35
|
-
*
|
|
36
|
-
* }
|
|
37
|
-
*
|
|
38
|
-
* }
|
|
39
|
-
*
|
|
40
|
-
* }
|
|
41
|
-
*
|
|
42
|
-
* }
|
|
43
|
-
*
|
|
23
|
+
* organization(slug: "ORGANIZATION_SLUG") {
|
|
24
|
+
* banners(first: 1) {
|
|
25
|
+
* edges {
|
|
26
|
+
* node {
|
|
27
|
+
* id
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
* }
|
|
31
|
+
* }
|
|
44
32
|
* }
|
|
45
33
|
*
|
|
46
34
|
* ```sh
|
package/organization/banner.js
CHANGED
|
@@ -22,31 +22,19 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* ## Import
|
|
23
23
|
*
|
|
24
24
|
* Using `pulumi import`, import resources using the `id`. For example:
|
|
25
|
-
*
|
|
26
25
|
* import an organization banner resource using the banner's GraphQL ID
|
|
27
26
|
*
|
|
28
27
|
* you can use this query to find the banner's ID:
|
|
29
|
-
*
|
|
30
28
|
* query getOrganizationBannerId {
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* id
|
|
41
|
-
*
|
|
42
|
-
* }
|
|
43
|
-
*
|
|
44
|
-
* }
|
|
45
|
-
*
|
|
46
|
-
* }
|
|
47
|
-
*
|
|
48
|
-
* }
|
|
49
|
-
*
|
|
29
|
+
* organization(slug: "ORGANIZATION_SLUG") {
|
|
30
|
+
* banners(first: 1) {
|
|
31
|
+
* edges {
|
|
32
|
+
* node {
|
|
33
|
+
* id
|
|
34
|
+
* }
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* }
|
|
50
38
|
* }
|
|
51
39
|
*
|
|
52
40
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.js","sourceRoot":"","sources":["../../organization/banner.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"banner.js","sourceRoot":"","sources":["../../organization/banner.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9DL,wBA+DC;AAjDG,gBAAgB;AACO,mBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -44,15 +44,23 @@ export interface GetRegistryResult {
|
|
|
44
44
|
*/
|
|
45
45
|
readonly name: string;
|
|
46
46
|
/**
|
|
47
|
-
* The registry's OIDC policy.
|
|
47
|
+
* The registry's OIDC policy, in YAML format.
|
|
48
48
|
*/
|
|
49
49
|
readonly oidcPolicy: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the registry is publicly accessible.
|
|
52
|
+
*/
|
|
53
|
+
readonly public: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The type of the registry (e.g. `source`).
|
|
56
|
+
*/
|
|
57
|
+
readonly registryType: string;
|
|
50
58
|
/**
|
|
51
59
|
* The slug of the registry. This is used to identify the registry.
|
|
52
60
|
*/
|
|
53
61
|
readonly slug: string;
|
|
54
62
|
/**
|
|
55
|
-
* A list of team
|
|
63
|
+
* A list of team UUIDs that have access to this registry.
|
|
56
64
|
*/
|
|
57
65
|
readonly teamIds: string[];
|
|
58
66
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRegistry.js","sourceRoot":"","sources":["../../organization/getRegistry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;GAKG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;
|
|
1
|
+
{"version":3,"file":"getRegistry.js","sourceRoot":"","sources":["../../organization/getRegistry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;GAKG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAiED;;;;;GAKG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|