Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Set AWS_ENDPOINT_URL_DEADLINE on Worker #111

Merged

Conversation

moorec-aws
Copy link
Contributor

What was the problem/requirement? (What/Why)

In #96 we added functionality to specify and use AWS_ENDPOINT_URL_DEADLINE to set a custom endpoint url. We do not currently set this env variable on the workers so that it can connect to designated endpoint

What was the solution? (How)

Added the following to the worker configuration:

If the environment variable is specified, then add it to the Worker before installation so that it connects to the intended endpoint/farm location.

What is the impact of this change?

Enables AWS_ENDPOINT_URL_DEADLINE usage for the Worker Agent.

How was this change tested?

Setting AWS_ENDPOINT_URL_DEADLINE and running hatch run integ-test i confirmed that the worker would connect to various endpoints.

Was this change documented?

no

Is this a breaking change?

no


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@moorec-aws moorec-aws force-pushed the moorec/add_worker_endpoint branch from 14b3573 to b71436f Compare June 6, 2024 17:49
@moorec-aws moorec-aws force-pushed the moorec/add_worker_endpoint branch from b71436f to 9f7a37b Compare June 6, 2024 18:47
Copy link

sonarqubecloud bot commented Jun 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@moorec-aws moorec-aws marked this pull request as ready for review June 6, 2024 18:48
@moorec-aws moorec-aws requested a review from a team as a code owner June 6, 2024 18:48
@moorec-aws moorec-aws merged commit ea7e0db into aws-deadline:mainline Jun 6, 2024
13 checks passed
@moorec-aws moorec-aws deleted the moorec/add_worker_endpoint branch June 6, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants