- Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-4721 - Create individualized scripts for all shell.exec commands #1997
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
52 commits Select commit Hold shift + click to select a range
14d26bc [1/x] Migrate all pre and most post scripts to subprocess in /scripts
Jibola 56fafb8 command-type fix
Jibola 71de21f Merge branch 'master' into PYTHON-4069-1
Jibola f957a69 remove .evergreen/scripts/run-tests from this PR
Jibola 94db687 Merge branch 'master' into PYTHON-4069-1
NoahStapp 051e733 download_and_merge_coverage
NoahStapp ea5dff8 mockupdb, doctests, atlas
NoahStapp b10bd37 modwsgi, enterprise auth
NoahStapp a9b1c07 Fix modwsgi, aws auth
NoahStapp c017581 Fix aws auth, ocsp
NoahStapp 6ce1f86 Standardize binary to bash
NoahStapp ec3c2c4 All but run_tests
NoahStapp 312266f Run tests
NoahStapp 1b1abc8 Cleanup
NoahStapp b395f01 Debugging
NoahStapp 7bda294 Fixes
NoahStapp 3ef0084 Add run-with-env.sh
NoahStapp 8176e6c Fix client context OS var checks
NoahStapp c3bcada Fix data lake tests
NoahStapp a49e630 Fix data lake tests
NoahStapp 4a9ddf9 Add expansions to env
NoahStapp fbc5a0b debugging
NoahStapp fe40a95 More env fixes
NoahStapp 40a9984 Add setup-tests.sh
NoahStapp 01704ba Cleanup
NoahStapp 57acb85 Cleanup
NoahStapp 13c6e83 Merge branch 'master' into PYTHON-4721
NoahStapp 707452b Remove LOAD_BALANCER from system setup env
NoahStapp 7617ac6 Fix unbound variables
NoahStapp 3ff9a41 Add AUTH + SSL to bootstrap orchestration
NoahStapp 2a3cc4c Remove AUTH and SSL from system env
NoahStapp 4a83e54 Fixes
NoahStapp 9d2212f Don't pass PYTHON_BINARY to CSFLE setup
NoahStapp 9949ac9 Silent coverage
NoahStapp fb15895 Pass TEST_SUITES to run-tests
NoahStapp 6f74878 Fix archive-logs
NoahStapp ae446f6 Remove unneeded s3 put
NoahStapp 5f0b429 Add drivers-evergreen-tools teardown
NoahStapp 3a3b542 More upload fixes
NoahStapp d7f79ca More fixes
NoahStapp b8cd932 Remove TEST_SUITES from system-setup env, fix bucket
NoahStapp 717c7c0 Add default TEST_SUITES to run-tests.sh
NoahStapp f7ad42d Fix upload-coverage-report
NoahStapp 68c9d29 run-with-env.sh should use -u not -eu
NoahStapp 637a6cc Add type:test back to run tests
NoahStapp ed73e72 Fix AUTH + SSL
NoahStapp 18d82e0 Merge branch 'master' into PYTHON-4721
NoahStapp b4695c1 Fix bootstrap AUTH + SSL
NoahStapp 7654361 Only pass PYTHON_BINARY where it was before
NoahStapp ebab2b6 Merge branch 'master' into PYTHON-4721
NoahStapp 82dcf30 Cleanup
NoahStapp d5de764 AWS auth fix
NoahStapp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Standardize binary to bash
- Loading branch information
commit 6ce1f86c095f6eb123ce224c7a34018a9eaf66ff
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| | @@ -83,7 +83,6 @@ functions: | |
| - command: subprocess.exec | ||
| params: | ||
| binary: bash | ||
| silent: true | ||
| working_dir: "src" | ||
| include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"] | ||
| args: | ||
| | @@ -261,7 +260,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| include_expansions_in_env: ["PROJECT_DIRECTORY", "PYTHON_BINARY", "MOD_WSGI_VERSION", "MOD_WSGI_EMBEDDED"] | ||
| include_expansions_in_env: ["PYTHON_BINARY", "MOD_WSGI_VERSION", "MOD_WSGI_EMBEDDED"] | ||
| working_dir: "src" | ||
| binary: bash | ||
| args: | ||
| | @@ -366,7 +365,7 @@ functions: | |
| params: | ||
| binary: bash | ||
| working_dir: "src" | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "PROJECT_DIRECTORY", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"] | ||
| include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"] | ||
| args: | ||
| - .evergreen/scripts/run-enterprise-auth-tests.sh | ||
| | ||
| | @@ -375,7 +374,7 @@ functions: | |
| type: test | ||
| params: | ||
| binary: bash | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "PROJECT_DIRECTORY", "PYTHON_BINARY", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"] | ||
| include_expansions_in_env: ["PYTHON_BINARY", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"] | ||
| working_dir: "src" | ||
| args: | ||
| - .evergreen/scripts/run-atlas-tests.sh | ||
| | @@ -393,7 +392,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| include_expansions_in_env: ["DRIVERS_TOOLS"] | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "PYTHON_BINARY", "skip_EC2_auth_test"] | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| | @@ -404,7 +403,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| include_expansions_in_env: ["DRIVERS_TOOLS"] | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "skip_EC2_auth_test"] | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| | @@ -414,7 +413,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| include_expansions_in_env: ["DRIVERS_TOOLS"] | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "skip_EC2_auth_test"] | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| | @@ -424,7 +423,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| include_expansions_in_env: ["DRIVERS_TOOLS"] | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "skip_EC2_auth_test"] | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| | @@ -436,7 +435,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| include_expansions_in_env: ["DRIVERS_TOOLS"] | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "skip_EC2_auth_test"] | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| | @@ -446,7 +445,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| include_expansions_in_env: ["DRIVERS_TOOLS"] | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "skip_EC2_auth_test"] | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| | @@ -478,7 +477,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| binary: "bash" | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| - .evergreen/scripts/run-aws-ecs-auth-test.sh | ||
| | @@ -498,30 +497,35 @@ functions: | |
| "fix absolute paths": | ||
| - command: subprocess.exec | ||
| params: | ||
| binary: bash | ||
| args: | ||
| - src/.evergreen/scripts/fix-absolute-paths.sh | ||
| | ||
| "windows fix": | ||
| - command: subprocess.exec | ||
| params: | ||
| binary: bash | ||
| args: | ||
| - src/.evergreen/scripts/windows-fix.sh | ||
| | ||
| "make files executable": | ||
| - command: subprocess.exec | ||
| params: | ||
| binary: bash | ||
| args: | ||
| - src/.evergreen/scripts/make-files-executable.sh | ||
| | ||
| "init test-results": | ||
| - command: subprocess.exec | ||
| params: | ||
| binary: bash | ||
| args: | ||
| - src/.evergreen/scripts/init-test-results.sh | ||
| | ||
| "install dependencies": | ||
| - command: subprocess.exec | ||
| params: | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| - .evergreen/scripts/install-dependencies.sh | ||
| | @@ -549,7 +553,7 @@ functions: | |
| - command: subprocess.exec | ||
| type: test | ||
| params: | ||
| include_expansions_in_env: ["DRIVERS_TOOLS", "PROJECT_DIRECTORY", "OCSP_ALGORITHM", "OCSP_TLS_SHOULD_SUCCEED"] | ||
| include_expansions_in_env: ["OCSP_ALGORITHM", "OCSP_TLS_SHOULD_SUCCEED"] | ||
| binary: bash | ||
| working_dir: "src" | ||
| args: | ||
| | @@ -560,7 +564,7 @@ functions: | |
| params: | ||
| background: true | ||
| binary: bash | ||
| include_expansions_in_env: [SERVER_TYPE, OCSP_ALGORITHM] | ||
| include_expansions_in_env: ["SERVER_TYPE", "OCSP_ALGORITHM"] | ||
| ||
| args: | ||
| - ${DRIVERS_TOOLS}/.evergreen/ocsp/setup.sh | ||
| | ||
| | @@ -683,13 +687,13 @@ task_groups: | |
| - func: make files executable | ||
| - command: subprocess.exec | ||
| params: | ||
| binary: "bash" | ||
| binary: bash | ||
| args: | ||
| - ${DRIVERS_TOOLS}/.evergreen/csfle/gcpkms/create-and-setup-instance.sh | ||
| teardown_task: | ||
| - command: subprocess.exec | ||
| params: | ||
| binary: "bash" | ||
| binary: bash | ||
| args: | ||
| - ${DRIVERS_TOOLS}/.evergreen/csfle/gcpkms/delete-instance.sh | ||
| - func: "upload test results" | ||
| | @@ -1535,7 +1539,7 @@ tasks: | |
| type: setup | ||
| params: | ||
| working_dir: "src" | ||
| binary: "bash" | ||
| binary: bash | ||
| include_expansions_in_env: ["DRIVERS_TOOLS"] | ||
| args: | ||
| - .evergreen/run-gcpkms-test.sh | ||
| | ||
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.