add build stage
This commit is contained in:
parent
281fa4f5d6
commit
aff20d2c42
20 changed files with 12 additions and 12 deletions
|
|
@ -24,16 +24,16 @@ preflight:
|
|||
paths:
|
||||
- clearing_test
|
||||
|
||||
#build:
|
||||
# image: ${DOCKER_PROXY}/maven:latest
|
||||
# stage: build
|
||||
# script:
|
||||
# - mvn clean package -DskipTests -Pdistributive
|
||||
# artifacts:
|
||||
# name: "$CI_COMMIT_REF_NAME"
|
||||
# expire_in: 1 day
|
||||
# paths:
|
||||
# - /builds/mfd/clearing/z-distr/target/clearing
|
||||
build:
|
||||
image: ${DOCKER_PROXY}/maven:latest
|
||||
stage: build
|
||||
script:
|
||||
- mvn clean package -DskipTests -Pdistributive
|
||||
artifacts:
|
||||
name: "$CI_COMMIT_REF_NAME"
|
||||
expire_in: 1 day
|
||||
paths:
|
||||
- /builds/mfd/clearing/z-distr/target/clearing
|
||||
|
||||
test:
|
||||
stage: test
|
||||
|
|
@ -43,8 +43,8 @@ test:
|
|||
RESULT_FILES_DIR: "/builds/mfd/clearing/clr_test/result-files"
|
||||
script:
|
||||
- echo "Installing maven and python" && apk update && apk add maven python3
|
||||
# - echo "Copying jar files to clearing-all/bin" && cp -r /builds/mfd/clearing/z-distr/target/clearing/bin ./clr_test/clearing-all/bin
|
||||
# - echo "Copying DDL.sql to db directory" && cp /builds/mfd/clearing/z-distr/target/clearing/db/DDL.sql ./db
|
||||
- echo "Copying jar files to clearing-all/bin" && cp -r /builds/mfd/clearing/z-distr/target/clearing/bin ./clr_test/clearing-all/bin
|
||||
- echo "Copying DDL.sql to db directory" && cp /builds/mfd/clearing/z-distr/target/clearing/db/DDL.sql ./db
|
||||
- python3 clr_test/run_test_docker_containers.py
|
||||
artifacts:
|
||||
expire_in: 1 day
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue