@pulumiverse/buildkite 2.3.1 → 3.0.2

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.
Files changed (95) hide show
  1. package/README.md +5 -0
  2. package/agent/agentToken.d.ts +13 -19
  3. package/agent/agentToken.js +6 -6
  4. package/agent/agentToken.js.map +1 -1
  5. package/cluster/cluster.d.ts +76 -20
  6. package/cluster/cluster.js +56 -6
  7. package/cluster/cluster.js.map +1 -1
  8. package/cluster/clusterAgentToken.d.ts +51 -15
  9. package/cluster/clusterAgentToken.js +28 -8
  10. package/cluster/clusterAgentToken.js.map +1 -1
  11. package/cluster/clusterDefaultQueue.d.ts +132 -0
  12. package/cluster/clusterDefaultQueue.js +123 -0
  13. package/cluster/clusterDefaultQueue.js.map +1 -0
  14. package/cluster/clusterQueue.d.ts +44 -50
  15. package/cluster/clusterQueue.js +37 -43
  16. package/cluster/clusterQueue.js.map +1 -1
  17. package/cluster/getCluster.d.ts +52 -5
  18. package/cluster/getCluster.js +44 -0
  19. package/cluster/getCluster.js.map +1 -1
  20. package/cluster/index.d.ts +3 -0
  21. package/cluster/index.js +6 -1
  22. package/cluster/index.js.map +1 -1
  23. package/config/vars.d.ts +9 -7
  24. package/config/vars.js +6 -0
  25. package/config/vars.js.map +1 -1
  26. package/getMeta.d.ts +55 -1
  27. package/getMeta.js +55 -1
  28. package/getMeta.js.map +1 -1
  29. package/index.d.ts +1 -0
  30. package/index.js +3 -2
  31. package/index.js.map +1 -1
  32. package/organization/banner.d.ts +106 -0
  33. package/organization/banner.js +104 -0
  34. package/organization/banner.js.map +1 -0
  35. package/organization/getOrganization.d.ts +12 -21
  36. package/organization/getOrganization.js +9 -21
  37. package/organization/getOrganization.js.map +1 -1
  38. package/organization/index.d.ts +4 -3
  39. package/organization/index.js +8 -7
  40. package/organization/index.js.map +1 -1
  41. package/organization/organization.d.ts +31 -13
  42. package/organization/organization.js +12 -10
  43. package/organization/organization.js.map +1 -1
  44. package/package.json +2 -3
  45. package/package.json.bak +1 -2
  46. package/pipeline/getPipeline.d.ts +26 -18
  47. package/pipeline/getPipeline.js +12 -14
  48. package/pipeline/getPipeline.js.map +1 -1
  49. package/pipeline/getSignedSteps.d.ts +143 -0
  50. package/pipeline/getSignedSteps.js +95 -0
  51. package/pipeline/getSignedSteps.js.map +1 -0
  52. package/pipeline/getTemplate.d.ts +120 -0
  53. package/pipeline/getTemplate.js +83 -0
  54. package/pipeline/getTemplate.js.map +1 -0
  55. package/pipeline/index.d.ts +9 -0
  56. package/pipeline/index.js +12 -1
  57. package/pipeline/index.js.map +1 -1
  58. package/pipeline/pipeline.d.ts +116 -101
  59. package/pipeline/pipeline.js +18 -16
  60. package/pipeline/pipeline.js.map +1 -1
  61. package/pipeline/schedule.d.ts +64 -53
  62. package/pipeline/schedule.js +38 -27
  63. package/pipeline/schedule.js.map +1 -1
  64. package/pipeline/team.d.ts +42 -31
  65. package/pipeline/team.js +34 -23
  66. package/pipeline/team.js.map +1 -1
  67. package/pipeline/template.d.ts +157 -0
  68. package/pipeline/template.js +125 -0
  69. package/pipeline/template.js.map +1 -0
  70. package/provider.d.ts +23 -9
  71. package/provider.js +1 -0
  72. package/provider.js.map +1 -1
  73. package/team/getTeam.d.ts +33 -34
  74. package/team/getTeam.js +18 -16
  75. package/team/getTeam.js.map +1 -1
  76. package/team/member.d.ts +44 -44
  77. package/team/member.js +33 -33
  78. package/team/team.d.ts +45 -43
  79. package/team/team.js +26 -24
  80. package/team/team.js.map +1 -1
  81. package/testsuite/team.d.ts +48 -52
  82. package/testsuite/team.js +43 -47
  83. package/testsuite/team.js.map +1 -1
  84. package/testsuite/testSuite.d.ts +21 -27
  85. package/testsuite/testSuite.js +6 -12
  86. package/testsuite/testSuite.js.map +1 -1
  87. package/types/input.d.ts +37 -21
  88. package/types/output.d.ts +34 -18
  89. package/utilities.d.ts +4 -0
  90. package/utilities.js +33 -1
  91. package/utilities.js.map +1 -1
  92. package/organization/settings.d.ts +0 -80
  93. package/organization/settings.js +0 -81
  94. package/organization/settings.js.map +0 -1
  95. package/scripts/install-pulumi-plugin.js +0 -26
