.gitlab-ci.yml updated v28
This commit is contained in:
parent
0984884fc0
commit
0232edffc2
3 changed files with 6 additions and 7 deletions
|
|
@ -26,10 +26,9 @@ test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cd clr_test
|
- cd clr_test
|
||||||
- docker ps --all
|
|
||||||
- docker images --all
|
|
||||||
- pwd
|
- pwd
|
||||||
- ls -la ../z-distr/target/clearing
|
- cp -r /builds/mfd/clearing/z-distr/target/clearing/bin ./clearing-all/bin
|
||||||
- ls -la /builds/mfd/clearing/z-distr/target/clearing/db
|
- cp -r /builds/mfd/clearing/z-distr/target/clearing/settings ./clearing-all/settings
|
||||||
|
- cp /builds/mfd/clearing/z-distr/target/clearing/db/DDL.sql ./clearing-all/db
|
||||||
- docker-compose down --volumes
|
- docker-compose down --volumes
|
||||||
- docker compose up --build --force-recreate --abort-on-container-exit --exit-code-from clearing_system
|
- docker compose up --build --force-recreate --abort-on-container-exit --exit-code-from clearing_system
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ ENV CLEARING_HOME="/opt/clearing"
|
||||||
ENV CLEARING_HOME_BIN="/opt/clearing/bin"
|
ENV CLEARING_HOME_BIN="/opt/clearing/bin"
|
||||||
ENV CLEARING_HOME_CFG="/opt/clearing/bin"
|
ENV CLEARING_HOME_CFG="/opt/clearing/bin"
|
||||||
|
|
||||||
ADD ../../../z-distr/target/clearing/bin $CLEARING_HOME_BIN
|
ADD ./bin $CLEARING_HOME_BIN
|
||||||
ADD ../../../z-distr/target/clearing/settings $CLEARING_HOME/settings
|
ADD ./settings $CLEARING_HOME/settings
|
||||||
|
|
||||||
ADD ./kill_all.sh $CLEARING_HOME/kill_all.sh
|
ADD ./kill_all.sh $CLEARING_HOME/kill_all.sh
|
||||||
ADD ./launch_all.sh $CLEARING_HOME/launch_all.sh
|
ADD ./launch_all.sh $CLEARING_HOME/launch_all.sh
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
FROM mirror.gcr.io/postgres:14.1-alpine
|
FROM mirror.gcr.io/postgres:14.1-alpine
|
||||||
|
|
||||||
ADD ../../../z-distr/target/clearing/db/DDL.sql /docker-entrypoint-initdb.d/
|
ADD ./DDL.sql /docker-entrypoint-initdb.d/
|
||||||
ADD ./export.sql /docker-entrypoint-initdb.d/
|
ADD ./export.sql /docker-entrypoint-initdb.d/
|
||||||
ADD ./test-data.sql /docker-entrypoint-initdb.d/
|
ADD ./test-data.sql /docker-entrypoint-initdb.d/
|
||||||
Loading…
Add table
Reference in a new issue