Skip to content

PHPC-2536: Migrate to common OCSP responder script #1800

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 1 commit into from
Mar 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ post:
- func: "upload test results"
- func: "stop mongo-orchestration"
- func: "stop load balancer"
- func: "stop OCSP responder"
- func: "cleanup"

# These aliases define the default variant/tasks to test for pull requests and merge queue
Expand Down
20 changes: 13 additions & 7 deletions .evergreen/config/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,23 @@ functions:
${PREPARE_SHELL}
bash ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh

"run OCSP responder":
- command: shell.exec
"start OCSP responder":
- command: subprocess.exec
params:
binary: bash
background: true
include_expansions_in_env:
- TEST_COLUMN
- CERT_TYPE
- USE_DELEGATE
Comment on lines -199 to -201
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted that these expansions ere used to determine what is now passed in SERVER_TYPE and OCSP_ALGORITHM.

shell: bash
- SERVER_TYPE
- OCSP_ALGORITHM
args:
- ${DRIVERS_TOOLS}/.evergreen/ocsp/setup.sh

"stop OCSP responder":
- command: shell.exec
params:
script: |
${PREPARE_SHELL}
bash ${PROJECT_DIRECTORY}/.evergreen/run-ocsp-responder.sh
bash ${DRIVERS_TOOLS}/.evergreen/ocsp/teardown.sh

"run tests":
- command: shell.exec
Expand Down
Loading
Loading