.gitlab-ci.yml updated v21
This commit is contained in:
parent
99f5661ddf
commit
a7d03ce60f
4 changed files with 10 additions and 8 deletions
|
|
@ -14,8 +14,8 @@ build:
|
||||||
image: ${DOCKER_PROXY}/maven:latest
|
image: ${DOCKER_PROXY}/maven:latest
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
# - mvn clean package -DskipTests -Pdistributive
|
- mvn clean package -DskipTests -Pdistributive
|
||||||
- mvn --version
|
# - mvn --version
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "$CI_COMMIT_REF_NAME"
|
name: "$CI_COMMIT_REF_NAME"
|
||||||
paths:
|
paths:
|
||||||
|
|
@ -25,8 +25,6 @@ test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cd clr_test
|
- cd clr_test
|
||||||
# - ls ../z-distr/target/clearing/bin
|
|
||||||
# - ls ../z-distr/target/clearing/db
|
|
||||||
- pwd
|
- pwd
|
||||||
- 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,10 @@ 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
|
WORKDIR /builds/mfd/clearing/z-distr/target/clearing/
|
||||||
ADD ../../z-distr/target/clearing/settings $CLEARING_HOME/settings
|
|
||||||
|
ADD ./bin $CLEARING_HOME_BIN
|
||||||
|
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,7 @@
|
||||||
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/
|
WORKDIR /builds/mfd/clearing/z-distr/target/clearing/db
|
||||||
|
|
||||||
|
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/
|
||||||
|
|
@ -34,7 +34,7 @@ services:
|
||||||
- "7020:7020"
|
- "7020:7020"
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/mfd/clr_test_new/mnt/testFiles:/opt/clearing/clearing_testing_utils/store/results
|
- /builds/mfd/clearing/clr_test/mnt/testFiles:/opt/clearing/clearing_testing_utils/store/results
|
||||||
# restart: always
|
# restart: always
|
||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue