google-apis-cloudbuild_v1alpha1 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7201192713811453ea1cf1a97d4c58c3c21e03db9a64c91a0da09cf0d1619b51
|
4
|
+
data.tar.gz: 90ee9e8ee9ecd93417500fec9a68f4e717e34d63fcfa46d9d8d3d2493d9cdeb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e28ac66cfbfeda3381c71e0233078506db5f5ecf1cc0d60827af0b41a70102bc31adca98bec659e793dead23b83c646a4181283cbf26b5c82bfe20080db5a6c5
|
7
|
+
data.tar.gz: 5413c8069da4282bdf5948bb896edc72dde9013f8c74bd45ba4fb3dd66ef3ee1f4ea397eff63618487a286db78c515a3841e8174b95da434c58aa44cc52436db
|
data/CHANGELOG.md
CHANGED
@@ -167,12 +167,29 @@ module Google
|
|
167
167
|
# @return [Array<String>]
|
168
168
|
attr_accessor :images
|
169
169
|
|
170
|
+
# A list of Maven artifacts to be uploaded to Artifact Registry upon successful
|
171
|
+
# completion of all build steps. Artifacts in the workspace matching specified
|
172
|
+
# paths globs will be uploaded to the specified Artifact Registry repository
|
173
|
+
# using the builder service account's credentials. If any artifacts fail to be
|
174
|
+
# pushed, the build is marked FAILURE.
|
175
|
+
# Corresponds to the JSON property `mavenArtifacts`
|
176
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::MavenArtifact>]
|
177
|
+
attr_accessor :maven_artifacts
|
178
|
+
|
170
179
|
# Files in the workspace to upload to Cloud Storage upon successful completion
|
171
180
|
# of all build steps.
|
172
181
|
# Corresponds to the JSON property `objects`
|
173
182
|
# @return [Google::Apis::CloudbuildV1alpha1::ArtifactObjects]
|
174
183
|
attr_accessor :objects
|
175
184
|
|
185
|
+
# A list of Python packages to be uploaded to Artifact Registry upon successful
|
186
|
+
# completion of all build steps. The build service account credentials will be
|
187
|
+
# used to perform the upload. If any objects fail to be pushed, the build is
|
188
|
+
# marked FAILURE.
|
189
|
+
# Corresponds to the JSON property `pythonPackages`
|
190
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::PythonPackage>]
|
191
|
+
attr_accessor :python_packages
|
192
|
+
|
176
193
|
def initialize(**args)
|
177
194
|
update!(**args)
|
178
195
|
end
|
@@ -180,7 +197,9 @@ module Google
|
|
180
197
|
# Update properties of this object
|
181
198
|
def update!(**args)
|
182
199
|
@images = args[:images] if args.key?(:images)
|
200
|
+
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
183
201
|
@objects = args[:objects] if args.key?(:objects)
|
202
|
+
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
184
203
|
end
|
185
204
|
end
|
186
205
|
|
@@ -1504,6 +1523,55 @@ module Google
|
|
1504
1523
|
end
|
1505
1524
|
end
|
1506
1525
|
|
1526
|
+
# A Maven artifact to upload to Artifact Registry upon successful completion of
|
1527
|
+
# all build steps.
|
1528
|
+
class MavenArtifact
|
1529
|
+
include Google::Apis::Core::Hashable
|
1530
|
+
|
1531
|
+
# Maven `artifactId` value used when uploading the artifact to Artifact Registry.
|
1532
|
+
# Corresponds to the JSON property `artifactId`
|
1533
|
+
# @return [String]
|
1534
|
+
attr_accessor :artifact_id
|
1535
|
+
|
1536
|
+
# Maven `groupId` value used when uploading the artifact to Artifact Registry.
|
1537
|
+
# Corresponds to the JSON property `groupId`
|
1538
|
+
# @return [String]
|
1539
|
+
attr_accessor :group_id
|
1540
|
+
|
1541
|
+
# Path to an artifact in the build's workspace to be uploaded to Artifact
|
1542
|
+
# Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
|
1543
|
+
# my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
|
1544
|
+
# my-app-1.0.SNAPSHOT.jar.
|
1545
|
+
# Corresponds to the JSON property `path`
|
1546
|
+
# @return [String]
|
1547
|
+
attr_accessor :path
|
1548
|
+
|
1549
|
+
# Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$
|
1550
|
+
# PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be
|
1551
|
+
# uploaded to Artifact Registry with this location as a prefix.
|
1552
|
+
# Corresponds to the JSON property `repository`
|
1553
|
+
# @return [String]
|
1554
|
+
attr_accessor :repository
|
1555
|
+
|
1556
|
+
# Maven `version` value used when uploading the artifact to Artifact Registry.
|
1557
|
+
# Corresponds to the JSON property `version`
|
1558
|
+
# @return [String]
|
1559
|
+
attr_accessor :version
|
1560
|
+
|
1561
|
+
def initialize(**args)
|
1562
|
+
update!(**args)
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
# Update properties of this object
|
1566
|
+
def update!(**args)
|
1567
|
+
@artifact_id = args[:artifact_id] if args.key?(:artifact_id)
|
1568
|
+
@group_id = args[:group_id] if args.key?(:group_id)
|
1569
|
+
@path = args[:path] if args.key?(:path)
|
1570
|
+
@repository = args[:repository] if args.key?(:repository)
|
1571
|
+
@version = args[:version] if args.key?(:version)
|
1572
|
+
end
|
1573
|
+
end
|
1574
|
+
|
1507
1575
|
# Network describes the GCP network used to create workers in.
|
1508
1576
|
class Network
|
1509
1577
|
include Google::Apis::Core::Hashable
|
@@ -1908,6 +1976,36 @@ module Google
|
|
1908
1976
|
end
|
1909
1977
|
end
|
1910
1978
|
|
1979
|
+
# Python package to upload to Artifact Registry upon successful completion of
|
1980
|
+
# all build steps. A package can encapsulate multiple objects to be uploaded to
|
1981
|
+
# a single repository.
|
1982
|
+
class PythonPackage
|
1983
|
+
include Google::Apis::Core::Hashable
|
1984
|
+
|
1985
|
+
# Path globs used to match files in the build's workspace. For Python/ Twine,
|
1986
|
+
# this is usually `dist/*`, and sometimes additionally an `.asc` file.
|
1987
|
+
# Corresponds to the JSON property `paths`
|
1988
|
+
# @return [Array<String>]
|
1989
|
+
attr_accessor :paths
|
1990
|
+
|
1991
|
+
# Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$
|
1992
|
+
# PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be
|
1993
|
+
# uploaded to Artifact Registry with this location as a prefix.
|
1994
|
+
# Corresponds to the JSON property `repository`
|
1995
|
+
# @return [String]
|
1996
|
+
attr_accessor :repository
|
1997
|
+
|
1998
|
+
def initialize(**args)
|
1999
|
+
update!(**args)
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
# Update properties of this object
|
2003
|
+
def update!(**args)
|
2004
|
+
@paths = args[:paths] if args.key?(:paths)
|
2005
|
+
@repository = args[:repository] if args.key?(:repository)
|
2006
|
+
end
|
2007
|
+
end
|
2008
|
+
|
1911
2009
|
# Location of the source in a Google Cloud Source Repository.
|
1912
2010
|
class RepoSource
|
1913
2011
|
include Google::Apis::Core::Hashable
|
@@ -2010,11 +2108,21 @@ module Google
|
|
2010
2108
|
# @return [Array<Google::Apis::CloudbuildV1alpha1::BuiltImage>]
|
2011
2109
|
attr_accessor :images
|
2012
2110
|
|
2111
|
+
# Maven artifacts uploaded to Artifact Registry at the end of the build.
|
2112
|
+
# Corresponds to the JSON property `mavenArtifacts`
|
2113
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::UploadedMavenArtifact>]
|
2114
|
+
attr_accessor :maven_artifacts
|
2115
|
+
|
2013
2116
|
# Number of artifacts uploaded. Only populated when artifacts are uploaded.
|
2014
2117
|
# Corresponds to the JSON property `numArtifacts`
|
2015
2118
|
# @return [Fixnum]
|
2016
2119
|
attr_accessor :num_artifacts
|
2017
2120
|
|
2121
|
+
# Python artifacts uploaded to Artifact Registry at the end of the build.
|
2122
|
+
# Corresponds to the JSON property `pythonPackages`
|
2123
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha1::UploadedPythonPackage>]
|
2124
|
+
attr_accessor :python_packages
|
2125
|
+
|
2018
2126
|
def initialize(**args)
|
2019
2127
|
update!(**args)
|
2020
2128
|
end
|
@@ -2026,7 +2134,9 @@ module Google
|
|
2026
2134
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
2027
2135
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
2028
2136
|
@images = args[:images] if args.key?(:images)
|
2137
|
+
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
2029
2138
|
@num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
|
2139
|
+
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
2030
2140
|
end
|
2031
2141
|
end
|
2032
2142
|
|
@@ -2590,6 +2700,70 @@ module Google
|
|
2590
2700
|
end
|
2591
2701
|
end
|
2592
2702
|
|
2703
|
+
# A Maven artifact uploaded using the MavenArtifact directive.
|
2704
|
+
class UploadedMavenArtifact
|
2705
|
+
include Google::Apis::Core::Hashable
|
2706
|
+
|
2707
|
+
# Container message for hashes of byte content of files, used in
|
2708
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
2709
|
+
# Corresponds to the JSON property `fileHashes`
|
2710
|
+
# @return [Google::Apis::CloudbuildV1alpha1::FileHashes]
|
2711
|
+
attr_accessor :file_hashes
|
2712
|
+
|
2713
|
+
# Start and end times for a build execution phase.
|
2714
|
+
# Corresponds to the JSON property `pushTiming`
|
2715
|
+
# @return [Google::Apis::CloudbuildV1alpha1::TimeSpan]
|
2716
|
+
attr_accessor :push_timing
|
2717
|
+
|
2718
|
+
# URI of the uploaded artifact.
|
2719
|
+
# Corresponds to the JSON property `uri`
|
2720
|
+
# @return [String]
|
2721
|
+
attr_accessor :uri
|
2722
|
+
|
2723
|
+
def initialize(**args)
|
2724
|
+
update!(**args)
|
2725
|
+
end
|
2726
|
+
|
2727
|
+
# Update properties of this object
|
2728
|
+
def update!(**args)
|
2729
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
2730
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
2731
|
+
@uri = args[:uri] if args.key?(:uri)
|
2732
|
+
end
|
2733
|
+
end
|
2734
|
+
|
2735
|
+
# Artifact uploaded using the PythonPackage directive.
|
2736
|
+
class UploadedPythonPackage
|
2737
|
+
include Google::Apis::Core::Hashable
|
2738
|
+
|
2739
|
+
# Container message for hashes of byte content of files, used in
|
2740
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
2741
|
+
# Corresponds to the JSON property `fileHashes`
|
2742
|
+
# @return [Google::Apis::CloudbuildV1alpha1::FileHashes]
|
2743
|
+
attr_accessor :file_hashes
|
2744
|
+
|
2745
|
+
# Start and end times for a build execution phase.
|
2746
|
+
# Corresponds to the JSON property `pushTiming`
|
2747
|
+
# @return [Google::Apis::CloudbuildV1alpha1::TimeSpan]
|
2748
|
+
attr_accessor :push_timing
|
2749
|
+
|
2750
|
+
# URI of the uploaded artifact.
|
2751
|
+
# Corresponds to the JSON property `uri`
|
2752
|
+
# @return [String]
|
2753
|
+
attr_accessor :uri
|
2754
|
+
|
2755
|
+
def initialize(**args)
|
2756
|
+
update!(**args)
|
2757
|
+
end
|
2758
|
+
|
2759
|
+
# Update properties of this object
|
2760
|
+
def update!(**args)
|
2761
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
2762
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
2763
|
+
@uri = args[:uri] if args.key?(:uri)
|
2764
|
+
end
|
2765
|
+
end
|
2766
|
+
|
2593
2767
|
# Volume describes a Docker container volume which is mounted into build steps
|
2594
2768
|
# in order to persist files across build step execution.
|
2595
2769
|
class Volume
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbuildV1alpha1
|
18
18
|
# Version of the google-apis-cloudbuild_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220928"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -238,6 +238,12 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
+
class MavenArtifact
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
241
247
|
class Network
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
249
|
|
@@ -304,6 +310,12 @@ module Google
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
305
311
|
end
|
306
312
|
|
313
|
+
class PythonPackage
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
307
319
|
class RepoSource
|
308
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
321
|
|
@@ -412,6 +424,18 @@ module Google
|
|
412
424
|
include Google::Apis::Core::JsonObjectSupport
|
413
425
|
end
|
414
426
|
|
427
|
+
class UploadedMavenArtifact
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
433
|
+
class UploadedPythonPackage
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
415
439
|
class Volume
|
416
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
441
|
|
@@ -477,8 +501,12 @@ module Google
|
|
477
501
|
# @private
|
478
502
|
class Representation < Google::Apis::Core::JsonRepresentation
|
479
503
|
collection :images, as: 'images'
|
504
|
+
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1alpha1::MavenArtifact, decorator: Google::Apis::CloudbuildV1alpha1::MavenArtifact::Representation
|
505
|
+
|
480
506
|
property :objects, as: 'objects', class: Google::Apis::CloudbuildV1alpha1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1alpha1::ArtifactObjects::Representation
|
481
507
|
|
508
|
+
collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1alpha1::PythonPackage, decorator: Google::Apis::CloudbuildV1alpha1::PythonPackage::Representation
|
509
|
+
|
482
510
|
end
|
483
511
|
end
|
484
512
|
|
@@ -822,6 +850,17 @@ module Google
|
|
822
850
|
end
|
823
851
|
end
|
824
852
|
|
853
|
+
class MavenArtifact
|
854
|
+
# @private
|
855
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
856
|
+
property :artifact_id, as: 'artifactId'
|
857
|
+
property :group_id, as: 'groupId'
|
858
|
+
property :path, as: 'path'
|
859
|
+
property :repository, as: 'repository'
|
860
|
+
property :version, as: 'version'
|
861
|
+
end
|
862
|
+
end
|
863
|
+
|
825
864
|
class Network
|
826
865
|
# @private
|
827
866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -931,6 +970,14 @@ module Google
|
|
931
970
|
end
|
932
971
|
end
|
933
972
|
|
973
|
+
class PythonPackage
|
974
|
+
# @private
|
975
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
976
|
+
collection :paths, as: 'paths'
|
977
|
+
property :repository, as: 'repository'
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
934
981
|
class RepoSource
|
935
982
|
# @private
|
936
983
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -955,7 +1002,11 @@ module Google
|
|
955
1002
|
collection :build_step_outputs, as: 'buildStepOutputs'
|
956
1003
|
collection :images, as: 'images', class: Google::Apis::CloudbuildV1alpha1::BuiltImage, decorator: Google::Apis::CloudbuildV1alpha1::BuiltImage::Representation
|
957
1004
|
|
1005
|
+
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1alpha1::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1alpha1::UploadedMavenArtifact::Representation
|
1006
|
+
|
958
1007
|
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
1008
|
+
collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1alpha1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1alpha1::UploadedPythonPackage::Representation
|
1009
|
+
|
959
1010
|
end
|
960
1011
|
end
|
961
1012
|
|
@@ -1116,6 +1167,28 @@ module Google
|
|
1116
1167
|
end
|
1117
1168
|
end
|
1118
1169
|
|
1170
|
+
class UploadedMavenArtifact
|
1171
|
+
# @private
|
1172
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1173
|
+
property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1alpha1::FileHashes, decorator: Google::Apis::CloudbuildV1alpha1::FileHashes::Representation
|
1174
|
+
|
1175
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
1176
|
+
|
1177
|
+
property :uri, as: 'uri'
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
class UploadedPythonPackage
|
1182
|
+
# @private
|
1183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1184
|
+
property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1alpha1::FileHashes, decorator: Google::Apis::CloudbuildV1alpha1::FileHashes::Representation
|
1185
|
+
|
1186
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1alpha1::TimeSpan, decorator: Google::Apis::CloudbuildV1alpha1::TimeSpan::Representation
|
1187
|
+
|
1188
|
+
property :uri, as: 'uri'
|
1189
|
+
end
|
1190
|
+
end
|
1191
|
+
|
1119
1192
|
class Volume
|
1120
1193
|
# @private
|
1121
1194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1alpha1/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|