@schemastore/cloudbuild 0.0.7 → 0.0.8
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/README.md +22 -6
- package/index.d.ts +13 -31
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for cloudbuild
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/cloudbuild
|
|
7
|
+
yarn add @schemastore/cloudbuild
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for cloudbuild.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as cloudbuild from '@schemastore/cloudbuild';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Note
|
|
21
|
+
|
|
22
|
+
The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
|
|
9
23
|
|
|
10
24
|
## Additional Details
|
|
11
|
-
|
|
25
|
+
|
|
26
|
+
* [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/cloudbuild)
|
|
27
|
+
* Last updated: Sat, Jul 19, 2025, 17:01:19 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface GoogleCloudBuildBuildConfigFile {
|
|
|
44
44
|
* Substitutions data for `Build` resource.
|
|
45
45
|
*/
|
|
46
46
|
substitutions?: {
|
|
47
|
-
[k: string]: string;
|
|
47
|
+
[k: string]: string | undefined;
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
50
|
* A list of images to be pushed upon the successful completion of all build
|
|
@@ -74,7 +74,7 @@ export interface GoogleCloudBuildBuildConfigFile {
|
|
|
74
74
|
* Secrets to decrypt using Cloud Key Management Service.
|
|
75
75
|
*/
|
|
76
76
|
secrets?: Secret[];
|
|
77
|
-
[k: string]: unknown;
|
|
77
|
+
[k: string]: unknown | undefined;
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* A step in the build pipeline.
|
|
@@ -170,7 +170,7 @@ export interface BuildStep {
|
|
|
170
170
|
* the step's execution.
|
|
171
171
|
*/
|
|
172
172
|
dir?: string;
|
|
173
|
-
[k: string]: unknown;
|
|
173
|
+
[k: string]: unknown | undefined;
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
176
|
* Volume describes a Docker container volume which is mounted into build steps
|
|
@@ -191,7 +191,7 @@ export interface Volume {
|
|
|
191
191
|
* same build step or with certain reserved volume paths.
|
|
192
192
|
*/
|
|
193
193
|
path?: string;
|
|
194
|
-
[k: string]: unknown;
|
|
194
|
+
[k: string]: unknown | undefined;
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
197
|
* Special options for this build.
|
|
@@ -200,25 +200,7 @@ export interface BuildOptions {
|
|
|
200
200
|
/**
|
|
201
201
|
* Compute Engine machine type on which to run the build.
|
|
202
202
|
*/
|
|
203
|
-
machineType?:
|
|
204
|
-
| "E2_HIGHCPU_2"
|
|
205
|
-
| "E2_HIGHCPU_4"
|
|
206
|
-
| "E2_HIGHCPU_8"
|
|
207
|
-
| "E2_HIGHCPU_16"
|
|
208
|
-
| "E2_HIGHCPU_32"
|
|
209
|
-
| "E2_HIGHMEM_2"
|
|
210
|
-
| "E2_HIGHMEM_4"
|
|
211
|
-
| "E2_HIGHMEM_8"
|
|
212
|
-
| "E2_HIGHMEM_16"
|
|
213
|
-
| "E2_MEDIUM"
|
|
214
|
-
| "E2_STANDARD_2"
|
|
215
|
-
| "E2_STANDARD_4"
|
|
216
|
-
| "E2_STANDARD_8"
|
|
217
|
-
| "E2_STANDARD_16"
|
|
218
|
-
| "E2_STANDARD_32"
|
|
219
|
-
| "N1_HIGHCPU_8"
|
|
220
|
-
| "N1_HIGHCPU_32"
|
|
221
|
-
| "UNSPECIFIED";
|
|
203
|
+
machineType?: "UNSPECIFIED" | "N1_HIGHCPU_8" | "N1_HIGHCPU_32" | "E2_HIGHCPU_8" | "E2_HIGHCPU_32";
|
|
222
204
|
/**
|
|
223
205
|
* Global list of volumes to mount for ALL build steps
|
|
224
206
|
*
|
|
@@ -285,7 +267,7 @@ export interface BuildOptions {
|
|
|
285
267
|
* Requested hash for SourceProvenance.
|
|
286
268
|
*/
|
|
287
269
|
sourceProvenanceHash?: ("NONE" | "SHA256" | "MD5")[];
|
|
288
|
-
[k: string]: unknown;
|
|
270
|
+
[k: string]: unknown | undefined;
|
|
289
271
|
}
|
|
290
272
|
/**
|
|
291
273
|
* The location of the source files to build.
|
|
@@ -293,7 +275,7 @@ export interface BuildOptions {
|
|
|
293
275
|
export interface Source {
|
|
294
276
|
storageSource?: StorageSource;
|
|
295
277
|
repoSource?: RepoSource;
|
|
296
|
-
[k: string]: unknown;
|
|
278
|
+
[k: string]: unknown | undefined;
|
|
297
279
|
}
|
|
298
280
|
/**
|
|
299
281
|
* If provided, get the source from this location in Google Cloud Storage.
|
|
@@ -317,7 +299,7 @@ export interface StorageSource {
|
|
|
317
299
|
* build.
|
|
318
300
|
*/
|
|
319
301
|
object?: string;
|
|
320
|
-
[k: string]: unknown;
|
|
302
|
+
[k: string]: unknown | undefined;
|
|
321
303
|
}
|
|
322
304
|
/**
|
|
323
305
|
* If provided, get the source from this location in a Cloud Source
|
|
@@ -353,7 +335,7 @@ export interface RepoSource {
|
|
|
353
335
|
* Name of the branch to build.
|
|
354
336
|
*/
|
|
355
337
|
branchName?: string;
|
|
356
|
-
[k: string]: unknown;
|
|
338
|
+
[k: string]: unknown | undefined;
|
|
357
339
|
}
|
|
358
340
|
/**
|
|
359
341
|
* Artifacts produced by the build that should be uploaded upon
|
|
@@ -373,7 +355,7 @@ export interface Artifacts {
|
|
|
373
355
|
* If any of the images fail to be pushed, the build is marked FAILURE.
|
|
374
356
|
*/
|
|
375
357
|
images?: string[];
|
|
376
|
-
[k: string]: unknown;
|
|
358
|
+
[k: string]: unknown | undefined;
|
|
377
359
|
}
|
|
378
360
|
/**
|
|
379
361
|
* A list of objects to be uploaded to Cloud Storage upon successful
|
|
@@ -402,7 +384,7 @@ export interface ArtifactObjects {
|
|
|
402
384
|
* Path globs used to match files in the build's workspace.
|
|
403
385
|
*/
|
|
404
386
|
paths?: string[];
|
|
405
|
-
[k: string]: unknown;
|
|
387
|
+
[k: string]: unknown | undefined;
|
|
406
388
|
}
|
|
407
389
|
/**
|
|
408
390
|
* Pairs a set of secret environment variables containing encrypted
|
|
@@ -422,7 +404,7 @@ export interface Secret {
|
|
|
422
404
|
* build's secrets.
|
|
423
405
|
*/
|
|
424
406
|
secretEnv?: {
|
|
425
|
-
[k: string]: string;
|
|
407
|
+
[k: string]: string | undefined;
|
|
426
408
|
};
|
|
427
|
-
[k: string]: unknown;
|
|
409
|
+
[k: string]: unknown | undefined;
|
|
428
410
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/cloudbuild",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/cloudbuild",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "0667c383101f7aac9a70d29edafb2792c710db18a84edc94c245c2d773e50882",
|
|
13
|
+
"version": "0.0.8"
|
|
14
|
+
}
|