node-mongodb-native icon indicating copy to clipboard operation
node-mongodb-native copied to clipboard

ci(NODE-5736): update aws auth host and ecs task

Open W-A-James opened this issue 2 years ago • 1 comments

Description

Updates AWS ECS task definition ARN to run on Ubuntu 20.04

What is changing?

  • Use new environment variable for new ARN
  • Update AWS test config to run on Ubuntu 20 and use new ARN
  • Update config to use new standardized scripting
Is there new documentation needed for these changes?

No

What is the motivation for this change?

NODE-5736

Release Highlight

Fill in title or leave empty for no highlight

Double check the following

  • [X] Ran npm run check:lint script
  • [X] Self-review completed using the steps outlined here
  • [X] PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • [ ] Changes are covered by tests
  • [ ] New TODOs have a related JIRA ticket

W-A-James avatar Jan 24 '24 21:01 W-A-James

note that ECS tests are running into the following failures:

  • -no-optional tests fail due to permissions error
[2024/01/25 10:38:05.577] sh71672| + npm run check:aws

[2024/01/25 10:38:05.577] sh71672|

[2024/01/25 10:38:05.577] sh71672| > [email protected] check:aws

[2024/01/25 10:38:05.577] sh71672| > mocha --config test/mocha_mongodb.json test/integration/auth/mongodb_aws.test.ts

[2024/01/25 10:38:05.577] sh71672|

[2024/01/25 10:38:05.595] sh71672| sh: 1: mocha: Permission denied

[2024/01/25 10:38:05.595] sh71672| INFO:__main__:RETURN CODE: 127

[2024/01/25 10:38:05.595] sh71672| ERROR:__main__:FAILED: 127
  • regular ECS tests also fail due to permission error
[2024/01/25 10:35:36.957] sh47202| > [email protected] check:aws

[2024/01/25 10:35:36.957] sh47202| > mocha --config test/mocha_mongodb.json test/integration/auth/mongodb_aws.test.ts

[2024/01/25 10:35:36.957] sh47202|

[2024/01/25 10:35:36.979] sh47202| sh: 1: mocha: Permission denied

[2024/01/25 10:35:36.979] sh47202| INFO:__main__:RETURN CODE: 127
[2024/01/25 10:35:36.979] sh47202| ERROR:__main__:FAILED: 127

W-A-James avatar Jan 25 '24 15:01 W-A-James