This commit is contained in:
parent
397085509f
commit
d50e419ba8
38
.drone.yml
38
.drone.yml
@ -1,26 +1,11 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: archlinux_build
|
||||
|
||||
clone:
|
||||
depth: 3
|
||||
|
||||
steps:
|
||||
- name: restore-cache-with-filesystem
|
||||
image: meltwater/drone-cache
|
||||
pull: true
|
||||
settings:
|
||||
backend: "filesystem"
|
||||
restore: true
|
||||
cache_key: "volume"
|
||||
archive_format: "gzip"
|
||||
# filesystem_cache_root: "/tmp/cache"
|
||||
mount:
|
||||
- 'vendor'
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
|
||||
- name: build-release-arch
|
||||
image: archlinux_build
|
||||
pull: if-not-exists
|
||||
@ -31,24 +16,3 @@ steps:
|
||||
# More than two makes ascee2 irresponsive for now
|
||||
- make -j2
|
||||
|
||||
- name: rebuild-cache-with-filesystem
|
||||
image: meltwater/drone-cache
|
||||
pull: true
|
||||
settings:
|
||||
backend: "filesystem"
|
||||
rebuild: true
|
||||
cache_key: "volume"
|
||||
archive_format: "gzip"
|
||||
# filesystem_cache_root: "/tmp/cache"
|
||||
mount:
|
||||
- 'vendor'
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /var/lib/cache
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user