Compare commits
1 commit
89831a257a
...
cafd028008
| Author | SHA1 | Date | |
|---|---|---|---|
| cafd028008 |
1 changed files with 1 additions and 10 deletions
11
.drone.yml
11
.drone.yml
|
|
@ -14,19 +14,12 @@ trigger:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: compute cache key
|
|
||||||
image: docker.io/library/elixir:1.18.3-otp-27
|
|
||||||
commands:
|
|
||||||
- echo "$DRONE_REPO_OWNER/$DRONE_REPO_NAME/" >> .cache_key
|
|
||||||
|
|
||||||
- name: restore-cache
|
- name: restore-cache
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
settings:
|
settings:
|
||||||
restore: true
|
restore: true
|
||||||
mount:
|
mount:
|
||||||
- ./deps
|
- ./deps
|
||||||
- ./_build
|
|
||||||
ttl: 30
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
|
|
@ -78,9 +71,7 @@ steps:
|
||||||
# Fetch dependencies
|
# Fetch dependencies
|
||||||
- mix deps.get
|
- mix deps.get
|
||||||
# Run tests
|
# Run tests
|
||||||
# - mix test
|
- mix test
|
||||||
# TODO: remove this, added only for testing
|
|
||||||
- mix compile
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
- name: rebuild-cache
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue