You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,12 +218,12 @@ the pages will re-render and the browser will automatically refresh.
218
218
### Usage
219
219
220
220
- Run `just run-server` with optional args to set up the server.
221
-
All given flags will be passed to `run-orchestration.sh` in `DRIVERS_TOOLS`.
221
+
All given flags will be passed to `run-orchestration.sh` in `$DRIVERS_TOOLS`.
222
222
- Run `just setup-tests` with optional args to set up the test environment, secrets, etc.
223
223
- Run `just run-tests` to run the tests in an appropriate Python environment.
224
224
- When done, run `just teardown-tests` to clean up and `just stop-server` to stop the server.
225
225
226
-
## Encryption tests
226
+
###Encryption tests
227
227
228
228
- Run `just run-server` to start the server.
229
229
- Run `just setup-tests encryption`.
@@ -236,13 +236,13 @@ the pages will re-render and the browser will automatically refresh.
236
236
- Set up the test with `just setup-tests load_balancer`.
237
237
- Run the tests with `just run-tests`.
238
238
239
-
## AWS tests
239
+
###AWS tests
240
240
241
241
- Run `just run-server auth_aws` to start the server.
242
242
- Run `just setup-tests auth_aws <aws-test-type>` to set up the AWS test.
243
243
- Run the tests with `just run-tests`.
244
244
245
-
## KMS tests
245
+
###KMS tests
246
246
247
247
For KMS tests that are run locally, and expected to fail, in this case using `azure`:
248
248
@@ -255,6 +255,15 @@ For KMS tests that run remotely and are expected to pass, in this case using `gc
255
255
- Run `just setup-tests kms gcp`.
256
256
- Run `just run-tests`.
257
257
258
+
### OCSP tests
259
+
260
+
- Export the algorithm, e.g. `export ORCHESTRATION_FILE=rsa-basic-tls-ocsp-mustStaple.json`.
261
+
This corresponds to a config file in `$DRIVERS_TOOLS/.evergreen/orchestration/configs/servers`.
262
+
Only the rsa algorithm works on MacOS.
263
+
- Run `just run-server ocsp`.
264
+
- Run `just setup-tests ocsp valid` (options are "valid", "revoked", "valid-delegate", "revoked-delegate").
265
+
- Run `just run-tests`
266
+
258
267
## Enable Debug Logs
259
268
- Use `-o log_cli_level="DEBUG" -o log_cli=1` with `just test` or `pytest`.
260
269
- Add `log_cli_level = "DEBUG` and `log_cli = 1` to the `tool.pytest.ini_options` section in `pyproject.toml` for Evergreen patches or to enable debug logs by default on your machine.
0 commit comments