Skip to content

Commit b745f2e

Browse files
committed
Added new documentation about using the CodeBuild agent in use-codebuild-agent.md plus minor periodic updates.
1 parent d621e50 commit b745f2e

20 files changed

+91
-39
lines changed

doc_source/create-project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ For information about using the AWS CLI with AWS CodeBuild, see the [Command Lin
242242
+ If you specified `NO_ARTIFACTS` for *artifacts\-type*, do not specify a `packaging` for `artifacts`\.
243243
+ If you specified `S3` for *artifacts\-type*, valid values include `ZIP` and `NONE`\. To create a ZIP file that contains the build output, use `ZIP`\. To create a folder that contains the build output, use `NONE`\. The default value is `NONE`\.
244244
+ For the required *cache* object, information about this build project's cache settings\. These settings include the following:
245-
+ *CacheType*: Required value\. Valid values are `S3` or `NONE`\.
245+
+ *CacheType*: Required value\. Valid values are `S3` or `NO_CACHE`\.
246246
+ *CacheLocation*: Required value unless you set *CacheType* to `NONE`\. If you specified S3 for *CacheType*, then this is the ARN of the S3 bucket and the path prefix\. For example, if your Amazon S3 bucket name is `my-bucket`, and your path prefix is `build-cache`, then acceptable formats for your *CacheLocation* are `my-bucket/build-cache` or `aws:s3:::my-bucket/build-cache`\.
247247
+ *serviceRole*: Required value\. The ARN of the service role AWS CodeBuild uses to interact with services on behalf of the IAM user \(for example, `arn:aws:iam::account-id:role/role-name`\)\.
248248
+ For the optional *vpcConfig* object, information about your VPC configuration\. These settings include:
@@ -266,7 +266,7 @@ If you are using a region other than us\-east\-1, be sure to use it when you run
266266
**Note**
267267
If you are using a region other than us\-east\-1, be sure to use it when you run the command\.
268268
+ For the required `environment` object, information about this project's build environment settings\. These settings include:
269-
+ *environment\-type*: Required value\. The type of build environment\. The only allowed value is `LINUX_CONTAINER`\.
269+
+ *environment\-type*: Required value\. The type of build environment\. Valid values are `LINUX_CONTAINER` and `WINDOWS_CONTAINER`\.
270270
+ *image*: Required value\. The Docker image identifier used by this build environment\. Typically, this identifier is expressed as *image\-name*:*tag*\. For example, in the Docker repository that AWS CodeBuild uses to manage its Docker images, this could be `aws/codebuild/java:openjdk-8`\. In Docker Hub, `maven:3.3.9-jdk-8`\. In Amazon ECR, `account-id.dkr.ecr.region-id.amazonaws.com/your-Amazon-ECR-repo-name:tag`\. For more information, see [Docker Images Provided by AWS CodeBuild](build-env-ref-available.md)\.
271271
+ *computeType*: Required value\. A category corresponding to the number of CPU cores and memory used by this build environment\. Allowed values include `BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM`, and `BUILD_GENERAL1_LARGE`\.
272272
+ *certificate*: Optional value\. The ARN of the AWS S3 bucket, path prefix and object key containing the PEM encoded certificate\. The object key can be either just the \.pem file or a \.zip file containing the pem encoded certificate\. For example, if your Amazon S3 bucket name is my\-bucket, your path prefix is cert, and your object key name is certificate\.pem, then acceptable formats for your *certificate* are my\-bucket/cert/certificate\.pem or arn:aws:s3:::my\-bucket/cert/certificate\.pem\.

doc_source/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Amazon's trademarks and trade dress may not be used in
4949
+ [Shells and Commands in Build Environments](build-env-ref-cmd.md)
5050
+ [Environment Variables in Build Environments](build-env-ref-env-vars.md)
5151
+ [Background Tasks in Build Environments](build-env-ref-background-tasks.md)
52+
+ [Test and Debug Locally with the AWS CodeBuild Agent](use-codebuild-agent.md)
5253
+ [Run AWS CodeBuild Directly](how-to-run.md)
5354
+ [Use AWS CodeBuild with Amazon Virtual Private Cloud](vpc-support.md)
5455
+ [Use VPC Endpoints](use-vpc-endpoints-with-codebuild.md)

doc_source/sample-build-notifications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ To stop using a rule to send build notifications, in the CloudWatch console, cho
258258

259259
To delete a rule altogether, in the CloudWatch console, choose the rule you want to delete, and then choose **Actions**, **Delete**\.
260260

261-
### Related Resources<a name="w3ab1b9c51c23b9c12"></a>
261+
### Related Resources<a name="w3ab1b9c49c23b9c12"></a>
262262
+ For more information about getting started with AWS CodeBuild, see [Getting Started with AWS CodeBuild](getting-started.md)\.
263263
+ For more information about troubleshooting problems with AWS CodeBuild, see [Troubleshooting AWS CodeBuild](troubleshooting.md)\.
264264
+ For more information about limits in AWS CodeBuild, see [Limits for AWS CodeBuild](limits.md)\.

doc_source/sample-c-plus-plus-hw.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Running this sample may result in charges to your AWS account\. These include po
99
+ [Running the Sample](#sample-c-plus-plus-hw-running)
1010
+ [Directory Structure](#sample-c-plus-plus-hw-dir)
1111
+ [Files](#sample-c-plus-plus-hw-files)
12-
+ [Related Resources](#w3ab1b9c54c11c15)
12+
+ [Related Resources](#w3ab1b9c52c11c15)
1313

1414
## Running the Sample<a name="sample-c-plus-plus-hw-running"></a>
1515

@@ -99,7 +99,7 @@ int main()
9999
}
100100
```
101101

102-
## Related Resources<a name="w3ab1b9c54c11c15"></a>
102+
## Related Resources<a name="w3ab1b9c52c11c15"></a>
103103
+ For more information about getting started with AWS CodeBuild, see [Getting Started with AWS CodeBuild](getting-started.md)\.
104104
+ For more information about troubleshooting problems with AWS CodeBuild, see [Troubleshooting AWS CodeBuild](troubleshooting.md)\.
105105
+ For more information about limits in AWS CodeBuild, see [Limits for AWS CodeBuild](limits.md)\.

doc_source/sample-codedeploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Do not add `(root directory name)` or `(root directory name)/my-app` to the ZIP
163163

164164
1. To find the build output artifact after the deployment is complete, sign in to the instance and look in the `/tmp` directory for the file named `my-app-1.0-SNAPSHOT.jar`\.
165165

166-
## Related Resources<a name="w3ab1b9c51c31b9"></a>
166+
## Related Resources<a name="w3ab1b9c49c31b9"></a>
167167
+ For more information about getting started with AWS CodeBuild, see [Getting Started with AWS CodeBuild](getting-started.md)\.
168168
+ For more information about troubleshooting problems with AWS CodeBuild, see [Troubleshooting AWS CodeBuild](troubleshooting.md)\.
169169
+ For more information about limits in AWS CodeBuild, see [Limits for AWS CodeBuild](limits.md)\.

doc_source/sample-docker-custom-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Running this sample may result in charges to your AWS account\. These include po
1111
+ [Running the Sample](#sample-docker-custom-image-running)
1212
+ [Directory Structure](#sample-docker-custom-image-dir)
1313
+ [Files](#sample-docker-custom-image-files)
14-
+ [Related Resources](#w3ab1b9c51c25c17)
14+
+ [Related Resources](#w3ab1b9c49c25c17)
1515

1616
## Running the Sample<a name="sample-docker-custom-image-running"></a>
1717

@@ -97,7 +97,7 @@ FROM maven:3.3.9-jdk-8
9797
RUN echo "Hello World"
9898
```
9999

100-
## Related Resources<a name="w3ab1b9c51c25c17"></a>
100+
## Related Resources<a name="w3ab1b9c49c25c17"></a>
101101
+ For more information about getting started with AWS CodeBuild, see [Getting Started with AWS CodeBuild](getting-started.md)\.
102102
+ For more information about troubleshooting problems with AWS CodeBuild, see [Troubleshooting AWS CodeBuild](troubleshooting.md)\.
103103
+ For more information about limits in AWS CodeBuild, see [Limits for AWS CodeBuild](limits.md)\.

doc_source/sample-docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Running this sample may result in charges to your AWS account\. These include po
1616
+ [Directory Structure](#sample-docker-dir)
1717
+ [Files](#sample-docker-files)
1818
+ [Adapting the Sample to Push the Image to Docker Hub](#sample-docker-docker-hub)
19-
+ [Related Resources](#w3ab1b9c51b9c23)
19+
+ [Related Resources](#w3ab1b9c49b9c23)
2020

2121
## Running the Sample<a name="sample-docker-running"></a>
2222

@@ -285,7 +285,7 @@ If you are using an Amazon S3 input bucket, be sure to create a ZIP file that co
285285

286286
1. Confirm that AWS CodeBuild successfully pushed the Docker image to the repository\. Sign in to Docker Hub, go to the repository, and choose the **Tags** tab\. The `latest` tag should contain a very recent **Last Updated** value\.
287287

288-
## Related Resources<a name="w3ab1b9c51b9c23"></a>
288+
## Related Resources<a name="w3ab1b9c49b9c23"></a>
289289
+ For more information about getting started with AWS CodeBuild, see [Getting Started with AWS CodeBuild](getting-started.md)\.
290290
+ For more information about troubleshooting problems with AWS CodeBuild, see [Troubleshooting AWS CodeBuild](troubleshooting.md)\.
291291
+ For more information about limits in AWS CodeBuild, see [Limits for AWS CodeBuild](limits.md)\.

doc_source/sample-ecr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The IAM entity that modifies this policy must have permission in IAM to modify p
113113
114114
1. Download the `GoOutputArtifact.zip` file to your local computer or instance, and then extract the contents of the `GoOutputArtifact.zip` file\. In the extracted contents, get the `hello` file\.
115115
116-
## Related Resources<a name="w3ab1b9c51b7b9"></a>
116+
## Related Resources<a name="w3ab1b9c49b7b9"></a>
117117
+ For more information about getting started with AWS CodeBuild, see [Getting Started with AWS CodeBuild](getting-started.md)\.
118118
+ For more information about troubleshooting problems with AWS CodeBuild, see [Troubleshooting AWS CodeBuild](troubleshooting.md)\.
119119
+ For more information about limits in AWS CodeBuild, see [Limits for AWS CodeBuild](limits.md)\.

doc_source/sample-elastic-beanstalk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ In this step, you will add an Elastic Beanstalk configuration file and a build s
304304

305305
If you want, you can make changes to the source code and then run the eb deploy command from the same directory\. The EB CLI performs the same steps as the eb create command, but it deploys the build output to the existing environment instead of creating a new environment\.
306306

307-
## Related Resources<a name="w3ab1b9c51c35c15"></a>
307+
## Related Resources<a name="w3ab1b9c49c35c15"></a>
308308
+ For more information about getting started with AWS CodeBuild, see [Getting Started with AWS CodeBuild](getting-started.md)\.
309309
+ For more information about troubleshooting problems with AWS CodeBuild, see [Troubleshooting AWS CodeBuild](troubleshooting.md)\.
310310
+ For more information about limits in AWS CodeBuild, see [Limits for AWS CodeBuild](limits.md)\.

doc_source/sample-go-hw.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Running this sample may result in charges to your AWS account\. These include po
1212
+ [Running the Sample](#sample-go-hw-running)
1313
+ [Directory Structure](#sample-go-hw-dir)
1414
+ [Files](#sample-go-hw-files)
15-
+ [Related Resources](#w3ab1b9c54c27c17)
15+
+ [Related Resources](#w3ab1b9c52c27c17)
1616

1717
## Running the Sample<a name="sample-go-hw-running"></a>
1818

@@ -103,7 +103,7 @@ func main() {
103103
}
104104
```
105105

106-
## Related Resources<a name="w3ab1b9c54c27c17"></a>
106+
## Related Resources<a name="w3ab1b9c52c27c17"></a>
107107
+ For more information about getting started with AWS CodeBuild, see [Getting Started with AWS CodeBuild](getting-started.md)\.
108108
+ For more information about troubleshooting problems with AWS CodeBuild, see [Troubleshooting AWS CodeBuild](troubleshooting.md)\.
109109
+ For more information about limits in AWS CodeBuild, see [Limits for AWS CodeBuild](limits.md)\.

0 commit comments

Comments
 (0)