Skip to content

Commit

Permalink
Merge pull request #400 from aws/bump/0.30.0
Browse files Browse the repository at this point in the history
chore(release): 0.30.0
  • Loading branch information
jericht authored Apr 21, 2021
2 parents 819b42b + 5cc9560 commit 98dbb16
Show file tree
Hide file tree
Showing 35 changed files with 1,696 additions and 1,192 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [0.30.0](https://github.com/aws/aws-rfdk/compare/v0.29.0...v0.30.0) (2021-04-21)


### Supported CDK Version

* [1.99.0](https://github.com/aws/aws-cdk/releases/tag/v1.99.0)


### Officially Supported Deadline Versions

* [10.1.9.2 to 10.1.14.5](https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/release-notes.html)


### Features

* **core:** add ability to resolve mount targets using EFS API ([#392](https://github.com/aws/aws-rfdk/issues/392)) ([726fa84](https://github.com/aws/aws-rfdk/commit/726fa848b6362b226e78aff9eec2c2544bc2aa74))
* **deadline:** add ability to import repository settings ([#395](https://github.com/aws/aws-rfdk/issues/395)) ([c55c078](https://github.com/aws/aws-rfdk/commit/c55c078f02b4b43c115abc09b77b8cd469ac9ccd))
* **deadline:** add security group property to ubl ([#396](https://github.com/aws/aws-rfdk/issues/396)) ([cf44a13](https://github.com/aws/aws-rfdk/commit/cf44a1364e8c732700b4d24e322b34a3c6444b7c))

## [0.29.0](https://github.com/aws/aws-rfdk/compare/v0.28.0...v0.29.0) (2021-04-06)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
packages=setuptools.find_packages(where="package"),

install_requires=[
"aws-cdk.core==1.96.0",
"aws-rfdk==0.29.0"
"aws-cdk.core==1.99.0",
"aws-rfdk==0.30.0"
],

python_requires=">=3.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-in-farm-basic",
"version": "0.29.0",
"version": "0.30.0",
"bin": {
"app": "bin/app.js"
},
Expand All @@ -13,14 +13,14 @@
"watch": "tsc -w"
},
"devDependencies": {
"@types/node": "^14.14.35",
"aws-cdk": "1.96.0",
"@types/node": "^14.14.41",
"aws-cdk": "1.99.0",
"ts-node": "^9.1.1",
"typescript": "~4.2.3"
"typescript": "~4.2.4"
},
"dependencies": {
"@aws-cdk/core": "1.96.0",
"aws-rfdk": "0.29.0",
"@aws-cdk/core": "1.99.0",
"aws-rfdk": "0.30.0",
"source-map-support": "^0.5.19"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
packages=setuptools.find_packages(where="package"),

install_requires=[
"aws-cdk.core==1.96.0",
"aws-rfdk==0.29.0"
"aws-cdk.core==1.99.0",
"aws-rfdk==0.30.0"
],

python_requires=">=3.7",
Expand Down
12 changes: 6 additions & 6 deletions examples/deadline/All-In-AWS-Infrastructure-SEP/ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-in-farm-sep",
"version": "0.29.0",
"version": "0.30.0",
"bin": {
"app": "bin/app.js"
},
Expand All @@ -18,14 +18,14 @@
"watch": "tsc -w"
},
"devDependencies": {
"@types/node": "^14.14.35",
"aws-cdk": "1.96.0",
"@types/node": "^14.14.41",
"aws-cdk": "1.99.0",
"ts-node": "^9.1.1",
"typescript": "~4.2.3"
"typescript": "~4.2.4"
},
"dependencies": {
"@aws-cdk/core": "1.96.0",
"aws-rfdk": "0.29.0",
"@aws-cdk/core": "1.99.0",
"aws-rfdk": "0.30.0",
"source-map-support": "^0.5.19"
}
}
12 changes: 6 additions & 6 deletions examples/deadline/EC2-Image-Builder/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
packages=setuptools.find_packages(where="package"),

install_requires=[
"aws-cdk.aws-iam==1.96.0",
"aws-cdk.aws-imagebuilder==1.96.0",
"aws-cdk.aws-ec2==1.96.0",
"aws-cdk.aws-s3-assets==1.96.0",
"aws-cdk.core==1.96.0",
"aws-rfdk==0.29.0",
"aws-cdk.aws-iam==1.99.0",
"aws-cdk.aws-imagebuilder==1.99.0",
"aws-cdk.aws-ec2==1.99.0",
"aws-cdk.aws-s3-assets==1.99.0",
"aws-cdk.core==1.99.0",
"aws-rfdk==0.30.0",
],

python_requires=">=3.7",
Expand Down
20 changes: 10 additions & 10 deletions examples/deadline/EC2-Image-Builder/ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-in-farm-image-builder",
"version": "0.29.0",
"version": "0.30.0",
"bin": {
"app": "bin/app.js"
},
Expand All @@ -14,17 +14,17 @@
"watch": "tsc -w"
},
"devDependencies": {
"@types/node": "^14.14.35",
"aws-cdk": "1.96.0",
"@types/node": "^14.14.41",
"aws-cdk": "1.99.0",
"ts-node": "^9.1.1",
"typescript": "~4.2.3"
"typescript": "~4.2.4"
},
"dependencies": {
"@aws-cdk/aws-ec2": "1.96.0",
"@aws-cdk/aws-iam": "1.96.0",
"@aws-cdk/aws-imagebuilder": "1.96.0",
"@aws-cdk/aws-s3-assets": "1.96.0",
"@aws-cdk/core": "1.96.0",
"aws-rfdk": "0.29.0"
"@aws-cdk/aws-ec2": "1.99.0",
"@aws-cdk/aws-iam": "1.99.0",
"@aws-cdk/aws-imagebuilder": "1.99.0",
"@aws-cdk/aws-s3-assets": "1.99.0",
"@aws-cdk/core": "1.99.0",
"aws-rfdk": "0.30.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
#
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Script to return the username for the process running the RCS as reported by Deadline
#
# Input:
# None
# Output:
# Non-zero return code on failure.
# Outputs the username of the process that the Deadline RCS is running as


set -euo pipefail

DEADLINE="/opt/Thinkbox/Deadline10/bin"

# Fetch repository.ini from the Deadline repo
$DEADLINE/deadlinecommand -json GetProxyServerInfos | jq -e -r '.result[]|select(.Stat == 1 and .Type == "Remote")|.User'
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,32 @@ describe.each(testCases)('Deadline RenderQueue tests (%s)', (_, id) => {
expect(responseCode).toEqual(0);
});
});

test(`RQ-${id}-5: RCS not running as root`, async () => {
/**********************************************************************************************************
* TestID: RQ-5
* Description: Confirm that RCS process is not running as the root user
* Input: The user owning the RCS process as reported by deadlinecommand
* Expected result: Response code 0, i.e. the script execution was successful and Deadline accepted the job
**********************************************************************************************************/
var params = {
DocumentName: 'AWS-RunShellScript',
Comment: 'Execute Test Script RQ-query-rcs-user.sh',
InstanceIds: [bastionId],
Parameters: {
commands: [
'sudo -i',
'su - ec2-user >/dev/null',
'cd ~ec2-user',
'./testScripts/RQ-query-rcs-user.sh',
],
},
};
return awaitSsmCommand(bastionId, params).then( response => {
const user = response.output;
expect(user).not.toHaveLength(0);
expect(user).not.toEqual('root');
});
});
});
});
78 changes: 39 additions & 39 deletions integ/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "integ",
"version": "0.29.0",
"version": "0.30.0",
"private": false,
"description": "Integration tests for RFDK constructs",
"bin": {
Expand Down Expand Up @@ -55,54 +55,54 @@
"pkglint": "pkglint -f"
},
"devDependencies": {
"@aws-cdk/assert": "1.96.0",
"@types/jest": "^26.0.21",
"@types/node": "^14.14.35",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"aws-cdk": "1.96.0",
"eslint": "^7.22.0",
"@aws-cdk/assert": "1.99.0",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"aws-cdk": "1.99.0",
"eslint": "^7.24.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-license-header": "^0.2.0",
"jest": "^26.6.3",
"pkglint": "0.29.0",
"pkglint": "0.30.0",
"ts-jest": "^26.5.4"
},
"dependencies": {
"@aws-cdk/aws-docdb": "1.96.0",
"@aws-cdk/aws-ec2": "1.96.0",
"@aws-cdk/aws-ecr": "1.96.0",
"@aws-cdk/aws-ecs": "1.96.0",
"@aws-cdk/aws-efs": "1.96.0",
"@aws-cdk/aws-elasticloadbalancingv2": "1.96.0",
"@aws-cdk/aws-iam": "1.96.0",
"@aws-cdk/aws-logs": "1.96.0",
"@aws-cdk/aws-route53": "1.96.0",
"@aws-cdk/aws-s3": "1.96.0",
"@aws-cdk/aws-s3-assets": "1.96.0",
"@aws-cdk/aws-secretsmanager": "1.96.0",
"@aws-cdk/core": "1.96.0",
"aws-rfdk": "0.29.0",
"aws-sdk": "^2.869.0"
"@aws-cdk/aws-docdb": "1.99.0",
"@aws-cdk/aws-ec2": "1.99.0",
"@aws-cdk/aws-ecr": "1.99.0",
"@aws-cdk/aws-ecs": "1.99.0",
"@aws-cdk/aws-efs": "1.99.0",
"@aws-cdk/aws-elasticloadbalancingv2": "1.99.0",
"@aws-cdk/aws-iam": "1.99.0",
"@aws-cdk/aws-logs": "1.99.0",
"@aws-cdk/aws-route53": "1.99.0",
"@aws-cdk/aws-s3": "1.99.0",
"@aws-cdk/aws-s3-assets": "1.99.0",
"@aws-cdk/aws-secretsmanager": "1.99.0",
"@aws-cdk/core": "1.99.0",
"aws-rfdk": "0.30.0",
"aws-sdk": "^2.889.0"
},
"peerDependencies": {
"@aws-cdk/aws-docdb": "1.96.0",
"@aws-cdk/aws-ec2": "1.96.0",
"@aws-cdk/aws-ecr": "1.96.0",
"@aws-cdk/aws-ecs": "1.96.0",
"@aws-cdk/aws-efs": "1.96.0",
"@aws-cdk/aws-elasticloadbalancingv2": "1.96.0",
"@aws-cdk/aws-iam": "1.96.0",
"@aws-cdk/aws-logs": "1.96.0",
"@aws-cdk/aws-route53": "1.96.0",
"@aws-cdk/aws-s3": "1.96.0",
"@aws-cdk/aws-s3-assets": "1.96.0",
"@aws-cdk/aws-secretsmanager": "1.96.0",
"@aws-cdk/core": "1.96.0",
"aws-rfdk": "0.29.0",
"aws-sdk": "^2.869.0"
"@aws-cdk/aws-docdb": "1.99.0",
"@aws-cdk/aws-ec2": "1.99.0",
"@aws-cdk/aws-ecr": "1.99.0",
"@aws-cdk/aws-ecs": "1.99.0",
"@aws-cdk/aws-efs": "1.99.0",
"@aws-cdk/aws-elasticloadbalancingv2": "1.99.0",
"@aws-cdk/aws-iam": "1.99.0",
"@aws-cdk/aws-logs": "1.99.0",
"@aws-cdk/aws-route53": "1.99.0",
"@aws-cdk/aws-s3": "1.99.0",
"@aws-cdk/aws-s3-assets": "1.99.0",
"@aws-cdk/aws-secretsmanager": "1.99.0",
"@aws-cdk/core": "1.99.0",
"aws-rfdk": "0.30.0",
"aws-sdk": "^2.889.0"
},
"engines": {
"node": ">= 10.13.0 <13 || >=13.7.0"
Expand Down
2 changes: 1 addition & 1 deletion lambda-layers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lambda-layers",
"version": "0.29.0",
"version": "0.30.0",
"private": false,
"description": "Package containing scripts for building and publishing Lambda Layers",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"rejectCycles": "true",
"version": "0.29.0"
"version": "0.30.0"
}
Loading

0 comments on commit 98dbb16

Please sign in to comment.