50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: restore-cache-with-filesystem
|
|
image: meltwater/drone-cache:latest
|
|
pull: true
|
|
settings:
|
|
backend: "filesystem"
|
|
restore: true
|
|
cache_key: "volume"
|
|
archive_format: "gzip"
|
|
# filesystem_cache_root: "/tmp/cache"
|
|
mount:
|
|
- '/var/cache/apt/'
|
|
volumes:
|
|
- name: cache
|
|
path: /tmp/cache
|
|
|
|
- name: docker
|
|
image: plugins/docker:linux-amd64
|
|
settings:
|
|
registry: git.cuernodehipnos.es
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
repo: git.cuernodehipnos.es/marown/android-sdk-docker
|
|
tags: latest
|
|
|
|
- name: rebuild-cache-with-filesystem
|
|
image: meltwater/drone-cache:latest
|
|
pull: true
|
|
settings:
|
|
backend: "filesystem"
|
|
rebuild: true
|
|
cache_key: "volume"
|
|
archive_format: "gzip"
|
|
# filesystem_cache_root: "/tmp/cache"
|
|
mount:
|
|
- '/var/cache/apt/'
|
|
volumes:
|
|
- name: cache
|
|
path: /tmp/cache
|
|
|
|
volumes:
|
|
- name: cache
|
|
host:
|
|
path: /share/CACHEDEV1_DATA/homes/admin/drone/cache/
|