From 442681bd21489bbea3870f2325ae940650bb3d46 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Apr 2016 23:08:20 +0300 Subject: Move cache to top --- .gitlab-ci.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b8321d5..83d368b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,11 @@ stages: - fail - ok +cache: + key: "$CI_BUILD_REF_NAME" + paths: + - .shared + pages: stage: deploy script: @@ -19,10 +24,6 @@ pages: # artifacts: # paths: # - public - cache: - key: "$CI_BUILD_REF_NAME" - paths: - - .shared only: - pagestest @@ -43,10 +44,6 @@ ok_job: - ls clientdata/.shared - ./tools/gitlab-ci/susseccaction.sh when: on_success - cache: - key: "$CI_BUILD_REF_NAME" - paths: - - .shared dependencies: - pages only: @@ -66,13 +63,6 @@ fail_job: - ls clientdata/.shared - ./tools/gitlab-ci/failaction.sh when: on_failure - cache: - key: "$CI_BUILD_REF_NAME" - paths: - - .shared - artifacts: - paths: - - .shared/error.log dependencies: - pages only: -- cgit v1.2.3-70-g09d2