Compare commits
1 commit
509e86b758
...
db3e79b1ec
| Author | SHA1 | Date | |
|---|---|---|---|
| db3e79b1ec |
1 changed files with 1 additions and 21 deletions
22
.drone.yml
22
.drone.yml
|
|
@ -10,26 +10,8 @@ services:
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: restore_cache
|
|
||||||
# the `plugins` user seems to be owned by the drone organization
|
|
||||||
image: docker.io/plugins/cache:1.9
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: "volume"
|
|
||||||
archive_format: "gzip"
|
|
||||||
# filesystem_cache_root: "/tmp/cache"
|
|
||||||
mount:
|
|
||||||
- "_build"
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /tmp/cache
|
|
||||||
|
|
||||||
- name: check
|
- name: check
|
||||||
image: docker.io/library/elixir:1.18.3-otp-27
|
image: docker.io/library/elixir:1.18.3-otp-27
|
||||||
depends_on:
|
|
||||||
- restore_cache
|
|
||||||
commands:
|
commands:
|
||||||
# Install hex package manager
|
# Install hex package manager
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
|
|
@ -66,9 +48,7 @@ steps:
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: docker.io/library/elixir:1.18.3-otp-27
|
image: docker.io/library/elixir:1.18.3-otp-27
|
||||||
depends_on:
|
- wait_for_postgres
|
||||||
- restore_cache
|
|
||||||
# - wait_for_postgres
|
|
||||||
environment:
|
environment:
|
||||||
MIX_ENV: test
|
MIX_ENV: test
|
||||||
TEST_POSTGRES_HOST: postgres
|
TEST_POSTGRES_HOST: postgres
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue