You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.",
2679
2674
"id": "Artifacts",
2680
2675
"properties": {
2676
+
"goModules": {
2677
+
"description": "Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps. If any objects fail to be pushed, the build is marked FAILURE.",
2678
+
"items": {
2679
+
"$ref": "GoModule"
2680
+
},
2681
+
"type": "array"
2682
+
},
2681
2683
"images": {
2682
2684
"description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.",
2683
2685
"items": {
@@ -3258,6 +3260,10 @@
3258
3260
"description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.",
3259
3261
"type": "boolean"
3260
3262
},
3263
+
"enableStructuredLogging": {
3264
+
"description": "Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs are parsed as structured logs.",
3265
+
"type": "boolean"
3266
+
},
3261
3267
"env": {
3262
3268
"description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".",
3263
3269
"items": {
@@ -3365,12 +3371,14 @@ false
3365
3371
"NONE",
3366
3372
"SHA256",
3367
3373
"MD5",
3374
+
"GO_MODULE_H1",
3368
3375
"SHA512"
3369
3376
],
3370
3377
"enumDescriptions": [
3371
3378
"No hash requested.",
3372
3379
"Use a sha256 hash.",
3373
3380
"Use a md5 hash.",
3381
+
"Dirhash of a Go module's source code which is then hex-encoded.",
3374
3382
"Use a sha512 hash."
3375
3383
],
3376
3384
"type": "string"
@@ -4459,6 +4467,37 @@ false
4459
4467
},
4460
4468
"type": "object"
4461
4469
},
4470
+
"GoModule": {
4471
+
"description": "Go module to upload to Artifact Registry upon successful completion of all build steps. A module refers to all dependencies in a go.mod file.",
4472
+
"id": "GoModule",
4473
+
"properties": {
4474
+
"modulePath": {
4475
+
"description": "Optional. The Go module's \"module path\". e.g. example.com/foo/v2",
4476
+
"type": "string"
4477
+
},
4478
+
"moduleVersion": {
4479
+
"description": "Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release identifiers can also be added by appending a dash and dot separated ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5",
4480
+
"type": "string"
4481
+
},
4482
+
"repositoryLocation": {
4483
+
"description": "Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build\u2019s location.",
4484
+
"type": "string"
4485
+
},
4486
+
"repositoryName": {
4487
+
"description": "Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded to Artifact Registry with this location as a prefix. e.g. my-go-repo",
4488
+
"type": "string"
4489
+
},
4490
+
"repositoryProjectId": {
4491
+
"description": "Optional. Project ID of the Artifact Registry repository. Defaults to the build project.",
4492
+
"type": "string"
4493
+
},
4494
+
"sourcePath": {
4495
+
"description": "Optional. Source path of the go.mod file in the build's workspace. If not specified, this will default to the current directory. e.g. ~/code/go/mypackage",
4496
+
"type": "string"
4497
+
}
4498
+
},
4499
+
"type": "object"
4500
+
},
4462
4501
"Hash": {
4463
4502
"description": "Container message for hash values.",
4464
4503
"id": "Hash",
@@ -4469,12 +4508,14 @@ false
4469
4508
"NONE",
4470
4509
"SHA256",
4471
4510
"MD5",
4511
+
"GO_MODULE_H1",
4472
4512
"SHA512"
4473
4513
],
4474
4514
"enumDescriptions": [
4475
4515
"No hash requested.",
4476
4516
"Use a sha256 hash.",
4477
4517
"Use a md5 hash.",
4518
+
"Dirhash of a Go module's source code which is then hex-encoded.",
4478
4519
"Use a sha512 hash."
4479
4520
],
4480
4521
"type": "string"
@@ -5145,6 +5186,13 @@ false
5145
5186
},
5146
5187
"type": "array"
5147
5188
},
5189
+
"goModules": {
5190
+
"description": "Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.",
5191
+
"items": {
5192
+
"$ref": "UploadedGoModule"
5193
+
},
5194
+
"type": "array"
5195
+
},
5148
5196
"images": {
5149
5197
"description": "Container images that were built as a part of the build.",
5150
5198
"items": {
@@ -5535,6 +5583,26 @@ false
5535
5583
},
5536
5584
"type": "object"
5537
5585
},
5586
+
"UploadedGoModule": {
5587
+
"description": "A Go module artifact uploaded to Artifact Registry using the GoModule directive.",
5588
+
"id": "UploadedGoModule",
5589
+
"properties": {
5590
+
"fileHashes": {
5591
+
"$ref": "FileHashes",
5592
+
"description": "Hash types and values of the Go Module Artifact."
5593
+
},
5594
+
"pushTiming": {
5595
+
"$ref": "TimeSpan",
5596
+
"description": "Output only. Stores timing information for pushing the specified artifact.",
5597
+
"readOnly": true
5598
+
},
5599
+
"uri": {
5600
+
"description": "URI of the uploaded artifact.",
5601
+
"type": "string"
5602
+
}
5603
+
},
5604
+
"type": "object"
5605
+
},
5538
5606
"UploadedMavenArtifact": {
5539
5607
"description": "A Maven artifact uploaded using the MavenArtifact directive.",
0 commit comments