From ea9a69a5ed2de8e5f321eabc6e29c5053956a0f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Apr 2016 23:32:13 +0300 Subject: Replace cache to artifacts in .gitlab-ci.yml Because cache look like broken. --- .gitlab-ci.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to '.gitlab-ci.yml') 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: -- cgit v1.2.3-70-g09d2