Skip to content

Commit 5ed62cb

Browse files
committed
Session manager update
1 parent 859e765 commit 5ed62cb

File tree

10 files changed

+151
-27
lines changed

10 files changed

+151
-27
lines changed

doc_source/build-env-ref-available.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ AWS CodeBuild manages the following Docker images that are available in the Code
1212
| Ubuntu 18\.04 | aws/codebuild/standard:3\.0 | [ubuntu/standard/3\.0](https://github.com/aws/aws-codebuild-docker-images/tree/master/ubuntu/standard/3.0) |
1313
| Ubuntu 18\.04 | aws/codebuild/standard:2\.0 ¹ | [ubuntu/standard/2\.0](https://github.com/aws/aws-codebuild-docker-images/tree/master/ubuntu/standard/2.0) |
1414
| Windows Server Core 2016 | aws/codebuild/windows\-base:2\.0 | N/A |
15+
| Windows Server Core 2019 | aws/codebuild/windows\-base:2019\-1\.0 | N/A |
1516

16-
¹ No longer maintained after June, 2020\.
17+
¹ No longer maintained after June 2020\.
1718

1819
The latest version of each image is cached\. If you specify a more specific version, then CodeBuild provisions that version instead of the cached version\. This can result in longer build times\. For example, to benefit from caching, specify `aws/codebuild/amazonlinux2-x86_64-standard:3.0` instead of a more granular version, such as `aws/codebuild/amazonlinux2-x86_64-standard:3.0-1.0.0`\.
1920

@@ -28,7 +29,7 @@ AWS CodeBuild manages the following Docker images that are available in the Code
2829
**Note**
2930
The `aws/codebuild/amazonlinux2-aarch64-standard:1.0` image does not support the Android Runtime \(ART\)\.
3031

31-
The base image of the Windows Server Core 2016 contains the following runtimes\.
32+
The base image of the Windows Server Core 2016 contains the following runtimes\.
3233

3334

3435
| Runtime name | Version in `windows-base:2.0` |
@@ -41,8 +42,22 @@ The `aws/codebuild/amazonlinux2-aarch64-standard:1.0` image does not support the
4142
| python | 3\.7 |
4243
| ruby | 2\.6 |
4344

45+
The base image of the Windows Server Core 2019 contains the following runtimes\.
46+
47+
48+
| Runtime name | Version in `windows-base:2019-1.0` |
49+
| --- | --- |
50+
| dotnet | 3\.1\.3 |
51+
| golang | 1\.14 |
52+
| nodejs | 12\.18 |
53+
| java | corretto11 |
54+
| php | 7\.3, 7\.4 |
55+
| powershell | 7\.0\.2 |
56+
| python | 3\.7, 3\.8 |
57+
| ruby | 2\.7 |
58+
4459
**Note**
45-
The base image of the Windows Server Core 2016 platform is available in the US East \(N\. Virginia\), US East \(Ohio\), US West \(Oregon\), and Europe \(Ireland\) regions only\.
60+
The base image of the Windows Server Core 2016 and Windows Server Core 2016 platforms are available in the US East \(N\. Virginia\), US East \(Ohio\), US West \(Oregon\), and Europe \(Ireland\) Regions only\.
4661

4762
You can use a build specification to install other components \(for example, the AWS CLI, Apache Maven, Apache Ant, Mocha, RSpec, or similar\) during the `install` build phase\. For more information, see [Buildspec example](build-spec-ref.md#build-spec-ref-example)\.
4863

doc_source/build-env-ref-cmd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ You can specify any Shell Command Language \(sh\) command\. In buildspec version
1313

1414
If CodeBuild encounters an error, the error might be more difficult to troubleshoot compared to running a single command in its own instance of the default shell\.
1515

16-
Commands that are run in a Windows Server Core 2016 image use the Powershell shell\.
16+
Commands that are run in a Windows Server Core 2016 image use the PowerShell shell\.

doc_source/build-env-ref-compute-types.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ The disk space listed for each build environment is available only in the direct
1818

1919
**Note**
2020
Some environment and compute types have limitations:
21-
The environment type `LINUX_GPU_CONTAINER` is available only in regions US East \(N\. Virginia\), US West \(Oregon\), Canada \(Central\), Europe \(Ireland\), Europe \(London\), Europe \(Frankfurt\), Asia Pacific \(Tokyo\), Asia Pacific \(Seoul\), Asia Pacific \(Singapore\), Asia Pacific \(Sydney\) , China \(Beijing\), and China \(Ningxia\)\.
22-
The environment type `ARM_CONTAINER` is available only in regions US East \(N\. Virginia\), US East \(Ohio\), US West \(Oregon\), Europe \(Ireland\), Asia Pacific \(Mumbai\), Asia Pacific \(Tokyo\), Asia Pacific \(Sydney\), and Europe \(Frankfurt\)\.
23-
The compute type `build.general1.2xlarge` is available only in regions US East \(N\. Virginia\), US East \(Ohio\), US West \(N\. California\), US West \(Oregon\), Canada \(Central\), South America \(São Paulo\), Europe \(Stockholm\), Europe \(Ireland\), Europe \(London\), Europe \(Paris\), Europe \(Frankfurt\), Middle East \(Bahrain\), Asia Pacific \(Hong Kong\), Asia Pacific \(Tokyo\), Asia Pacific \(Seoul\), Asia Pacific \(Singapore\), Asia Pacific \(Sydney\), Asia Pacific \(Mumbai\), China \(Beijing\), and China \(Ningxia\)\.
21+
The environment type `LINUX_GPU_CONTAINER` is available only in Regions US East \(N\. Virginia\), US West \(Oregon\), Canada \(Central\), Europe \(Ireland\), Europe \(London\), Europe \(Frankfurt\), Asia Pacific \(Tokyo\), Asia Pacific \(Seoul\), Asia Pacific \(Singapore\), Asia Pacific \(Sydney\), China \(Beijing\), and China \(Ningxia\)\.
22+
The environment type `ARM_CONTAINER` is available only in Regions US East \(N\. Virginia\), US East \(Ohio\), US West \(Oregon\), Europe \(Ireland\), Asia Pacific \(Mumbai\), Asia Pacific \(Tokyo\), Asia Pacific \(Sydney\), and Europe \(Frankfurt\)\.
23+
The compute type `build.general1.2xlarge` is available only in Regions US East \(N\. Virginia\), US East \(Ohio\), US West \(N\. California\), US West \(Oregon\), Canada \(Central\), South America \(São Paulo\), Europe \(Stockholm\), Europe \(Ireland\), Europe \(London\), Europe \(Paris\), Europe \(Frankfurt\), Middle East \(Bahrain\), Asia Pacific \(Hong Kong\), Asia Pacific \(Tokyo\), Asia Pacific \(Seoul\), Asia Pacific \(Singapore\), Asia Pacific \(Sydney\), Asia Pacific \(Mumbai\), China \(Beijing\), and China \(Ningxia\)\.
2424
For the compute type `build.general1.2xlarge`, Docker images up to 100 GB uncompressed are supported\.
2525

2626

2727
**Operating system: Windows**
2828

2929
| Compute type | computeType value | Memory | vCPUs | Disk space | Environment type |
3030
| --- | --- | --- | --- | --- | --- |
31-
| build\.general1\.medium | BUILD\_GENERAL1\_MEDIUM | 7 GB | 4 | 128 GB | WINDOWS\_CONTAINER |
32-
| build\.general1\.large | BUILD\_GENERAL1\_LARGE | 15 GB | 8 | 128 GB | WINDOWS\_CONTAINER |
31+
| build\.general1\.medium | BUILD\_GENERAL1\_MEDIUM | 7 GB | 4 | 128 GB | WINDOWS\_CONTAINER WINDOWS\_SERVER\_2019\_CONTAINER |
32+
| build\.general1\.large | BUILD\_GENERAL1\_LARGE | 15 GB | 8 | 128 GB | WINDOWS\_CONTAINER WINDOWS\_SERVER\_2019\_CONTAINER |
3333

3434
**Note**
3535
For custom build environment images, CodeBuild supports Docker images up to 50 GB uncompressed in Linux and Windows, regardless of the compute type\. To check your build image's size, use Docker to run the `docker images REPOSITORY:TAG` command\.

doc_source/builds-working.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ You can perform these tasks when working with builds:
1919
+ [View a list of build IDs in AWS CodeBuild](view-build-list.md)
2020
+ [View a list of build IDs for a build project in AWS CodeBuild](view-builds-for-project.md)
2121
+ [Stop a build in AWS CodeBuild](stop-build.md)
22+
+ [View a running build in Session Manager](session-manager.md)
2223
+ [Delete builds in AWS CodeBuild](delete-builds.md)

doc_source/create-project-cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ Docker layer cache mode is available for Linux only\. If you choose it, your pro
298298
+ `LINUX_CONTAINER`
299299
+ `LINUX_GPU_CONTAINER`
300300
+ `WINDOWS_CONTAINER`
301+
+ `WINDOWS_SERVER_2019_CONTAINER`
301302
+ *image*: Required\. 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 CodeBuild uses to manage its Docker images, this could be `aws/codebuild/standard:4.0`\. 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 CodeBuild](build-env-ref-available.md)\.
302303
+ *computeType*: Required\. A category that corresponds to the number of CPU cores and memory used by this build environment\. Allowed values include:
303304
+ `BUILD_GENERAL1_SMALL`

doc_source/history.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
The following table describes the important changes to the documentation since the last release of AWS CodeBuild\. For notification about updates to this documentation, you can subscribe to an RSS feed\.
44
+ **Latest API version:** 2016\-10\-06
5-
+ **Latest documentation update: **May 29, 2020
5+
+ **Latest documentation update: **July 20, 2020
66

77
| Change | Description | Date |
88
| --- |--- |--- |
9-
| [Updated topic](#history) | CodeBuild now supports specifying a shell to use in their build environments in the buildspec file\. For more information, see [Build specification reference](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html)\. | June 25, 2020 |
9+
| [Windows Server 2019 image](#history) | CodeBuild now provides a Windows Server Core 2019 build image\. For more information, see [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html)\. | July 20, 2020 |
10+
| [Session Manager](#history) | CodeBuild now allows you to pause a running build and then use AWS Systems Manager Session Manager to connect to the build container and view the state of the container\. For more information, see [Session Manager](https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html)\. | July 20, 2020 |
11+
| [Updated topic](#history) | CodeBuild now supports specifying a shell to use in their build environments in the buildspec file\. For more information, see [Build specification reference](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html)\. | June 25, 2020 |
1012
| [Test reporting with test frameworks](#history) | Added several topics the describe how to generate CodeBuild test reports with several test frameworks\. For more information, see [Test reporting with test frameworks](https://docs.aws.amazon.com/codebuild/latest/userguide/test-framework-reporting.html)\. | May 29, 2020 |
1113
| [Updated topics](#history) | CodeBuild now supports adding tags to report groups\. For more information, see [ReportGroup](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ReportGroup.html)\. | May 21, 2020 |
1214
| [Support for test reporting](#history) | CodeBuild support for test reporting is now generally available\. | May 21, 2020 |

doc_source/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ Amazon's trademarks and trade dress may not be used in
110110
+ [View a list of build IDs in AWS CodeBuild](view-build-list.md)
111111
+ [View a list of build IDs for a build project in AWS CodeBuild](view-builds-for-project.md)
112112
+ [Stop a build in AWS CodeBuild](stop-build.md)
113+
+ [View a running build in Session Manager](session-manager.md)
113114
+ [Delete builds in AWS CodeBuild](delete-builds.md)
114115
+ [Working with test reporting in AWS CodeBuild](test-reporting.md)
115116
+ [Create a test report](report-create.md)

doc_source/run-build.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ If your source code is stored in a GitHub or a GitHub Enterprise Server reposito
229229
Run the create\-webhookcommand as follows:
230230

231231
```
232-
aws codebuild create-webhook --project-name
232+
aws codebuild create-webhook --project-name <project-name>
233233
```
234-
+ where *project\-name* is the name of the build project that contains the source code to be rebuilt\.
234+
+ where *<project\-name>* is the name of the build project that contains the source code to be rebuilt\.
235235

236236
For GitHub, information similar to the following appears in the output:
237237

@@ -261,9 +261,9 @@ If your source code is stored in a GitHub or a GitHub Enterprise Server reposito
261261
If you have enabled this behavior, you can turn it off by running the `delete-webhook` command as follows:
262262

263263
```
264-
aws codebuild delete-webhook --project-name
264+
aws codebuild delete-webhook --project-name <project-name>
265265
```
266-
+ where *project\-name* is the name of the build project that contains the source code to be rebuilt\.
266+
+ where *<project\-name>* is the name of the build project that contains the source code to be rebuilt\.
267267

268268
If this command is successful, no information and no errors appear in the output\.
269269

doc_source/sample-windows.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Microsoft Windows samples for CodeBuild<a name="sample-windows"></a>
22

3-
These samples use an AWS CodeBuild build environment running Microsoft Windows Server 2016, the \.NET Framework, and the \.NET Core SDK to build executables file out of code written in C\#, F\#, and Visual Basic\.
3+
These samples use an AWS CodeBuild build environment running Microsoft Windows Server 2019, the \.NET Framework, and the \.NET Core SDK to build executables file out of code written in C\#, F\#, and Visual Basic\.
44

55
**Important**
66
Running these samples might result in charges to your AWS account\. These include possible charges for CodeBuild and for AWS resources and actions related to Amazon S3, AWS KMS, and CloudWatch Logs\. For more information, see [CodeBuild pricing](http://aws.amazon.com/codebuild/pricing), [Amazon S3 pricing](http://aws.amazon.com/s3/pricing), [AWS Key Management Service pricing](http://aws.amazon.com/kms/pricing), and [Amazon CloudWatch pricing](http://aws.amazon.com/cloudwatch/pricing)\.
@@ -32,8 +32,8 @@ If you are using an S3 input bucket, be sure to create a ZIP file that contains
3232
"name": "windows-build-output-artifact.zip"
3333
},
3434
"environment": {
35-
"type": "WINDOWS_CONTAINER",
36-
"image": "aws/codebuild/windows-base:1.0",
35+
"type": "WINDOWS_SERVER_2019_CONTAINER",
36+
"image": "aws/codebuild/windows-base:2019-1.0",
3737
"computeType": "BUILD_GENERAL1_MEDIUM"
3838
},
3939
"serviceRole": "arn:aws:iam::account-ID:role/role-name",
@@ -122,7 +122,7 @@ env:
122122
variables:
123123
SOLUTION: .\CSharpHelloWorld.sln
124124
PACKAGE_DIRECTORY: .\packages
125-
DOTNET_FRAMEWORK: 4.6.2
125+
DOTNET_FRAMEWORK: 4.8
126126
127127
phases:
128128
build:
@@ -166,7 +166,7 @@ EndGlobal
166166
<?xml version="1.0" encoding="utf-8" ?>
167167
<configuration>
168168
<startup>
169-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
169+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
170170
</startup>
171171
</configuration>
172172
```
@@ -185,7 +185,7 @@ EndGlobal
185185
<AppDesignerFolder>Properties</AppDesignerFolder>
186186
<RootNamespace>CSharpHelloWorld</RootNamespace>
187187
<AssemblyName>CSharpHelloWorld</AssemblyName>
188-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
188+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
189189
<FileAlignment>512</FileAlignment>
190190
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
191191
</PropertyGroup>
@@ -310,7 +310,7 @@ env:
310310
variables:
311311
SOLUTION: .\FSharpHelloWorld.sln
312312
PACKAGE_DIRECTORY: .\packages
313-
DOTNET_FRAMEWORK: 4.6.2
313+
DOTNET_FRAMEWORK: 4.8
314314
315315
phases:
316316
build:
@@ -354,7 +354,7 @@ EndGlobal
354354
<?xml version="1.0" encoding="utf-8" ?>
355355
<configuration>
356356
<startup>
357-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
357+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
358358
</startup>
359359
</configuration>
360360
```
@@ -419,7 +419,7 @@ do
419419
<OutputType>Exe</OutputType>
420420
<RootNamespace>FSharpHelloWorld</RootNamespace>
421421
<AssemblyName>FSharpHelloWorld</AssemblyName>
422-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
422+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
423423
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
424424
<TargetFSharpCoreVersion>4.4.0.0</TargetFSharpCoreVersion>
425425
<Name>FSharpHelloWorld</Name>
@@ -510,7 +510,7 @@ env:
510510
variables:
511511
SOLUTION: .\VBHelloWorld.sln
512512
PACKAGE_DIRECTORY: .\packages
513-
DOTNET_FRAMEWORK: 4.6.2
513+
DOTNET_FRAMEWORK: 4.8
514514
515515
phases:
516516
build:
@@ -554,7 +554,7 @@ EndGlobal
554554
<?xml version="1.0" encoding="utf-8" ?>
555555
<configuration>
556556
<startup>
557-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
557+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
558558
</startup>
559559
</configuration>
560560
```
@@ -587,7 +587,7 @@ End Module
587587
<AssemblyName>VBHelloWorld</AssemblyName>
588588
<FileAlignment>512</FileAlignment>
589589
<MyType>Console</MyType>
590-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
590+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
591591
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
592592
</PropertyGroup>
593593
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

0 commit comments

Comments
 (0)