Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
115673bc
Commit
115673bc
authored
Apr 28, 2021
by
Haelwenn
Browse files
Merge branch 'gitlab-ci-mix-lock' into 'develop'
Cache GitLab CI based on mix.lock See merge request
pleroma/pleroma!3398
parents
d9e782c1
b9a99ac0
Pipeline
#35959
failed with stages
in 9 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
115673bc
...
...
@@ -8,7 +8,9 @@ variables: &global_variables
MIX_ENV
:
test
cache
:
&global_cache_policy
key
:
${CI_COMMIT_REF_SLUG}
key
:
files
:
-
mix.lock
paths
:
-
deps
-
_build
...
...
@@ -171,8 +173,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
...
...
@@ -231,7 +233,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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment