Skip to content

Commit 87e321b

Browse files
committed
Periodic update, May 2018, which includes support for custom build environments for the .NET framework
1 parent b9f21d4 commit 87e321b

26 files changed

+1568
-64
lines changed

doc_source/auth-and-access-control-iam-access-control-identity-based.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ A permissions policy describes who has access to which resources\.
6565
**Note**
6666
This section discusses the use of IAM in AWS CodeBuild\. It doesn't provide detailed information about the IAM service\. For complete IAM documentation, see [What Is IAM?](http://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html) in the *IAM User Guide Guide*\. For information about IAM policy syntax and descriptions, see [AWS IAM Policy Reference](http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html) in the *IAM User Guide Guide*\.
6767

68-
Policies attached to an IAM identity are referred to as identity\-based policies \(IAM polices\)\. Policies attached to a resource are referred to as resource\-based policies\. AWS CodeBuild supports identity\-based \(IAM policies\) only\.
68+
Policies attached to an IAM identity are referred to as identity\-based policies \(IAM policies\)\. Policies attached to a resource are referred to as resource\-based policies\. AWS CodeBuild supports identity\-based \(IAM policies\) only\.
6969

7070
### Identity\-Based Policies \(IAM Policies\)<a name="identity-based-policies"></a>
7171

doc_source/build-env-ref-available.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ If you do not find your image on this page, it most likely contains components t
3131
| Ubuntu 14\.04 | Ruby | 2\.2\.5 | aws/codebuild/ruby:2\.2\.5 | [ubuntu/ruby/2\.2\.5](https://github.com/aws/aws-codebuild-docker-images/tree/master/ubuntu/ruby/2.2.5) |
3232
| Ubuntu 14\.04 | \.NET Core | 1\.1 | aws/codebuild/dot\-net:core\-1 | [ubuntu/dot\-net/core\-1](https://github.com/aws/aws-codebuild-docker-images/tree/master/ubuntu/dot-net/core-1) |
3333
| Ubuntu 14\.04 | \.NET Core | 2\.0 | aws/codebuild/dot\-net:core\-2\.0 | [ubuntu/dot\-net/core\-2](https://github.com/aws/aws-codebuild-docker-images/tree/master/ubuntu/dot-net/core-2) |
34+
| Windows Server Core 2016 | \(Base Image\) | | aws/codebuild/windows\-base:1\.0 | |
3435

3536
AWS CodeBuild also manages the following Docker images that are not in the AWS CodeBuild and AWS CodePipeline consoles\.
3637

@@ -89,6 +90,8 @@ AWS CodeBuild frequently updates the list of Docker images\. To get the most cur
8990
+ For the AWS SDKs, call the `ListCuratedEnvironmentImages` operation for your target programming language\. For more information, see the [AWS SDKs and Tools Reference](sdk-ref.md)\.
9091

9192
To confirm the version of a component installed on a Docker image, you can run a command during a build\. The version number for the component will appear in the output\. For example, include one or more of the following commands in your build specification:
93+
+ For the Microsoft \.NET Framework, run `reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP"`\.
94+
+ For \.NET Core, run `dotnet --version`\.
9295
+ For Apache Ant, run `ant -version`\.
9396
+ For Apache Maven, run `mvn -version`\.
9497
+ For the AWS CLI, run `aws --version`\.

doc_source/build-env-ref-env-vars.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ You can also provide build environments with your own environment variables\. Fo
2121
+ [Run a Build](run-build.md)
2222
+ [Build Spec Reference](build-spec-ref.md)
2323

24+
To list all of the available environment variables in a build environment, you can run the `printenv` command \(for Linux\-based build environment\) or `"Get-ChildItem Env:"` \(for Windows\-based build environments\) during a build\. With the exception of those previously listed, environment variables that start with `CODEBUILD_` are for AWS CodeBuild internal use\. They should not be used in your build commands\.
25+
2426
**Important**
2527
We strongly discourage using environment variables to store sensitive values, especially AWS access key IDs and secret access keys\. Environment variables can be displayed in plain text using tools such as the AWS CodeBuild console and the AWS CLI\.
26-
For sensitive values, we recommend you store them in the Amazon EC2 Systems Manager Parameter Store and then retrieve them from your build spec\. To store sensitive values, see [Systems Manager Parameter Store](http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-paramstore.html) and [Systems Manager Parameter Store Console Walkthrough](http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-walk.html#sysman-paramstore-console) in the *Amazon EC2 Systems Manager User Guide*\. To retrieve them, see the `parameter-store` mapping in [Build Spec Syntax](build-spec-ref.md#build-spec-ref-syntax)\.
27-
28-
To list all of the available environment variables in a build environment, you can run the `printenv` command during a build\. With the exception of those previously listed, environment variables that start with `CODEBUILD_` are for AWS CodeBuild internal use\. They should not be used in your build commands\.
28+
For sensitive values, we recommend you store them in the Amazon EC2 Systems Manager Parameter Store and then retrieve them from your build spec\. To store sensitive values, see [Systems Manager Parameter Store](http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-paramstore.html) and [Systems Manager Parameter Store Console Walkthrough](http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-walk.html#sysman-paramstore-console) in the *Amazon EC2 Systems Manager User Guide*\. To retrieve them, see the `parameter-store` mapping in [Build Spec Syntax](build-spec-ref.md#build-spec-ref-syntax)\.

doc_source/how-to-create-pipeline.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ If you enable webhooks for an AWS CodeBuild project, and the project is used as
134134
135135
1. For **Build specification**, do one of the following:
136136
+ If your source code includes a build spec file, choose **Use the buildspec\.yml in the source code root directory**\.
137-
+ If your source code does not include a build spec file, choose **Insert build commands**\. For **Build command**, type the commands you want to run during the build phase in the build environment; for multiple commands, separate each command with `&&`\. For **Output files**, type the paths to the build output files in the build environment that you want to send to AWS CodePipeline; for multiple files, separate each file path with a comma\. For more information, see the tooltips in the console\.
137+
+ If your source code does not include a build spec file, choose **Insert build commands**\. For **Build command**, type the commands you want to run during the build phase in the build environment; for multiple commands, separate each command with `&&` for Linux\-based build environments or `;` for Windows\-based build environments\. For **Output files**, type the paths to the build output files in the build environment that you want to send to AWS CodePipeline; for multiple files, separate each file path with a comma\. For more information, see the tooltips in the console\.
138138
139139
1. For **AWS CodeBuild service role**, do one of the following:
140140
+ If you do not have an AWS CodeBuild service role in your AWS account, choose **Create a service role in your account**\. In the **Role name** box, type a name for the service role or leave the suggested name\. \(Service role names must be unique across your AWS account\.\)
@@ -434,7 +434,7 @@ If you enable webhooks for an AWS CodeBuild project, and the project is used as
434434
435435
1. For **Build specification**, do one of the following:
436436
+ If your source code includes a build spec file, choose **Use the buildspec\.yml in the source code root directory**\.
437-
+ If your source code does not include a build spec file, choose **Insert build commands**\. For **Build command**, type the commands you want to run during the build phase in the build environment; for multiple commands, separate each command with `&&`\. For **Output files**, type the paths to the build output files in the build environment that you want to send to AWS CodePipeline; for multiple files, separate each file path with a comma\. For more information, see the tooltips in the console\.
437+
+ If your source code does not include a build spec file, choose **Insert build commands**\. For **Build command**, type the commands you want to run during the build phase in the build environment; for multiple commands, separate each command with `&&` for Linux\-based build environments or `;` for Windows\-based build environments\. For **Output files**, type the paths to the build output files in the build environment that you want to send to AWS CodePipeline; for multiple files, separate each file path with a comma\. For more information, see the tooltips in the console\.
438438
439439
1. For **AWS CodeBuild service role**, do one of the following:
440440
+ If you do not have an AWS CodeBuild service role in your AWS account, choose **Create a service role in your account**\. In the **Role name** box, type a name for the service role or leave the suggested name\. \(Service role names must be unique across your AWS account\.\)
@@ -573,7 +573,7 @@ If you enable webhooks for an AWS CodeBuild project, and the project is used as
573573
574574
1. For **Build specification**, do one of the following:
575575
+ If your source code includes a build spec file, choose **Use the buildspec\.yml in the source code root directory**\.
576-
+ If your source code does not include a build spec file, choose **Insert build commands**\. For **Build command**, type the commands you want to run during the build phase in the build environment\. For multiple commands, separate each command with `&&`\. For **Output files**, type the paths to the build output files in the build environment that you want to send to AWS CodePipeline\. For multiple files, separate each file path with a comma\. For more information, see the tooltips in the console\.
576+
+ If your source code does not include a build spec file, choose **Insert build commands**\. For **Build command**, type the commands you want to run during the build phase in the build environment\. For multiple commands, separate each command with `&&` for Linux\-based build environments or `;` for Windows\-based build environments\. For **Output files**, type the paths to the build output files in the build environment that you want to send to AWS CodePipeline\. For multiple files, separate each file path with a comma\. For more information, see the tooltips in the console\.
577577
578578
1. For **AWS CodeBuild service role**, do one of the following:
579579
+ If you do not have an AWS CodeBuild service role in your AWS account, choose **Create a service role in your account**\. In the **Role name** box, type a name for the service role or leave the suggested name\. \(Service role names must be unique across your AWS account\.\)

doc_source/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Amazon's trademarks and trade dress may not be used in
1818
+ [AWS CodeBuild Concepts](concepts.md)
1919
+ [Getting Started with AWS CodeBuild](getting-started.md)
2020
+ [AWS CodeBuild Samples](samples.md)
21+
+ [Microsoft Windows Samples for AWS CodeBuild](sample-windows.md)
2122
+ [AWS CodeBuild Use Case-Based Samples](use-case-based-samples.md)
2223
+ [Amazon ECR Sample for AWS CodeBuild](sample-ecr.md)
2324
+ [Docker Sample for AWS CodeBuild](sample-docker.md)
@@ -82,5 +83,6 @@ Amazon's trademarks and trade dress may not be used in
8283
+ [Logging AWS CodeBuild API Calls with AWS CloudTrail](cloudtrail.md)
8384
+ [Troubleshooting AWS CodeBuild](troubleshooting.md)
8485
+ [Limits for AWS CodeBuild](limits.md)
86+
+ [AWS CodeBuild for Windows—Third Party Notices](notice.md)
8587
+ [AWS CodeBuild User Guide Document History](history.md)
8688
+ [AWS Glossary](glossary.md)

0 commit comments

Comments
 (0)