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

Add ability to dump test env vars to file #266

Merged
merged 2 commits into from
Dec 12, 2023
Merged

Add ability to dump test env vars to file #266

merged 2 commits into from
Dec 12, 2023

Conversation

sfod
Copy link
Contributor

@sfod sfod commented Dec 12, 2023

Add possibility to dump testing environment variables to a specified file. The dump file is specified via an environment variable AWS_SETUP_CRT_TEST_ENVIRONMENT_DUMP_FILE.

This is useful when you want to setup your local environment for running tests. Execute the following commands from the repo root to set env vars:

export AWS_SETUP_CRT_TEST_ENVIRONMENT_DUMP_FILE=~/work/setup_test_env.inc
builder run SetupCrossCICrtEnvironment -p tests
source ~/work/setup_test_env.inc

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sfod sfod merged commit 36cf9d3 into main Dec 12, 2023
74 checks passed
@sfod sfod deleted the persist-env-vars branch December 12, 2023 19:55
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