@@ -1,89 +1,85 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Resource: testSuiteTeam
4
- *
5
- * This resources allows you to create, manage and import team access to Test Suites.
6
- *
7
- * Buildkite documentation: https://buildkite.com/docs/test-analytics
3
+ * Manage team access to a test suite.
8
4
  *
9
5
  * ## Example Usage
10
6
  *
7
+ * <!--Start PulumiCodeChooser -->
11
8
  * ```typescript
12
9
  * import * as pulumi from "@pulumi/pulumi";
13
10
  * import * as buildkite from "@pulumiverse/buildkite";
14
11
  *
15
- * const owners = new buildkite.team.Team("owners", {
16
- * defaultTeam: false,
17
- * privacy: "VISIBLE",
18
- * defaultMemberRole: "MAINTAINER",
19
- * });
20
- * const viewers = new buildkite.team.Team("viewers", {
21
- * defaultTeam: false,
22
- * privacy: "VISIBLE",
23
- * defaultMemberRole: "MAINTAINER",
24
- * });
25
- * const rspecSuite = new buildkite.testsuite.TestSuite("rspecSuite", {
12
+ * // create a test suite
13
+ * const main = new buildkite.testsuite.TestSuite("main", {
26
14
  * defaultBranch: "main",
27
- * teamOwnerId: owners.id,
15
+ * teamOwnerId: "VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==",
28
16
  * });
29
- * const viewersRspec = new buildkite.testsuite.Team("viewersRspec", {
30
- * testSuiteId: rspecSuite.id,
31
- * teamId: viewers.id,
32
- * accessLevel: "READ_ONLY",
17
+ * // give the "everyone" team manage access to the "main" test suite
18
+ * const mainEveryone = new buildkite.testsuite.Team("mainEveryone", {
19
+ * testSuiteId: main.id,
20
+ * teamId: "VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==",
21
+ * accessLevel: "MANAGE_AND_READ",
33
22
  * });
34
23
  * ```
24
+ * <!--End PulumiCodeChooser -->
35
25
  *
36
26
  * ## Import
37
27
  *
38
- * Test suite teams can be imported using the `GraphQL ID` (not UUID), e.g.
28
+ * import a test suite team resource using the GraphQL ID
39
29
  *
40
- * ```sh
41
- * $ pulumi import buildkite:TestSuite/team:Team viewers VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi
42
- * ```
30
+ * #
43
31
  *
