Skip to content

Commit

Permalink
create dummy CRL in CI file so healthcheck can pass
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Apr 19, 2024
1 parent 1aac8ce commit 151dafb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: mkdir -p /tmp/ca_public && touch /tmp/ca_public/crl.der
- run: docker build --target ocsprest -t rasenmaeher_ocsprest .
- run: docker run -d -p 8887:8887 --name rasenmaeher_ocsprest rasenmaeher_ocsprest
- run: docker run -d -p 8887:8887 -v /tmp/ca_public:/ca_public --name rasenmaeher_ocsprest rasenmaeher_ocsprest
- run: sleep 3 && docker logs rasenmaeher_ocsprest
- run: echo 'print whole trace' && curl http://localhost:8887/api/v1/healthcheck
- run: echo 'verify success' && curl http://localhost:8887/api/v1/healthcheck | grep 'success'

0 comments on commit 151dafb

Please sign in to comment.