From f0a3bafe8470ea59622cc9164ccc99529ecf6d24 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Tue, 27 Apr 2021 16:24:48 -0500 Subject: Revert "Cache gitlab-ci based on mix.lock" This reverts commit 6e7e8d2f2fc3e50500ade2452d47927426a96cc4. --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2651ff9e6..2bc571971 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,9 +8,7 @@ variables: &global_variables MIX_ENV: test cache: &global_cache_policy - key: - files: - - mix.lock + key: ${CI_COMMIT_REF_SLUG} paths: - deps - _build @@ -173,8 +171,8 @@ spec-deploy: - apk add curl script: - curl -X POST -F"token=$API_DOCS_PIPELINE_TRIGGER" -F'ref=master' -F"variables[BRANCH]=$CI_COMMIT_REF_NAME" -F"variables[JOB_REF]=$CI_JOB_ID" https://git.pleroma.social/api/v4/projects/1130/trigger/pipeline - - + + stop_review_app: image: alpine:3.9 stage: deploy @@ -233,7 +231,7 @@ amd64-musl: stage: release artifacts: *release-artifacts only: *release-only - image: elixir:1.10.3-alpine + image: elixir:1.10.3-alpine cache: *release-cache variables: *release-variables before_script: &before-release-musl -- cgit v1.2.3