atst/script/sync-crls
dandds 44141c002d Fix up sync-crls script and add to Dockerfile.
- Fix some python formatting and import issues
- Fix dockerfile to include sync-crls script
- Adjust sync-crls script to use paths and CLI tools available in the
  Docker container
2019-08-06 11:31:19 -04:00

12 lines
280 B
Bash
Executable File

#!/bin/sh
# script/sync-crls: update the DOD CRLs and place them where authnid expects them
set -e
cd "$(dirname "$0")/.."
mkdir -p crl-tmp crls
# need to adjust this command
./.venv/bin/python ./atst/domain/authnid/crl/util.py crl-tmp crls
cp -r crl-tmp/* crls/
rm -rf crl-tmp