Skip to content

Commit

Permalink
chore: small messaging clarifications (#91)
Browse files Browse the repository at this point in the history
* chore: small messaging clarifications

- Added messaging to remind users they need to be authenticated to use
the stage-deadline script
- Added command for determining Deadline worker AMI ID's to integ tests
readme

* Updated error message
  • Loading branch information
horsmand committed Aug 27, 2020
1 parent 19202f0 commit 7ddf2c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integ/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To run all test suites:
* DEADLINE_STAGING_PATH - Complete path to local staging folder for Deadline assets (see `packages/aws-rfdk/docs/DockerImageRecipes.md` for more information)
* Options required for the Deadline repository test component:
* USER_ACCEPTS_SSPL_FOR_RFDK_TESTS - should be set to true. Setting this variable is considered acceptance of the terms of the SSPL license. Follow [this link](https://www.mongodb.com/licensing/server-side-public-license) to read the terms of the SSPL license.
* Options required for the Deadline worker fleet test component:
* Options required for the Deadline worker fleet test component (use `aws --region <region> ec2 describe-images --owners 357466774442 --filters "Name=name,Values=*Worker*" "Name=name,Values=*<version>*" --query 'Images[*].[ImageId, Name]' --output text` to discover AMI's):
* LINUX_DEADLINE_AMI_ID - set to the ID of an available Linux worker fleet AMI with Deadline installed.
* WINDOWS_DEADLINE_AMI_ID - set to the ID of an available Windows worker fleet AMI with Deadline installed.

Expand Down
2 changes: 1 addition & 1 deletion packages/aws-rfdk/bin/stage-deadline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function getFile(props: GetFileProps) {
const success = spawnCommand('aws', props.verbose, cmdArgs);

if (!success) {
throw new Error(`Could not fetch ${props.uri.href}`);
throw new Error(`Could not fetch ${props.uri.href} (Are you authenticated with the AWS CLI?)`);
}

return path.join(props.targetFolder, uriFilename(props.uri));
Expand Down

0 comments on commit 7ddf2c8

Please sign in to comment.