aws-sdk-codebuild 1.35.0 → 1.36.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +112 -1
- data/lib/aws-sdk-codebuild/client_api.rb +6 -0
- data/lib/aws-sdk-codebuild/types.rb +180 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae8ce0f5c66bf9f381a7c7e7638c20f0c0a5b22f
|
4
|
+
data.tar.gz: a2e360a42a0750bd7ff37037d53233f5d6e4b43d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cbb0e40189349af60e61c8bf8ed8b44aa9590dc9fe33d2284e5ed978e746450f9045087493193069802a1dc6df369ceff401d580cd562030c51db8799db0764
|
7
|
+
data.tar.gz: 74cae88dd5f46d2d802573dad7b91572f13e0f48726bb4c03d290b4c49d9df7558e253316a31bb4a40d73db9de612d19d2d1c26f866ec2cc2d692dd28f76cdca
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -714,6 +714,10 @@ module Aws::CodeBuild
|
|
714
714
|
# resp.projects[0].secondary_sources[0].report_build_status #=> Boolean
|
715
715
|
# resp.projects[0].secondary_sources[0].insecure_ssl #=> Boolean
|
716
716
|
# resp.projects[0].secondary_sources[0].source_identifier #=> String
|
717
|
+
# resp.projects[0].source_version #=> String
|
718
|
+
# resp.projects[0].secondary_source_versions #=> Array
|
719
|
+
# resp.projects[0].secondary_source_versions[0].source_identifier #=> String
|
720
|
+
# resp.projects[0].secondary_source_versions[0].source_version #=> String
|
717
721
|
# resp.projects[0].artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
718
722
|
# resp.projects[0].artifacts.location #=> String
|
719
723
|
# resp.projects[0].artifacts.path #=> String
|
@@ -807,6 +811,44 @@ module Aws::CodeBuild
|
|
807
811
|
# @option params [Array<Types::ProjectSource>] :secondary_sources
|
808
812
|
# An array of `ProjectSource` objects.
|
809
813
|
#
|
814
|
+
# @option params [String] :source_version
|
815
|
+
# A version of the build input to be built for this project. If not
|
816
|
+
# specified, the latest version is used. If specified, it must be one
|
817
|
+
# of:
|
818
|
+
#
|
819
|
+
# * For AWS CodeCommit: the commit ID to use.
|
820
|
+
#
|
821
|
+
# * For GitHub: the commit ID, pull request ID, branch name, or tag name
|
822
|
+
# that corresponds to the version of the source code you want to
|
823
|
+
# build. If a pull request ID is specified, it must use the format
|
824
|
+
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
825
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
826
|
+
# the default branch's HEAD commit ID is used.
|
827
|
+
#
|
828
|
+
# * For Bitbucket: the commit ID, branch name, or tag name that
|
829
|
+
# corresponds to the version of the source code you want to build. If
|
830
|
+
# a branch name is specified, the branch's HEAD commit ID is used. If
|
831
|
+
# not specified, the default branch's HEAD commit ID is used.
|
832
|
+
#
|
833
|
+
# * For Amazon Simple Storage Service (Amazon S3): the version ID of the
|
834
|
+
# object that represents the build input ZIP file to use.
|
835
|
+
#
|
836
|
+
# If `sourceVersion` is specified at the build level, then that version
|
837
|
+
# takes precedence over this `sourceVersion` (at the project level).
|
838
|
+
#
|
839
|
+
# For more information, see [Source Version Sample with CodeBuild][1] in
|
840
|
+
# the *AWS CodeBuild User Guide*.
|
841
|
+
#
|
842
|
+
#
|
843
|
+
#
|
844
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
845
|
+
#
|
846
|
+
# @option params [Array<Types::ProjectSourceVersion>] :secondary_source_versions
|
847
|
+
# An array of `ProjectSourceVersion` objects. If
|
848
|
+
# `secondarySourceVersions` is specified at the build level, then they
|
849
|
+
# take precedence over these `secondarySourceVersions` (at the project
|
850
|
+
# level).
|
851
|
+
#
|
810
852
|
# @option params [required, Types::ProjectArtifacts] :artifacts
|
811
853
|
# Information about the build output artifacts for the build project.
|
812
854
|
#
|
@@ -907,6 +949,13 @@ module Aws::CodeBuild
|
|
907
949
|
# source_identifier: "String",
|
908
950
|
# },
|
909
951
|
# ],
|
952
|
+
# source_version: "String",
|
953
|
+
# secondary_source_versions: [
|
954
|
+
# {
|
955
|
+
# source_identifier: "String", # required
|
956
|
+
# source_version: "String", # required
|
957
|
+
# },
|
958
|
+
# ],
|
910
959
|
# artifacts: { # required
|
911
960
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
912
961
|
# location: "String",
|
@@ -1011,6 +1060,10 @@ module Aws::CodeBuild
|
|
1011
1060
|
# resp.project.secondary_sources[0].report_build_status #=> Boolean
|
1012
1061
|
# resp.project.secondary_sources[0].insecure_ssl #=> Boolean
|
1013
1062
|
# resp.project.secondary_sources[0].source_identifier #=> String
|
1063
|
+
# resp.project.source_version #=> String
|
1064
|
+
# resp.project.secondary_source_versions #=> Array
|
1065
|
+
# resp.project.secondary_source_versions[0].source_identifier #=> String
|
1066
|
+
# resp.project.secondary_source_versions[0].source_version #=> String
|
1014
1067
|
# resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
1015
1068
|
# resp.project.artifacts.location #=> String
|
1016
1069
|
# resp.project.artifacts.path #=> String
|
@@ -1562,6 +1615,16 @@ module Aws::CodeBuild
|
|
1562
1615
|
# * For Amazon Simple Storage Service (Amazon S3): the version ID of the
|
1563
1616
|
# object that represents the build input ZIP file to use.
|
1564
1617
|
#
|
1618
|
+
# If `sourceVersion` is specified at the project level, then this
|
1619
|
+
# `sourceVersion` (at the build level) takes precedence.
|
1620
|
+
#
|
1621
|
+
# For more information, see [Source Version Sample with CodeBuild][1] in
|
1622
|
+
# the *AWS CodeBuild User Guide*.
|
1623
|
+
#
|
1624
|
+
#
|
1625
|
+
#
|
1626
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
1627
|
+
#
|
1565
1628
|
# @option params [Types::ProjectArtifacts] :artifacts_override
|
1566
1629
|
# Build output artifact settings that override, for this build only, the
|
1567
1630
|
# latest ones already defined in the build project.
|
@@ -2033,6 +2096,43 @@ module Aws::CodeBuild
|
|
2033
2096
|
# @option params [Array<Types::ProjectSource>] :secondary_sources
|
2034
2097
|
# An array of `ProjectSource` objects.
|
2035
2098
|
#
|
2099
|
+
# @option params [String] :source_version
|
2100
|
+
# A version of the build input to be built for this project. If not
|
2101
|
+
# specified, the latest version is used. If specified, it must be one
|
2102
|
+
# of:
|
2103
|
+
#
|
2104
|
+
# * For AWS CodeCommit: the commit ID to use.
|
2105
|
+
#
|
2106
|
+
# * For GitHub: the commit ID, pull request ID, branch name, or tag name
|
2107
|
+
# that corresponds to the version of the source code you want to
|
2108
|
+
# build. If a pull request ID is specified, it must use the format
|
2109
|
+
# `pr/pull-request-ID` (for example `pr/25`). If a branch name is
|
2110
|
+
# specified, the branch's HEAD commit ID is used. If not specified,
|
2111
|
+
# the default branch's HEAD commit ID is used.
|
2112
|
+
#
|
2113
|
+
# * For Bitbucket: the commit ID, branch name, or tag name that
|
2114
|
+
# corresponds to the version of the source code you want to build. If
|
2115
|
+
# a branch name is specified, the branch's HEAD commit ID is used. If
|
2116
|
+
# not specified, the default branch's HEAD commit ID is used.
|
2117
|
+
#
|
2118
|
+
# * For Amazon Simple Storage Service (Amazon S3): the version ID of the
|
2119
|
+
# object that represents the build input ZIP file to use.
|
2120
|
+
#
|
2121
|
+
# If `sourceVersion` is specified at the build level, then that version
|
2122
|
+
# takes precedence over this `sourceVersion` (at the project level).
|
2123
|
+
#
|
2124
|
+
# For more information, see [Source Version Sample with CodeBuild][1] in
|
2125
|
+
# the *AWS CodeBuild User Guide*.
|
2126
|
+
#
|
2127
|
+
#
|
2128
|
+
#
|
2129
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
2130
|
+
#
|
2131
|
+
# @option params [Array<Types::ProjectSourceVersion>] :secondary_source_versions
|
2132
|
+
# An array of `ProjectSourceVersion` objects. If
|
2133
|
+
# `secondarySourceVersions` is specified at the build level, then they
|
2134
|
+
# take over these `secondarySourceVersions` (at the project level).
|
2135
|
+
#
|
2036
2136
|
# @option params [Types::ProjectArtifacts] :artifacts
|
2037
2137
|
# Information to be changed about the build output artifacts for the
|
2038
2138
|
# build project.
|
@@ -2134,6 +2234,13 @@ module Aws::CodeBuild
|
|
2134
2234
|
# source_identifier: "String",
|
2135
2235
|
# },
|
2136
2236
|
# ],
|
2237
|
+
# source_version: "String",
|
2238
|
+
# secondary_source_versions: [
|
2239
|
+
# {
|
2240
|
+
# source_identifier: "String", # required
|
2241
|
+
# source_version: "String", # required
|
2242
|
+
# },
|
2243
|
+
# ],
|
2137
2244
|
# artifacts: {
|
2138
2245
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
2139
2246
|
# location: "String",
|
@@ -2238,6 +2345,10 @@ module Aws::CodeBuild
|
|
2238
2345
|
# resp.project.secondary_sources[0].report_build_status #=> Boolean
|
2239
2346
|
# resp.project.secondary_sources[0].insecure_ssl #=> Boolean
|
2240
2347
|
# resp.project.secondary_sources[0].source_identifier #=> String
|
2348
|
+
# resp.project.source_version #=> String
|
2349
|
+
# resp.project.secondary_source_versions #=> Array
|
2350
|
+
# resp.project.secondary_source_versions[0].source_identifier #=> String
|
2351
|
+
# resp.project.secondary_source_versions[0].source_version #=> String
|
2241
2352
|
# resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
|
2242
2353
|
# resp.project.artifacts.location #=> String
|
2243
2354
|
# resp.project.artifacts.path #=> String
|
@@ -2401,7 +2512,7 @@ module Aws::CodeBuild
|
|
2401
2512
|
params: params,
|
2402
2513
|
config: config)
|
2403
2514
|
context[:gem_name] = 'aws-sdk-codebuild'
|
2404
|
-
context[:gem_version] = '1.
|
2515
|
+
context[:gem_version] = '1.36.0'
|
2405
2516
|
Seahorse::Client::Request.new(handlers, context)
|
2406
2517
|
end
|
2407
2518
|
|
@@ -231,6 +231,8 @@ module Aws::CodeBuild
|
|
231
231
|
CreateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
232
232
|
CreateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, required: true, location_name: "source"))
|
233
233
|
CreateProjectInput.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
|
234
|
+
CreateProjectInput.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "sourceVersion"))
|
235
|
+
CreateProjectInput.add_member(:secondary_source_versions, Shapes::ShapeRef.new(shape: ProjectSecondarySourceVersions, location_name: "secondarySourceVersions"))
|
234
236
|
CreateProjectInput.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, required: true, location_name: "artifacts"))
|
235
237
|
CreateProjectInput.add_member(:secondary_artifacts, Shapes::ShapeRef.new(shape: ProjectArtifactsList, location_name: "secondaryArtifacts"))
|
236
238
|
CreateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
@@ -384,6 +386,8 @@ module Aws::CodeBuild
|
|
384
386
|
Project.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
385
387
|
Project.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
|
386
388
|
Project.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
|
389
|
+
Project.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "sourceVersion"))
|
390
|
+
Project.add_member(:secondary_source_versions, Shapes::ShapeRef.new(shape: ProjectSecondarySourceVersions, location_name: "secondarySourceVersions"))
|
387
391
|
Project.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifacts"))
|
388
392
|
Project.add_member(:secondary_artifacts, Shapes::ShapeRef.new(shape: ProjectArtifactsList, location_name: "secondaryArtifacts"))
|
389
393
|
Project.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
@@ -531,6 +535,8 @@ module Aws::CodeBuild
|
|
531
535
|
UpdateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
532
536
|
UpdateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
|
533
537
|
UpdateProjectInput.add_member(:secondary_sources, Shapes::ShapeRef.new(shape: ProjectSources, location_name: "secondarySources"))
|
538
|
+
UpdateProjectInput.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "sourceVersion"))
|
539
|
+
UpdateProjectInput.add_member(:secondary_source_versions, Shapes::ShapeRef.new(shape: ProjectSecondarySourceVersions, location_name: "secondarySourceVersions"))
|
534
540
|
UpdateProjectInput.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifacts"))
|
535
541
|
UpdateProjectInput.add_member(:secondary_artifacts, Shapes::ShapeRef.new(shape: ProjectArtifactsList, location_name: "secondaryArtifacts"))
|
536
542
|
UpdateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
@@ -151,7 +151,15 @@ module Aws::CodeBuild
|
|
151
151
|
#
|
152
152
|
# @!attribute [rw] source_version
|
153
153
|
# Any version identifier for the version of the source code to be
|
154
|
-
# built.
|
154
|
+
# built. If `sourceVersion` is specified at the project level, then
|
155
|
+
# this `sourceVersion` (at the build level) takes precedence.
|
156
|
+
#
|
157
|
+
# For more information, see [Source Version Sample with CodeBuild][1]
|
158
|
+
# in the *AWS CodeBuild User Guide*.
|
159
|
+
#
|
160
|
+
#
|
161
|
+
#
|
162
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
155
163
|
# @return [String]
|
156
164
|
#
|
157
165
|
# @!attribute [rw] resolved_source_version
|
@@ -568,6 +576,13 @@ module Aws::CodeBuild
|
|
568
576
|
# source_identifier: "String",
|
569
577
|
# },
|
570
578
|
# ],
|
579
|
+
# source_version: "String",
|
580
|
+
# secondary_source_versions: [
|
581
|
+
# {
|
582
|
+
# source_identifier: "String", # required
|
583
|
+
# source_version: "String", # required
|
584
|
+
# },
|
585
|
+
# ],
|
571
586
|
# artifacts: { # required
|
572
587
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
573
588
|
# location: "String",
|
@@ -662,6 +677,48 @@ module Aws::CodeBuild
|
|
662
677
|
# An array of `ProjectSource` objects.
|
663
678
|
# @return [Array<Types::ProjectSource>]
|
664
679
|
#
|
680
|
+
# @!attribute [rw] source_version
|
681
|
+
# A version of the build input to be built for this project. If not
|
682
|
+
# specified, the latest version is used. If specified, it must be one
|
683
|
+
# of:
|
684
|
+
#
|
685
|
+
# * For AWS CodeCommit: the commit ID to use.
|
686
|
+
#
|
687
|
+
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
688
|
+
# name that corresponds to the version of the source code you want
|
689
|
+
# to build. If a pull request ID is specified, it must use the
|
690
|
+
# format `pr/pull-request-ID` (for example `pr/25`). If a branch
|
691
|
+
# name is specified, the branch's HEAD commit ID is used. If not
|
692
|
+
# specified, the default branch's HEAD commit ID is used.
|
693
|
+
#
|
694
|
+
# * For Bitbucket: the commit ID, branch name, or tag name that
|
695
|
+
# corresponds to the version of the source code you want to build.
|
696
|
+
# If a branch name is specified, the branch's HEAD commit ID is
|
697
|
+
# used. If not specified, the default branch's HEAD commit ID is
|
698
|
+
# used.
|
699
|
+
#
|
700
|
+
# * For Amazon Simple Storage Service (Amazon S3): the version ID of
|
701
|
+
# the object that represents the build input ZIP file to use.
|
702
|
+
#
|
703
|
+
# If `sourceVersion` is specified at the build level, then that
|
704
|
+
# version takes precedence over this `sourceVersion` (at the project
|
705
|
+
# level).
|
706
|
+
#
|
707
|
+
# For more information, see [Source Version Sample with CodeBuild][1]
|
708
|
+
# in the *AWS CodeBuild User Guide*.
|
709
|
+
#
|
710
|
+
#
|
711
|
+
#
|
712
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
713
|
+
# @return [String]
|
714
|
+
#
|
715
|
+
# @!attribute [rw] secondary_source_versions
|
716
|
+
# An array of `ProjectSourceVersion` objects. If
|
717
|
+
# `secondarySourceVersions` is specified at the build level, then they
|
718
|
+
# take precedence over these `secondarySourceVersions` (at the project
|
719
|
+
# level).
|
720
|
+
# @return [Array<Types::ProjectSourceVersion>]
|
721
|
+
#
|
665
722
|
# @!attribute [rw] artifacts
|
666
723
|
# Information about the build output artifacts for the build project.
|
667
724
|
# @return [Types::ProjectArtifacts]
|
@@ -740,6 +797,8 @@ module Aws::CodeBuild
|
|
740
797
|
:description,
|
741
798
|
:source,
|
742
799
|
:secondary_sources,
|
800
|
+
:source_version,
|
801
|
+
:secondary_source_versions,
|
743
802
|
:artifacts,
|
744
803
|
:secondary_artifacts,
|
745
804
|
:cache,
|
@@ -1468,6 +1527,47 @@ module Aws::CodeBuild
|
|
1468
1527
|
# An array of `ProjectSource` objects.
|
1469
1528
|
# @return [Array<Types::ProjectSource>]
|
1470
1529
|
#
|
1530
|
+
# @!attribute [rw] source_version
|
1531
|
+
# A version of the build input to be built for this project. If not
|
1532
|
+
# specified, the latest version is used. If specified, it must be one
|
1533
|
+
# of:
|
1534
|
+
#
|
1535
|
+
# * For AWS CodeCommit: the commit ID to use.
|
1536
|
+
#
|
1537
|
+
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
1538
|
+
# name that corresponds to the version of the source code you want
|
1539
|
+
# to build. If a pull request ID is specified, it must use the
|
1540
|
+
# format `pr/pull-request-ID` (for example `pr/25`). If a branch
|
1541
|
+
# name is specified, the branch's HEAD commit ID is used. If not
|
1542
|
+
# specified, the default branch's HEAD commit ID is used.
|
1543
|
+
#
|
1544
|
+
# * For Bitbucket: the commit ID, branch name, or tag name that
|
1545
|
+
# corresponds to the version of the source code you want to build.
|
1546
|
+
# If a branch name is specified, the branch's HEAD commit ID is
|
1547
|
+
# used. If not specified, the default branch's HEAD commit ID is
|
1548
|
+
# used.
|
1549
|
+
#
|
1550
|
+
# * For Amazon Simple Storage Service (Amazon S3): the version ID of
|
1551
|
+
# the object that represents the build input ZIP file to use.
|
1552
|
+
#
|
1553
|
+
# If `sourceVersion` is specified at the build level, then that
|
1554
|
+
# version takes precedence over this `sourceVersion` (at the project
|
1555
|
+
# level).
|
1556
|
+
#
|
1557
|
+
# For more information, see [Source Version Sample with CodeBuild][1]
|
1558
|
+
# in the *AWS CodeBuild User Guide*.
|
1559
|
+
#
|
1560
|
+
#
|
1561
|
+
#
|
1562
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
1563
|
+
# @return [String]
|
1564
|
+
#
|
1565
|
+
# @!attribute [rw] secondary_source_versions
|
1566
|
+
# An array of `ProjectSourceVersion` objects. If
|
1567
|
+
# `secondarySourceVersions` is specified at the build level, then they
|
1568
|
+
# take over these `secondarySourceVersions` (at the project level).
|
1569
|
+
# @return [Array<Types::ProjectSourceVersion>]
|
1570
|
+
#
|
1471
1571
|
# @!attribute [rw] artifacts
|
1472
1572
|
# Information about the build output artifacts for the build project.
|
1473
1573
|
# @return [Types::ProjectArtifacts]
|
@@ -1557,6 +1657,8 @@ module Aws::CodeBuild
|
|
1557
1657
|
:description,
|
1558
1658
|
:source,
|
1559
1659
|
:secondary_sources,
|
1660
|
+
:source_version,
|
1661
|
+
:secondary_source_versions,
|
1560
1662
|
:artifacts,
|
1561
1663
|
:secondary_artifacts,
|
1562
1664
|
:cache,
|
@@ -1816,7 +1918,7 @@ module Aws::CodeBuild
|
|
1816
1918
|
# Docker images. It can prevent the performance issues caused by
|
1817
1919
|
# pulling large Docker images down from the network.
|
1818
1920
|
#
|
1819
|
-
# <note markdown="1"> * You can use a Docker layer cache in the Linux
|
1921
|
+
# <note markdown="1"> * You can use a Docker layer cache in the Linux environment only.
|
1820
1922
|
#
|
1821
1923
|
# * The `privileged` flag must be set so that your project has the
|
1822
1924
|
# required Docker permissions.
|
@@ -1930,15 +2032,18 @@ module Aws::CodeBuild
|
|
1930
2032
|
# If the operating system's base image is Ubuntu Linux:
|
1931
2033
|
#
|
1932
2034
|
# `- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock
|
1933
|
-
# --host=tcp://0.0.0.0:2375 --storage-driver=overlay
|
1934
|
-
# -c "until docker info; do echo .; sleep 1; done"`
|
2035
|
+
# --host=tcp://0.0.0.0:2375 --storage-driver=overlay&`
|
1935
2036
|
#
|
1936
|
-
#
|
1937
|
-
#
|
2037
|
+
# `- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"`
|
2038
|
+
#
|
2039
|
+
# If the operating system's base image is Alpine Linux and the
|
2040
|
+
# previous command does not work, add the `-t` argument to `timeout`\:
|
1938
2041
|
#
|
1939
2042
|
# `- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock
|
1940
|
-
# --host=tcp://0.0.0.0:2375 --storage-driver=overlay
|
1941
|
-
#
|
2043
|
+
# --host=tcp://0.0.0.0:2375 --storage-driver=overlay&`
|
2044
|
+
#
|
2045
|
+
# `- timeout -t 15 sh -c "until docker info; do echo .; sleep 1;
|
2046
|
+
# done"`
|
1942
2047
|
# @return [Boolean]
|
1943
2048
|
#
|
1944
2049
|
# @!attribute [rw] certificate
|
@@ -2164,6 +2269,13 @@ module Aws::CodeBuild
|
|
2164
2269
|
#
|
2165
2270
|
# * For Amazon Simple Storage Service (Amazon S3): the version ID of
|
2166
2271
|
# the object that represents the build input ZIP file to use.
|
2272
|
+
#
|
2273
|
+
# For more information, see [Source Version Sample with CodeBuild][1]
|
2274
|
+
# in the *AWS CodeBuild User Guide*.
|
2275
|
+
#
|
2276
|
+
#
|
2277
|
+
#
|
2278
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
2167
2279
|
# @return [String]
|
2168
2280
|
#
|
2169
2281
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSourceVersion AWS API Documentation
|
@@ -2465,6 +2577,16 @@ module Aws::CodeBuild
|
|
2465
2577
|
#
|
2466
2578
|
# * For Amazon Simple Storage Service (Amazon S3): the version ID of
|
2467
2579
|
# the object that represents the build input ZIP file to use.
|
2580
|
+
#
|
2581
|
+
# If `sourceVersion` is specified at the project level, then this
|
2582
|
+
# `sourceVersion` (at the build level) takes precedence.
|
2583
|
+
#
|
2584
|
+
# For more information, see [Source Version Sample with CodeBuild][1]
|
2585
|
+
# in the *AWS CodeBuild User Guide*.
|
2586
|
+
#
|
2587
|
+
#
|
2588
|
+
#
|
2589
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
2468
2590
|
# @return [String]
|
2469
2591
|
#
|
2470
2592
|
# @!attribute [rw] artifacts_override
|
@@ -2749,6 +2871,13 @@ module Aws::CodeBuild
|
|
2749
2871
|
# source_identifier: "String",
|
2750
2872
|
# },
|
2751
2873
|
# ],
|
2874
|
+
# source_version: "String",
|
2875
|
+
# secondary_source_versions: [
|
2876
|
+
# {
|
2877
|
+
# source_identifier: "String", # required
|
2878
|
+
# source_version: "String", # required
|
2879
|
+
# },
|
2880
|
+
# ],
|
2752
2881
|
# artifacts: {
|
2753
2882
|
# type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
|
2754
2883
|
# location: "String",
|
@@ -2848,6 +2977,47 @@ module Aws::CodeBuild
|
|
2848
2977
|
# An array of `ProjectSource` objects.
|
2849
2978
|
# @return [Array<Types::ProjectSource>]
|
2850
2979
|
#
|
2980
|
+
# @!attribute [rw] source_version
|
2981
|
+
# A version of the build input to be built for this project. If not
|
2982
|
+
# specified, the latest version is used. If specified, it must be one
|
2983
|
+
# of:
|
2984
|
+
#
|
2985
|
+
# * For AWS CodeCommit: the commit ID to use.
|
2986
|
+
#
|
2987
|
+
# * For GitHub: the commit ID, pull request ID, branch name, or tag
|
2988
|
+
# name that corresponds to the version of the source code you want
|
2989
|
+
# to build. If a pull request ID is specified, it must use the
|
2990
|
+
# format `pr/pull-request-ID` (for example `pr/25`). If a branch
|
2991
|
+
# name is specified, the branch's HEAD commit ID is used. If not
|
2992
|
+
# specified, the default branch's HEAD commit ID is used.
|
2993
|
+
#
|
2994
|
+
# * For Bitbucket: the commit ID, branch name, or tag name that
|
2995
|
+
# corresponds to the version of the source code you want to build.
|
2996
|
+
# If a branch name is specified, the branch's HEAD commit ID is
|
2997
|
+
# used. If not specified, the default branch's HEAD commit ID is
|
2998
|
+
# used.
|
2999
|
+
#
|
3000
|
+
# * For Amazon Simple Storage Service (Amazon S3): the version ID of
|
3001
|
+
# the object that represents the build input ZIP file to use.
|
3002
|
+
#
|
3003
|
+
# If `sourceVersion` is specified at the build level, then that
|
3004
|
+
# version takes precedence over this `sourceVersion` (at the project
|
3005
|
+
# level).
|
3006
|
+
#
|
3007
|
+
# For more information, see [Source Version Sample with CodeBuild][1]
|
3008
|
+
# in the *AWS CodeBuild User Guide*.
|
3009
|
+
#
|
3010
|
+
#
|
3011
|
+
#
|
3012
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html
|
3013
|
+
# @return [String]
|
3014
|
+
#
|
3015
|
+
# @!attribute [rw] secondary_source_versions
|
3016
|
+
# An array of `ProjectSourceVersion` objects. If
|
3017
|
+
# `secondarySourceVersions` is specified at the build level, then they
|
3018
|
+
# take over these `secondarySourceVersions` (at the project level).
|
3019
|
+
# @return [Array<Types::ProjectSourceVersion>]
|
3020
|
+
#
|
2851
3021
|
# @!attribute [rw] artifacts
|
2852
3022
|
# Information to be changed about the build output artifacts for the
|
2853
3023
|
# build project.
|
@@ -2927,6 +3097,8 @@ module Aws::CodeBuild
|
|
2927
3097
|
:description,
|
2928
3098
|
:source,
|
2929
3099
|
:secondary_sources,
|
3100
|
+
:source_version,
|
3101
|
+
:secondary_source_versions,
|
2930
3102
|
:artifacts,
|
2931
3103
|
:secondary_artifacts,
|
2932
3104
|
:cache,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codebuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|