44
- * To find the ID to use, you can use the GraphQL query below. Alternatively, you could use this [pre-saved query](https://buildkite.com/user/graphql/console/e8480014-37a8-4150-a011-6d35f33b4dfd), where you will need fo fill in the organization slug and suite search term (SUITE_SEARCH_TERM) for the particular test suite required. graphql query getTeamSuiteIds {
32
+ * you can use this query to find the ID:
45
33
  *
46
- * organization(slug"ORGANIZATION_SLUG") {
34
+ * query getTeamSuiteIds {
47
35
  *
48
- * suites(first1, search:"SUITE_SEARCH_TERM") {
36
+ * organization(slug: "ORGANIZATION_SLUG") {
49
37
  *
50
- * edges {
38
+ * suites(first: 1, search:"SUITE_SEARCH_TERM") {
51
39
  *
52
- * node {
40
+ * edges {
53
41
  *
54
- * id
42
+ * node {
55
43
  *
56
- * name
44
+ * id
57
45
  *
58
- * teams(first10){
46
+ * name
59
47
  *
60
- * edges {
48
+ * teams(first: 10){
61
49
  *
62
- * node {
50
+ * edges {
63
51
  *
64
- * id
52
+ * node {
65
53
  *
66
- * accessLevel
54
+ * id
67
55
  *
68
- * team{
56
+ * accessLevel
69
57
  *
70
- * name
58
+ * team{
71
59
  *
72
- * }
60
+ * name
73
61
  *
74
- * }
62
+ * }
75
63
  *
76
- * }
64
+ * }
77
65
  *
78
- * }
66
+ * }
79
67
  *
80
- * }
68
+ * }
81
69
  *
82
- * }
70
+ * }
83
71
  *
84
- * }
72
+ * }
85
73
  *
86
- * } }
74
+ * }
75
+ *
76
+ * }
77
+ *
78
+ * }
79
+ *
80
+ * ```sh
81
+ * $ pulumi import buildkite:TestSuite/team:Team main_everyone VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi
82
+ * ```
87
83
  */
