Skip to content

Commit

Permalink
test: Use diracgrid/diracx/secret-generation:latest for making JWT si…
Browse files Browse the repository at this point in the history
…gning key
  • Loading branch information
chrisburr committed Oct 27, 2023
1 parent 820195d commit d0e5698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/CI/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ services:
pull_policy: always

diracx-init-key:
image: ghcr.io/diracgrid/diracx/server
image: ghcr.io/diracgrid/diracx/secret-generation:latest
container_name: diracx-init-key
environment:
- DIRACX_SERVICE_AUTH_TOKEN_KEY="file:///signing-key/rs256.key"
Expand All @@ -123,7 +123,7 @@ services:
# We need to allow everybody to read the private keys
# Because the users are different between the DIRAC and DiracX containers
entrypoint: |
/entrypoint.sh bash -c "ssh-keygen -P '' -trsa -b4096 -mPEM -f/signing-key/rs256.key && /entrypoint.sh chmod o+r /signing-key/rs256.*"
bash -c "ssh-keygen -P '' -trsa -b4096 -mPEM -f/signing-key/rs256.key && chmod o+r /signing-key/rs256.*"
pull_policy: always

diracx-init-cs:
Expand Down

0 comments on commit d0e5698

Please sign in to comment.