mongo-python-driver icon indicating copy to clipboard operation
mongo-python-driver copied to clipboard

PYTHON-4609: [1/x] Migrate all pre and most post shell.exec to subprocess.exec

Open Jibola opened this issue 1 year ago • 1 comments

This PR focuses on primarily converting the pre/post functions with a few additional artifact and bootstrapping functions included as well.

Functions with converted shell.exec --> subprocess.exec

  • [x] "prepare resources"
  • [x] "upload mo artifacts"
  • [x] "bootstrap mongo orchestration"
  • [x] "bootstrap data lake"
  • [x] "stop mongo-orchestration"
  • [x] "run aws ECS auth test"
  • [x] "windows fix"
  • [x] "make files executable"
  • [x] "init test-results"
  • [x] "install dependencies"

Functions Remaining (to be done in more PRs)

  • [ ] "run tests" -- combined both shell.exec calls
  • [ ] "download and merge coverage"
  • [ ] "run mod_wsgi tests"
  • [ ] "run mockupdb tests"
  • [ ] "run doctests"
  • [ ] "run enterprise auth tests"
  • [ ] "run atlas tests"
  • [ ] "run aws auth test with regular aws credentials"
  • [ ] "run aws auth test with assume role credentials"
  • [ ] "run aws auth test with aws EC2 credentials"
  • [ ] "run aws auth test with aws web identity credentials"
  • [ ] "run oidc auth test with aws credentials as environment variables"
  • [ ] "run aws auth test with aws credentials and session token as environment variables"
  • [ ] "cleanup"
  • [ ] "run-ocsp-test"
  • [ ] run-valid-ocsp-server
  • [ ] run-revoked-ocsp-server
  • [ ] run-valid-delegate-ocsp-server
  • [ ] run-revoked-delegate-ocsp-server
  • [ ] "run load-balancer"
  • [ ] "stop load-balancer"
  • [ ] "teardown_docker"
  • [ ] "teardown_aws"
  • [ ] "run perf tests"

Jibola avatar Sep 06 '24 14:09 Jibola

Re-working this to use some drivers-evergreen-tools version of scripts!

Jibola avatar Sep 06 '24 16:09 Jibola

Superseded by #1997

blink1073 avatar Nov 08 '24 19:11 blink1073