88
84
  export declare class Team extends pulumi.CustomResource {
89
85
  /**
@@ -102,7 +98,7 @@ export declare class Team extends pulumi.CustomResource {
102
98
  */
103
99
  static isInstance(obj: any): obj is Team;
104
100
  /**
105
- * The access level the team has on the test suite. Either READ_ONLY or MANAGE_AND_READ.
101
+ * The access level the team has on the test suite. Either `READ_ONLY` or `MANAGE_AND_READ`.
106
102
  */
107
103
  readonly accessLevel: pulumi.Output<string>;
108
104
  /**
@@ -114,7 +110,7 @@ export declare class Team extends pulumi.CustomResource {
114
110
  */
115
111
  readonly testSuiteId: pulumi.Output<string>;
116
112
  /**
117
- * This is the UUID of the test suite team.
113
+ * The UUID of the test suite-team relationship.
118
114
  */
119
115
  readonly uuid: pulumi.Output<string>;
120
116
  /**
@@ -131,7 +127,7 @@ export declare class Team extends pulumi.CustomResource {
131
127
  */
132
128
  export interface TeamState {
133
129
  /**
134
- * The access level the team has on the test suite. Either READ_ONLY or MANAGE_AND_READ.
130
+ * The access level the team has on the test suite. Either `READ_ONLY` or `MANAGE_AND_READ`.
135
131
  */
136
132
  accessLevel?: pulumi.Input<string>;
137
133
  /**
@@ -143,7 +139,7 @@ export interface TeamState {
143
139
  */
144
140
  testSuiteId?: pulumi.Input<string>;
145
141
  /**
146
- * This is the UUID of the test suite team.
142
+ * The UUID of the test suite-team relationship.
147
143
  */
148
144
  uuid?: pulumi.Input<string>;
149
145
  }
@@ -152,7 +148,7 @@ export interface TeamState {
152
148
  */
153
149
  export interface TeamArgs {
154
150
  /**
155
- * The access level the team has on the test suite. Either READ_ONLY or MANAGE_AND_READ.
151
+ * The access level the team has on the test suite. Either `READ_ONLY` or `MANAGE_AND_READ`.
156
152
  */
157
153
  accessLevel: pulumi.Input<string>;
158
154
  /**
package/testsuite/team.js CHANGED
@@ -6,90 +6,86 @@ exports.Team = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * ## # Resource: testSuiteTeam
10
- *
11
- * This resources allows you to create, manage and import team access to Test Suites.
12
- *
13
- * Buildkite documentation: https://buildkite.com/docs/test-analytics
9
+ * Manage team access to a test suite.
14
10
  *
15
11
  * ## Example Usage
16
12
  *
13
+ * <!--Start PulumiCodeChooser -->
17
14
  * ```typescript
18
15
  * import * as pulumi from "@pulumi/pulumi";
19
16
  * import * as buildkite from "@pulumiverse/buildkite";
20
17
  *
21
- * const owners = new buildkite.team.Team("owners", {
22
- * defaultTeam: false,
23
- * privacy: "VISIBLE",
24
- * defaultMemberRole: "MAINTAINER",
25
- * });
26
- * const viewers = new buildkite.team.Team("viewers", {
27
- * defaultTeam: false,
28
- * privacy: "VISIBLE",
29
- * defaultMemberRole: "MAINTAINER",
30
- * });
31
- * const rspecSuite = new buildkite.testsuite.TestSuite("rspecSuite", {
18
+ * // create a test suite
19
+ * const main = new buildkite.testsuite.TestSuite("main", {
32
20
  * defaultBranch: "main",
33
- * teamOwnerId: owners.id,
21
+ * teamOwnerId: "VGVhbU1lbWJlci0tLTVlZDEyMmY2LTM2NjQtNDI1MS04YzMwLTc4NjRiMDdiZDQ4Zg==",
34
22
  * });
35
- * const viewersRspec = new buildkite.testsuite.Team("viewersRspec", {
36
- * testSuiteId: rspecSuite.id,
37
- * teamId: viewers.id,
38
- * accessLevel: "READ_ONLY",
23
+ * // give the "everyone" team manage access to the "main" test suite
24
+ * const mainEveryone = new buildkite.testsuite.Team("mainEveryone", {
25
+ * testSuiteId: main.id,
26
+ * teamId: "VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==",
27
+ * accessLevel: "MANAGE_AND_READ",
39
28
  * });
40
29
  * ```
30
+ * <!--End PulumiCodeChooser -->
41
31
  *
42
32
  * ## Import
43
33
  *
44
- * Test suite teams can be imported using the `GraphQL ID` (not UUID), e.g.
34
+ * import a test suite team resource using the GraphQL ID
45
35
  *
46
- * ```sh
47
- * $ pulumi import buildkite:TestSuite/team:Team viewers VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi
48
- * ```
36
+ * #
49
37
  *
50
- * To find the ID to use, you can use the GraphQL query below. Alternatively, you could use this [pre-saved query](https://buildkite.com/user/graphql/console/e8480014-37a8-4150-a011-6d35f33b4dfd), where you will need fo fill in the organization slug and suite search term (SUITE_SEARCH_TERM) for the particular test suite required. graphql query getTeamSuiteIds {
38
+ * you can use this query to find the ID:
51
39
  *
52
- * organization(slug"ORGANIZATION_SLUG") {
40
+ * query getTeamSuiteIds {
53
41
  *
54
- * suites(first1, search:"SUITE_SEARCH_TERM") {
42
+ * organization(slug: "ORGANIZATION_SLUG") {
55
43
  *
56
- * edges {
44
+ * suites(first: 1, search:"SUITE_SEARCH_TERM") {
57
45
  *
58
- * node {
46
+ * edges {
59
47
  *
60
- * id
48
+ * node {
61
49
  *
62
- * name
50
+ * id
63
51
  *
64
- * teams(first10){
52
+ * name
65
53
  *
66
- * edges {
54
+ * teams(first: 10){
67
55
  *
68
- * node {
56
+ * edges {
69
57
  *
70
- * id
58
+ * node {
71
59
  *
72
- * accessLevel
60
+ * id
73
61
  *
74
- * team{
62
+ * accessLevel
75
63
  *
76
- * name
64
+ * team{
77
65
  *
78
- * }
66
+ * name
79
67
  *
80
- * }
68
+ * }
81
69
  *
82
- * }
70
+ * }
83
71
  *
84
- * }
72
+ * }
85
73
  *
86
- * }
74
+ * }
87
75
  *
88
- * }
76
+ * }
89
77
  *
90
- * }
78
+ * }
91
79
  *
92
- * } }
80
+ * }
81
+ *
82
+ * }
83
+ *
84
+ * }
85
+ *
86
+ * ```sh
87
+ * $ pulumi import buildkite:TestSuite/team:Team main_everyone VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi
88
+ * ```
93
89
  */
94
90
  class Team extends pulumi.CustomResource {
95
91
  /**
@@ -1 +1 @@
1
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C,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAhFL,oBAiFC;AAnEG,gBAAgB;AACO,iBAAY,GAAG,+BAA+B,CAAC"}
@@ -1,27 +1,21 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Resource: testSuite
4
- *
5
- * This resources allows you to create and manage a Test Suite.
6
- *
7
- * Buildkite documentation: https://buildkite.com/docs/test-analytics
3
+ * A test suite is a collection of tests. A run is to a suite what a build is to a Pipeline.Use this resource to manage [Test Suites](https://buildkite.com/docs/test-analytics) on Buildkite.
8
4
  *
9
5
  * ## Example Usage
10
6
  *
7
+ * <!--Start PulumiCodeChooser -->
11
8
  * ```typescript
12
9
  * import * as pulumi from "@pulumi/pulumi";
13
10
  * import * as buildkite from "@pulumiverse/buildkite";
14
11
  *
15
- * const test = new buildkite.team.Team("test", {
16
- * privacy: "VISIBLE",
17
- * defaultTeam: false,
18
- * defaultMemberRole: "MEMBER",
19
- * });
20
- * const unitTests = new buildkite.testsuite.TestSuite("unitTests", {
12
+ * // create a test suite for the main repository
13
+ * const main = new buildkite.testsuite.TestSuite("main", {
21
14
  * defaultBranch: "main",
22
- * teamOwnerId: test.id,
15
+ * teamOwnerId: "VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi",
23
16
  * });
24
17
  * ```
18
+ * <!--End PulumiCodeChooser -->
25
19
  */
26
20
  export declare class TestSuite extends pulumi.CustomResource {
27
21
  /**
@@ -40,27 +34,27 @@ export declare class TestSuite extends pulumi.CustomResource {
40
34
  */
41
35
  static isInstance(obj: any): obj is TestSuite;
42
36
  /**
43
- * This is the unique API token used when send test results.
37
+ * The API token to use to send test run data to the API.
44
38
  */
45
39
  readonly apiToken: pulumi.Output<string>;
46
40
  /**
47
- * This is the default branch used to compare tests against.
41
+ * The default branch for the repository this test suite is for.
48
42
  */
49
43
  readonly defaultBranch: pulumi.Output<string>;
50
44
  /**
51
- * This is the name of the test suite.
45
+ * The name to give the test suite.
52
46
  */
53
47
  readonly name: pulumi.Output<string>;
54
48
  /**
55
- * This is the unique slug generated from the name upon creation.
49
+ * The generated slug of the test suite.
56
50
  */
57
51
  readonly slug: pulumi.Output<string>;
58
52
  /**
59
- * This is a single team linked to the test suite upon creation.
53
+ * The GraphQL ID of the team to mark as the owner/admin of the test suite.
60
54
  */
61
55
  readonly teamOwnerId: pulumi.Output<string>;
62
56
  /**
63
- * This is the UUID of the suite.
57
+ * The UUID of the test suite.
64
58
  */
65
59
  readonly uuid: pulumi.Output<string>;
66
60
  /**
@@ -77,27 +71,27 @@ export declare class TestSuite extends pulumi.CustomResource {
77
71
  */
78
72
  export interface TestSuiteState {
79
73
  /**
80
- * This is the unique API token used when send test results.
74
+ * The API token to use to send test run data to the API.
81
75
  */
82
76
  apiToken?: pulumi.Input<string>;
83
77
  /**
84
- * This is the default branch used to compare tests against.
78
+ * The default branch for the repository this test suite is for.
85
79
  */
86
80
  defaultBranch?: pulumi.Input<string>;
87
81
  /**
88
- * This is the name of the test suite.
82
+ * The name to give the test suite.
89
83
  */
90
84
  name?: pulumi.Input<string>;
91
85
  /**
92
- * This is the unique slug generated from the name upon creation.
86
+ * The generated slug of the test suite.
93
87
  */
94
88
  slug?: pulumi.Input<string>;
95
89
  /**
96
- * This is a single team linked to the test suite upon creation.
90
+ * The GraphQL ID of the team to mark as the owner/admin of the test suite.
97
91
  */
98
92
  teamOwnerId?: pulumi.Input<string>;
99
93
  /**
100
- * This is the UUID of the suite.
94
+ * The UUID of the test suite.
101
95
  */
102
96
  uuid?: pulumi.Input<string>;
103
97
  }
@@ -106,15 +100,15 @@ export interface TestSuiteState {
106
100
  */
107
101
  export interface TestSuiteArgs {
108
102
  /**
109
- * This is the default branch used to compare tests against.
103
+ * The default branch for the repository this test suite is for.
110
104
  */
111
105
  defaultBranch: pulumi.Input<string>;
112
106
  /**
113
- * This is the name of the test suite.
107
+ * The name to give the test suite.
114
108
  */
115
109
  name?: pulumi.Input<string>;
116
110
  /**
117
- * This is a single team linked to the test suite upon creation.
111
+ * The GraphQL ID of the team to mark as the owner/admin of the test suite.
118
112
  */
119
113
  teamOwnerId: pulumi.Input<string>;
120
114
  }
@@ -6,28 +6,22 @@ exports.TestSuite = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * ## # Resource: testSuite
10
- *
11
- * This resources allows you to create and manage a Test Suite.
12
- *
13
- * Buildkite documentation: https://buildkite.com/docs/test-analytics
9
+ * A test suite is a collection of tests. A run is to a suite what a build is to a Pipeline.Use this resource to manage [Test Suites](https://buildkite.com/docs/test-analytics) on Buildkite.
14
10
  *
15
11
  * ## Example Usage
16
12
  *
13
+ * <!--Start PulumiCodeChooser -->
17
14
  * ```typescript
18
15
  * import * as pulumi from "@pulumi/pulumi";
19
16
  * import * as buildkite from "@pulumiverse/buildkite";
20
17
  *
21
- * const test = new buildkite.team.Team("test", {
22
- * privacy: "VISIBLE",
23
- * defaultTeam: false,
24
- * defaultMemberRole: "MEMBER",
25
- * });
26
- * const unitTests = new buildkite.testsuite.TestSuite("unitTests", {
18
+ * // create a test suite for the main repository
19
+ * const main = new buildkite.testsuite.TestSuite("main", {
27
20
  * defaultBranch: "main",
28
- * teamOwnerId: test.id,
21
+ * teamOwnerId: "VGVhbvDf4eRef20tMzIxMGEfYTctNzEF5g00M8f5s6E2YjYtODNlOGNlZgD6HcBi",
29
22
  * });
30
23
  * ```
24
+ * <!--End PulumiCodeChooser -->
31
25
  */
32
26
  class TestSuite extends pulumi.CustomResource {
33
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"testSuite.js","sourceRoot":"","sources":["../../testsuite/testSuite.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,SAA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,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA3FL,8BA4FC;AA9EG,gBAAgB;AACO,sBAAY,GAAG,yCAAyC,CAAC"}
package/types/input.d.ts CHANGED
@@ -1,4 +1,22 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ export interface ProviderTimeouts {
3
+ /**
4
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
5
+ */
6
+ create?: pulumi.Input<string>;
7
+ /**
8
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
9
+ */
10
+ delete?: pulumi.Input<string>;
11
+ /**
12
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
13
+ */
14
+ read?: pulumi.Input<string>;
15
+ /**
16
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
17
+ */
18
+ update?: pulumi.Input<string>;
19
+ }
2
20
  export declare namespace Pipeline {
3
21
  interface PipelineProviderSettings {
4
22
  /**
@@ -13,33 +31,32 @@ export declare namespace Pipeline {
13
31
  * Whether to create builds for pull requests when labels are added or removed.
14
32
  */
15
33
  buildPullRequestLabelsChanged?: pulumi.Input<boolean>;
34
+ /**
35
+ * Whether to create a build when a pull request changes to "Ready for review".
36
+ */
16
37
  buildPullRequestReadyForReview?: pulumi.Input<boolean>;
17
38
  /**
18
- * Whether to create builds for commits that are part of a Pull Request.
39
+ * Whether to create builds for commits that are part of a pull request.
19
40
  */
20
41
  buildPullRequests?: pulumi.Input<boolean>;
21
42
  /**
22
43
  * Whether to create builds when tags are pushed.
23
- *
24
- * Properties available for Bitbucket Cloud, GitHub, and GitHub Enterprise:
25
44
  */
26
45
  buildTags?: pulumi.Input<boolean>;
27
46
  /**
28
- * A boolean to enable automatically cancelling any running builds for a branch if the branch is deleted.
29
- *
30
- * Additional properties available for GitHub:
47
+ * Automatically cancel running builds for a branch if the branch is deleted.
31
48
  */
32
49
  cancelDeletedBranchBuilds?: pulumi.Input<boolean>;
33
50
  /**
34
- * The condition to evaluate when deciding if a build should run. More details available in [the documentation](https://buildkite.com/docs/pipelines/conditionals#conditionals-in-pipelines)
51
+ * The condition to evaluate when deciding if a build should run. More details available in [the documentation](https://buildkite.com/docs/pipelines/conditionals#conditionals-in-pipelines).
35
52
  */
36
53
  filterCondition?: pulumi.Input<string>;
37
54
  /**
38
- * [true/false] Whether to filter builds to only run when the condition in `filterCondition` is true
55
+ * Whether to filter builds to only run when the condition in `filterCondition` is true.
39
56
  */
40
57
  filterEnabled?: pulumi.Input<boolean>;
41
58
  /**
42
- * Prefix branch names for third-party fork builds to ensure they don't trigger branch conditions. For example, the `master` branch from `some-user` will become `some-user:master`.
59
+ * Prefix branch names for third-party fork builds to ensure they don't trigger branch conditions. For example, the main branch from some-user will become some-user:main.
43
60
  */
44
61
  prefixPullRequestForkBranchNames?: pulumi.Input<boolean>;
45
62
  /**
@@ -55,11 +72,11 @@ export declare namespace Pipeline {
55
72
  */
56
73
  publishCommitStatusPerStep?: pulumi.Input<boolean>;
57
74
  /**
58
- * The branch filtering pattern. Only pull requests on branches matching this pattern will cause builds to be created.
75
+ * Filter pull requests builds by the branch filter.
59
76
  */
60
77
  pullRequestBranchFilterConfiguration?: pulumi.Input<string>;
61
78
  /**
62
- * Whether to limit the creation of builds to specific branches or patterns.
79
+ * Filter pull request builds.
63
80
  */
64
81
  pullRequestBranchFilterEnabled?: pulumi.Input<boolean>;
65
82
  /**
@@ -67,7 +84,7 @@ export declare namespace Pipeline {
67
84
  */
68
85
  separatePullRequestStatuses?: pulumi.Input<boolean>;
69
86
  /**
70
- * Whether to skip creating a new build if an existing build for the commit and branch already exists.
87
+ * Whether to skip creating a new build if an existing build for the commit and branch already exists. This option is only valid if the pipeline uses a GitHub repository.
71
88
  */
72
89
  skipBuildsForExistingCommits?: pulumi.Input<boolean>;
73
90
  /**
@@ -76,16 +93,15 @@ export declare namespace Pipeline {
76
93
  skipPullRequestBuildsForExistingCommits?: pulumi.Input<boolean>;
77
94
  /**
78
95
  * What type of event to trigger builds on. Must be one of:
96
+ * - `code` will create builds when code is pushed to GitHub.
97
+ * - `deployment` will create builds when a deployment is created in GitHub.
98
+ * - `fork` will create builds when the GitHub repository is forked.
99
+ * - `none` will not create any builds based on GitHub activity.
100
+ *
101
+ * > `triggerMode` is only valid if the pipeline uses a GitHub repository.
79
102
  */
80
103
  triggerMode?: pulumi.Input<string>;
81
104
  }
82
- interface PipelineTeam {
83
- accessLevel: pulumi.Input<string>;
84
- pipelineTeamId?: pulumi.Input<string>;
85
- /**
86
- * The slug of the created pipeline.
87
- */
88
- slug: pulumi.Input<string>;
89
- teamId?: pulumi.Input<string>;
90
- }
105
+ }
106
+ export declare namespace config {
91
107
  }