Commit eb22ae3e authored by Pavel Vainerman's avatar Pavel Vainerman

(CI): added artifacts

parent f994943f
Pipeline #2692 failed with stage
in 21 minutes 1 second
......@@ -3,5 +3,5 @@
ping -c 3 localhost || exit 1
./autogen.sh && ./configure --disable-docs && jmake || exit 1
cd testsuite
make check
# cd testsuite
# make check
variables:
DAAS_IMAGE_POSTFIX: "-${CI_COMMIT_REF_NAME}"
ARTIFACTS_PATH: "artifacts"
stages:
- build
......@@ -9,6 +10,17 @@ build and test:
script:
- daas rpmbuild sisyphus --use-ccache --ccache ${CI_PROJECT_DIR}/ccache uniset-check.sh
#- daas rpmbuild --use-ccache --ccache ${CI_PROJECT_DIR}/ccache p8 uniset-check.sh
- ccache -c
after_script:
- mkdir -p ${CI_PROJECT_DIR}/${ARTIFACTS_PATH}
- cp -ar ${CI_PROJECT_DIR}/testsuite ${CI_PROJECT_DIR}/${ARTIFACTS_PATH}/
artifacts:
paths:
- ${CI_PROJECT_DIR}/${ARTIFACTS_PATH}/*
when: always
expire_in: 5d
cache:
key: "${CI_PROJECT_NAME}"
paths:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment