Skip to content

Commit

Permalink
Merge pull request #553 from jbernal0019/master
Browse files Browse the repository at this point in the history
Update chrisomatic to version 0.8.2
  • Loading branch information
jbernal0019 authored Apr 16, 2024
2 parents 1dc4fa7 + c20a830 commit f95f05a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker-compose_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

services:
chrisomatic:
image: ghcr.io/fnndsc/chrisomatic:0.8.0a1
image: ghcr.io/fnndsc/chrisomatic:0.8.2
volumes:
- "./chrisomatic:/etc/chrisomatic:ro"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose_noswift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

services:
chrisomatic:
image: ghcr.io/fnndsc/chrisomatic:0.8.0a1
image: ghcr.io/fnndsc/chrisomatic:0.8.2
volumes:
- "./chrisomatic:/etc/chrisomatic:ro"
- "/var/run/docker.sock:/var/run/docker.sock:rw"
Expand Down
12 changes: 9 additions & 3 deletions postscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ G_SYNOPSIS="
postscript.sh
SYNOPSIS
postscript.sh [swift|filesystem]
postscript.sh [swift|fslink|filesystem]
ARGS
[swift|filesystem]
[swift|fslink|filesystem]
Denotes the storage environment.
DESCRIPTION
Expand All @@ -33,8 +33,14 @@ fi

STORAGE_ENV=$1

if ! [[ "$STORAGE_ENV" =~ ^(swift|fslink|filesystem)$ ]]; then
echo "error: Invalid storage environment"
echo "$G_SYNOPSIS"
exit 1
fi

if [[ $STORAGE_ENV == 'swift' ]]; then
docker compose -f docker-compose_dev.yml run --rm chrisomatic chrisomatic postscript.yml
elif [[ $STORAGE_ENV == 'filesystem' ]]; then
elif [[ $STORAGE_ENV =~ ^(fslink|filesystem)$ ]]; then
docker compose -f docker-compose_noswift.yml run --rm chrisomatic chrisomatic postscript.yml
fi

0 comments on commit f95f05a

Please sign in to comment.