Skip to content

Commit

Permalink
Mount usercert in proper folder
Browse files Browse the repository at this point in the history
  • Loading branch information
federicaagostini committed Oct 9, 2024
1 parent b671a8a commit 2debd43
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions compose/assets/scripts/wait-and-run-testsuite.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
set -ex

export X509_USER_PROXY=${X509_USER_PROXY:-/tmp/x509up_u$(id -u)}
DAV_HOST=${DAV_HOST:-storm.test.example}

IAM_CLIENT_ID=${IAM_CLIENT_ID:-34d7ff8a-469e-4051-b95a-64b1fa6f7024}
Expand All @@ -11,7 +10,6 @@ export IAM_ACCESS_TOKEN=$(curl -d grant_type=client_credentials \
-d client_id=${IAM_CLIENT_ID} ${IAM_TOKEN_ENDPOINT} \
| jq .access_token | tr -d '"')

/scripts/init-usercerts.sh
echo "pass123" | voms-proxy-init --cert /tmp/usercerts/test0.p12 -voms test.vo --pwstdin

cp -r /code/robot .
Expand Down
Binary file added compose/assets/usercerts/test0.p12
Binary file not shown.
2 changes: 1 addition & 1 deletion compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
- ./assets/vomses:/etc/vomses:ro
- ./assets/vomsdir:/etc/grid-security/vomsdir
- ./assets/scripts:/scripts:ro
- ./assets/usercerts/:/usercerts:ro
- ./assets/usercerts/:/tmp/usercerts:ro
- ../:/code:ro

entrypoint: sleep infinity
Expand Down

0 comments on commit 2debd43

Please sign in to comment.