aws-sdk-codebuild 1.0.0.rc7 → 1.0.0.rc8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +9 -1
- data/lib/aws-sdk-codebuild/client_api.rb +2 -0
- data/lib/aws-sdk-codebuild/types.rb +40 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33d2b0c8c1ac4b4919dc12f9667b4dd5d6f8380f
|
4
|
+
data.tar.gz: 8ff7b75f8ddacc46e60cb4630042c76a72263958
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 132b014d03b95fd9217f3bb281168992d42af70ddab0784d81abd7507873e1f6b6e20bea77a9f514088cde31da9a69a41962564657a60b2660320b59fe2f1f02
|
7
|
+
data.tar.gz: 9e9f81ed1aef6b0b1271d55326d45bb1d10f82cca83c00107a11e95c705cd3f55ab53724f724f3208deded377bf945989de1739170cef359c223d28dc832a872
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -205,6 +205,7 @@ module Aws::CodeBuild
|
|
205
205
|
# resp.builds[0].environment.environment_variables #=> Array
|
206
206
|
# resp.builds[0].environment.environment_variables[0].name #=> String
|
207
207
|
# resp.builds[0].environment.environment_variables[0].value #=> String
|
208
|
+
# resp.builds[0].environment.privileged_mode #=> Boolean
|
208
209
|
# resp.builds[0].logs.group_name #=> String
|
209
210
|
# resp.builds[0].logs.stream_name #=> String
|
210
211
|
# resp.builds[0].logs.deep_link #=> String
|
@@ -262,6 +263,7 @@ module Aws::CodeBuild
|
|
262
263
|
# resp.projects[0].environment.environment_variables #=> Array
|
263
264
|
# resp.projects[0].environment.environment_variables[0].name #=> String
|
264
265
|
# resp.projects[0].environment.environment_variables[0].value #=> String
|
266
|
+
# resp.projects[0].environment.privileged_mode #=> Boolean
|
265
267
|
# resp.projects[0].service_role #=> String
|
266
268
|
# resp.projects[0].timeout_in_minutes #=> Integer
|
267
269
|
# resp.projects[0].encryption_key #=> String
|
@@ -358,6 +360,7 @@ module Aws::CodeBuild
|
|
358
360
|
# value: "String", # required
|
359
361
|
# },
|
360
362
|
# ],
|
363
|
+
# privileged_mode: false,
|
361
364
|
# },
|
362
365
|
# service_role: "NonEmptyString",
|
363
366
|
# timeout_in_minutes: 1,
|
@@ -392,6 +395,7 @@ module Aws::CodeBuild
|
|
392
395
|
# resp.project.environment.environment_variables #=> Array
|
393
396
|
# resp.project.environment.environment_variables[0].name #=> String
|
394
397
|
# resp.project.environment.environment_variables[0].value #=> String
|
398
|
+
# resp.project.environment.privileged_mode #=> Boolean
|
395
399
|
# resp.project.service_role #=> String
|
396
400
|
# resp.project.timeout_in_minutes #=> Integer
|
397
401
|
# resp.project.encryption_key #=> String
|
@@ -712,6 +716,7 @@ module Aws::CodeBuild
|
|
712
716
|
# resp.build.environment.environment_variables #=> Array
|
713
717
|
# resp.build.environment.environment_variables[0].name #=> String
|
714
718
|
# resp.build.environment.environment_variables[0].value #=> String
|
719
|
+
# resp.build.environment.privileged_mode #=> Boolean
|
715
720
|
# resp.build.logs.group_name #=> String
|
716
721
|
# resp.build.logs.stream_name #=> String
|
717
722
|
# resp.build.logs.deep_link #=> String
|
@@ -776,6 +781,7 @@ module Aws::CodeBuild
|
|
776
781
|
# resp.build.environment.environment_variables #=> Array
|
777
782
|
# resp.build.environment.environment_variables[0].name #=> String
|
778
783
|
# resp.build.environment.environment_variables[0].value #=> String
|
784
|
+
# resp.build.environment.privileged_mode #=> Boolean
|
779
785
|
# resp.build.logs.group_name #=> String
|
780
786
|
# resp.build.logs.stream_name #=> String
|
781
787
|
# resp.build.logs.deep_link #=> String
|
@@ -875,6 +881,7 @@ module Aws::CodeBuild
|
|
875
881
|
# value: "String", # required
|
876
882
|
# },
|
877
883
|
# ],
|
884
|
+
# privileged_mode: false,
|
878
885
|
# },
|
879
886
|
# service_role: "NonEmptyString",
|
880
887
|
# timeout_in_minutes: 1,
|
@@ -909,6 +916,7 @@ module Aws::CodeBuild
|
|
909
916
|
# resp.project.environment.environment_variables #=> Array
|
910
917
|
# resp.project.environment.environment_variables[0].name #=> String
|
911
918
|
# resp.project.environment.environment_variables[0].value #=> String
|
919
|
+
# resp.project.environment.privileged_mode #=> Boolean
|
912
920
|
# resp.project.service_role #=> String
|
913
921
|
# resp.project.timeout_in_minutes #=> Integer
|
914
922
|
# resp.project.encryption_key #=> String
|
@@ -940,7 +948,7 @@ module Aws::CodeBuild
|
|
940
948
|
params: params,
|
941
949
|
config: config)
|
942
950
|
context[:gem_name] = 'aws-sdk-codebuild'
|
943
|
-
context[:gem_version] = '1.0.0.
|
951
|
+
context[:gem_version] = '1.0.0.rc8'
|
944
952
|
Seahorse::Client::Request.new(handlers, context)
|
945
953
|
end
|
946
954
|
|
@@ -85,6 +85,7 @@ module Aws::CodeBuild
|
|
85
85
|
UpdateProjectInput = Shapes::StructureShape.new(name: 'UpdateProjectInput')
|
86
86
|
UpdateProjectOutput = Shapes::StructureShape.new(name: 'UpdateProjectOutput')
|
87
87
|
ValueInput = Shapes::StringShape.new(name: 'ValueInput')
|
88
|
+
WrapperBoolean = Shapes::BooleanShape.new(name: 'WrapperBoolean')
|
88
89
|
WrapperInt = Shapes::IntegerShape.new(name: 'WrapperInt')
|
89
90
|
WrapperLong = Shapes::IntegerShape.new(name: 'WrapperLong')
|
90
91
|
|
@@ -250,6 +251,7 @@ module Aws::CodeBuild
|
|
250
251
|
ProjectEnvironment.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "image"))
|
251
252
|
ProjectEnvironment.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
|
252
253
|
ProjectEnvironment.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
254
|
+
ProjectEnvironment.add_member(:privileged_mode, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedMode"))
|
253
255
|
ProjectEnvironment.struct_class = Types::ProjectEnvironment
|
254
256
|
|
255
257
|
ProjectNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
@@ -340,6 +340,7 @@ module Aws::CodeBuild
|
|
340
340
|
# value: "String", # required
|
341
341
|
# },
|
342
342
|
# ],
|
343
|
+
# privileged_mode: false,
|
343
344
|
# },
|
344
345
|
# service_role: "NonEmptyString",
|
345
346
|
# timeout_in_minutes: 1,
|
@@ -522,6 +523,12 @@ module Aws::CodeBuild
|
|
522
523
|
#
|
523
524
|
# @!attribute [rw] value
|
524
525
|
# The value of the environment variable.
|
526
|
+
#
|
527
|
+
# We strongly discourage using environment variables to store
|
528
|
+
# sensitive values, especially AWS secret key IDs and secret access
|
529
|
+
# keys. Environment variables can be displayed in plain text using
|
530
|
+
# tools such as the AWS CodeBuild console and the AWS Command Line
|
531
|
+
# Interface (AWS CLI).
|
525
532
|
# @return [String]
|
526
533
|
#
|
527
534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable AWS API Documentation
|
@@ -1019,6 +1026,7 @@ module Aws::CodeBuild
|
|
1019
1026
|
# value: "String", # required
|
1020
1027
|
# },
|
1021
1028
|
# ],
|
1029
|
+
# privileged_mode: false,
|
1022
1030
|
# }
|
1023
1031
|
#
|
1024
1032
|
# @!attribute [rw] type
|
@@ -1048,13 +1056,33 @@ module Aws::CodeBuild
|
|
1048
1056
|
# build project.
|
1049
1057
|
# @return [Array<Types::EnvironmentVariable>]
|
1050
1058
|
#
|
1059
|
+
# @!attribute [rw] privileged_mode
|
1060
|
+
# If set to true, enables running the Docker daemon inside a Docker
|
1061
|
+
# container; otherwise, false or not specified (the default). This
|
1062
|
+
# value must be set to true only if this build project will be used to
|
1063
|
+
# build Docker images, and the specified build environment image is
|
1064
|
+
# not one provided by AWS CodeBuild with Docker support. Otherwise,
|
1065
|
+
# all associated builds that attempt to interact with the Docker
|
1066
|
+
# daemon will fail. Note that you must also start the Docker daemon so
|
1067
|
+
# that your builds can interact with it as needed. One way to do this
|
1068
|
+
# is to initialize the Docker daemon in the install phase of your
|
1069
|
+
# build spec by running the following build commands. (Do not run the
|
1070
|
+
# following build commands if the specified build environment image is
|
1071
|
+
# provided by AWS CodeBuild with Docker support.)
|
1072
|
+
#
|
1073
|
+
# `- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock
|
1074
|
+
# --host=tcp://0.0.0.0:2375 --storage-driver=vfs& - timeout -t 15 sh
|
1075
|
+
# -c "until docker info; do echo .; sleep 1; done"`
|
1076
|
+
# @return [Boolean]
|
1077
|
+
#
|
1051
1078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment AWS API Documentation
|
1052
1079
|
#
|
1053
1080
|
class ProjectEnvironment < Struct.new(
|
1054
1081
|
:type,
|
1055
1082
|
:image,
|
1056
1083
|
:compute_type,
|
1057
|
-
:environment_variables
|
1084
|
+
:environment_variables,
|
1085
|
+
:privileged_mode)
|
1058
1086
|
include Aws::Structure
|
1059
1087
|
end
|
1060
1088
|
|
@@ -1111,13 +1139,16 @@ module Aws::CodeBuild
|
|
1111
1139
|
# * For source code in a GitHub repository, the HTTPS clone URL to the
|
1112
1140
|
# repository that contains the source and the build spec. Also, you
|
1113
1141
|
# must connect your AWS account to your GitHub account. To do this,
|
1114
|
-
# use the AWS CodeBuild console to begin creating a build project
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
#
|
1142
|
+
# use the AWS CodeBuild console to begin creating a build project.
|
1143
|
+
# When you use the console to connect (or reconnect) with GitHub, on
|
1144
|
+
# the GitHub **Authorize application** page that displays, for
|
1145
|
+
# **Organization access**, choose **Request access** next to each
|
1146
|
+
# repository you want to allow AWS CodeBuild to have access to. Then
|
1147
|
+
# choose **Authorize application**. (After you have connected to
|
1148
|
+
# your GitHub account, you do not need to finish creating the build
|
1149
|
+
# project, and you may then leave the AWS CodeBuild console.) To
|
1150
|
+
# instruct AWS CodeBuild to then use this connection, in the
|
1151
|
+
# `source` object, set the `auth` object's `type` value to `OAUTH`.
|
1121
1152
|
# @return [String]
|
1122
1153
|
#
|
1123
1154
|
# @!attribute [rw] buildspec
|
@@ -1353,6 +1384,7 @@ module Aws::CodeBuild
|
|
1353
1384
|
# value: "String", # required
|
1354
1385
|
# },
|
1355
1386
|
# ],
|
1387
|
+
# privileged_mode: false,
|
1356
1388
|
# },
|
1357
1389
|
# service_role: "NonEmptyString",
|
1358
1390
|
# timeout_in_minutes: 1,
|
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.0.0.
|
4
|
+
version: 1.0.0.rc8
|
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: 2017-
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc13
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc13
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|