-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New compose file suitable to develop VOMS
The idea is to have a service for each platform, client and server, which mounts the source read-only. The build can then be done off-source and installed locally.
- Loading branch information
Showing
2 changed files
with
109 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
if [ -z "${VOMS_SRC}" ]; then | ||
echo "Set the VOMS_SRC environment variable to point to the VOMS sources. Exiting..." | ||
exit 1 | ||
fi | ||
|
||
docker compose -f compose/docker-compose.dev.yml up -d | ||
|
||
uid=$(id -u) | ||
gid=$(id -g) | ||
|
||
for service in testsuite voms-7-stable voms-7-beta voms-9-beta; do | ||
docker compose -f compose/docker-compose.dev.yml exec $service sudo groupmod -g ${gid} test | ||
docker compose -f compose/docker-compose.dev.yml exec $service sudo usermod -u ${uid} test | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters