Skip to content

Commit

Permalink
Extend wait for ERD generation
Browse files Browse the repository at this point in the history
So that it finishes in time and build passes.
  • Loading branch information
chunky56 committed Sep 8, 2020
1 parent bf6f7a4 commit ddfdabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci-erdGeneration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ wget https://raw.githubusercontent.com/OpenLMIS/openlmis-ref-distro/master/setti
&& chmod 777 output \
&& export COMPOSE_PROJECT_NAME_LOWER_CASE=`echo "$COMPOSE_PROJECT_NAME" | tr '[:upper:]' '[:lower:]'` \
&& (docker run --rm --network ${COMPOSE_PROJECT_NAME_LOWER_CASE//.}_default -v $WORKSPACE/erd/output:/output schemaspy/schemaspy:6.1.0 -t pgsql -host db -port 5432 -db open_lmis -s referencedata -u postgres -p p@ssw0rd -I "(data_loaded)|(schema_version)|(jv_.*)" -norows -hq &) \
&& sleep 30 \
&& sleep 90 \
&& /usr/local/bin/docker-compose down --volumes \
&& sudo chown -R $USER:$USER output \
&& mv output/* /var/www/html/erd-referencedata \
Expand Down

0 comments on commit ddfdabd

Please sign in to comment.