update circle ci build config

This commit is contained in:
dandds 2018-10-24 10:24:04 -04:00
parent e17edf1f39
commit 60cc49275b
2 changed files with 5 additions and 2 deletions

View File

@ -86,7 +86,7 @@ jobs:
name: "Load Cache: CRLs"
keys:
- disa-crls-v2
- run:
- run:
name: "Update CRLs"
command: ./script/sync-crls
- save_cache:
@ -163,7 +163,7 @@ jobs:
--change="ENV APP_GROUP \"${APP_GROUP}\"" \
--change="ENV APP_DIR \"${APP_DIR}\"" \
--change='ENTRYPOINT ["/usr/bin/dumb-init", "--"]' \
--change="CMD [\"bash\", \"-c\", \"${APP_DIR}/script/uwsgi_server\"]" \
--change="CMD [\"bash\", \"-c\", \"crond -b && ${APP_DIR}/script/uwsgi_server\"]" \
--change="WORKDIR ${APP_DIR}" \
--change="USER \"${APP_USER}\"" \
${CONTAINER_NAME} \

View File

@ -27,6 +27,9 @@ WORKDIR ${APP_DIR}
# Copy over setup scripts
COPY script/ ./script/
# add sync-crl cronjob for atst user
RUN echo "1 */6 * * * /opt/atat/atst/script/sync-crls tests/crl-tmp" >> /etc/crontabs/atst
# Add required system packages and app user
RUN set -x ; \
script/alpine_setup