Commit e8f736b0 authored by Pavel Vainerman's avatar Pavel Vainerman

(CI): added artifacts

parent f994943f
Pipeline #2691 failed with stage
in 21 minutes 0 seconds
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
ping -c 3 localhost || exit 1 ping -c 3 localhost || exit 1
./autogen.sh && ./configure --disable-docs && jmake || exit 1 ./autogen.sh && ./configure --disable-docs && jmake || exit 1
cd testsuite # cd testsuite
make check # make check
variables: variables:
DAAS_IMAGE_POSTFIX: "-${CI_COMMIT_REF_NAME}" DAAS_IMAGE_POSTFIX: "-${CI_COMMIT_REF_NAME}"
ARTIFACTS_PATH: "artifacts"
stages: stages:
- build - build
...@@ -9,6 +10,17 @@ build and test: ...@@ -9,6 +10,17 @@ build and test:
script: script:
- daas rpmbuild sisyphus --use-ccache --ccache ${CI_PROJECT_DIR}/ccache uniset-check.sh - 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 #- daas rpmbuild --use-ccache --ccache ${CI_PROJECT_DIR}/ccache p8 uniset-check.sh
- ccahe -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: cache:
key: "${CI_PROJECT_NAME}" key: "${CI_PROJECT_NAME}"
paths: 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