File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 5858 - name : deploy to dev-5
5959 working-directory : build-scripts/run/
6060 run : |
61- export INSTANCE="${INSTANCE}"
62- export ADMIN_PASSWORD="${ADMIN_PASSWORD}"
63- export USER_PASSWORD="${USER_PASSWORD}"
6461 ./start.sh dspace-$INSTANCE
6562 cd ../..
6663 # use customized docker-compose file for the `85` port because the server is exposed with the namespace `repository`
9289 - name : deploy dspace-import on dev-5
9390 working-directory : build-scripts/run/
9491 run : |
95- export INSTANCE="${INSTANCE}"
96- export ADMIN_PASSWORD="${ADMIN_PASSWORD}"
97- export USER_PASSWORD="${USER_PASSWORD}"
9892 ./start.sh dspace-$INSTANCE
9993 cd ../..
10094 # this is not necessary, since extra.yml doesn't contain any new images that weren't pulled within script above
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ PROJECT=${1:-unnamed_dspace}
88
99echo " Using envfile: [$ENVFILE ] for project: [$PROJECT ]"
1010
11+ # Debug: Check what's in the environment before anything
12+ echo " DEBUG: Environment check before sourcing:"
13+ echo " ADMIN_PASSWORD in env: $( printenv ADMIN_PASSWORD > /dev/null 2>&1 && echo ' yes' || echo ' NO' ) "
14+ echo " USER_PASSWORD in env: $( printenv USER_PASSWORD > /dev/null 2>&1 && echo ' yes' || echo ' NO' ) "
15+
1116# Preserve passwords if they're already set - they take precedence over env file
1217SAVED_ADMIN_PASSWORD=" ${ADMIN_PASSWORD:- } "
1318SAVED_USER_PASSWORD=" ${USER_PASSWORD:- } "
You can’t perform that action at this time.
0 commit comments