Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 10, 2025
1 parent e0c0a4a commit 187922d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .docker/Dockerfile-test-hsm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ ENV HSM_ENABLED=true
ENV HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so
ENV HSM_TOKEN_LABEL=hydra
ENV HSM_PIN=1234
ENV UPDATE_SNAPSHOTS=true

RUN apt-get -y install softhsm opensc
RUN pkcs11-tool --module "$HSM_LIBRARY" --slot 0 --init-token --so-pin 0000 --init-pin --pin "$HSM_PIN" --label "$HSM_TOKEN_LABEL"
Expand All @@ -30,4 +29,4 @@ RUN go test -p 1 -failfast -short -tags=sqlite,hsm ./...

FROM builder AS test-refresh-hsm

RUN go test -p 1 -failfast -short -tags=sqlite,hsm,refresh ./...
RUN UPDATE_SNAPSHOTS=true go test -p 1 -failfast -short -tags=sqlite,hsm,refresh ./...

0 comments on commit 187922d

Please sign in to comment.