Disable Drone CI cache
This commit is contained in:
parent
6004971bae
commit
b0762d52f9
35
.drone.yml
35
.drone.yml
|
@ -2,21 +2,6 @@ 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:
|
||||
|
@ -27,23 +12,3 @@ steps:
|
|||
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/
|
||||
|
|
|
@ -19,8 +19,7 @@ COPY licenses /opt/licenses
|
|||
|
||||
WORKDIR /opt/android-sdk-linux
|
||||
|
||||
RUN --mount=type=cache,target=/var/cache/apt && \
|
||||
dpkg --add-architecture i386 && \
|
||||
RUN dpkg --add-architecture i386 && \
|
||||
apt-get update -yqq && \
|
||||
apt-get install -y curl expect git libc6:i386 libgcc1:i386 libncurses5:i386 libstdc++6:i386 zlib1g:i386 openjdk-19-jdk-headless wget unzip vim qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils && \
|
||||
apt-get clean && \
|
||||
|
|
Loading…
Reference in New Issue