summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-08 23:32:13 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-08 23:32:13 +0300
commitea9a69a5ed2de8e5f321eabc6e29c5053956a0f0 (patch)
tree7cd635c5517dba652cd0f903f98d4eda3c6944c0 /.gitlab-ci.yml
parentfb61fd44cd47b9bcdbb84fe85fb08876dc5d0b14 (diff)
downloadclientdata-ea9a69a5ed2de8e5f321eabc6e29c5053956a0f0.tar.gz
clientdata-ea9a69a5ed2de8e5f321eabc6e29c5053956a0f0.tar.bz2
clientdata-ea9a69a5ed2de8e5f321eabc6e29c5053956a0f0.tar.xz
clientdata-ea9a69a5ed2de8e5f321eabc6e29c5053956a0f0.zip
Replace cache to artifacts in .gitlab-ci.yml
Because cache look like broken.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files changed, 15 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f9a748ff..77e19b49 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,31 +11,34 @@ pages:
- cd ..
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
+ - pwd
- ./tools/gitlab-ci/clientdata.sh
+ - pwd
+ - ls clientdata/shared
artifacts:
paths:
+ - shared
- public
- cache:
- key: "$CI_BUILD_REF_NAME"
- paths:
- - .shared
only:
- master
ok_job:
stage: ok
script:
+ - pwd
+ - ls shared
- apt-get update
- apt-get -y -qq install ii psmisc pastebinit
- cd ..
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
+ - pwd
+ - ls clientdata/shared
- ./tools/gitlab-ci/susseccaction.sh
when: on_success
- cache:
- key: "$CI_BUILD_REF_NAME"
+ artifacts:
paths:
- - .shared
+ - shared
dependencies:
- pages
only:
@@ -44,20 +47,20 @@ ok_job:
fail_job:
stage: fail
script:
+ - pwd
+ - echo $CI_BUILD_REF_NAME
+ - ls shared
- apt-get update
- apt-get -y -qq install ii psmisc pastebinit
- cd ..
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
+ - ls clientdata/shared
- ./tools/gitlab-ci/failaction.sh
when: on_failure
- cache:
- key: "$CI_BUILD_REF_NAME"
- paths:
- - .shared
artifacts:
paths:
- - .shared/error.log
+ - shared
dependencies:
- pages
only: