Disable Drone CI cache
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Amab 2023-04-15 12:48:14 +02:00
parent 6004971bae
commit b0762d52f9
2 changed files with 1 additions and 37 deletions

View File

@ -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/

View File

@ -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 && \