From 7fc9bc5dbe095011e2a65d214596934f1edc71b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 22 May 2020 03:28:55 +0200 Subject: [PATCH] do not use cache --- .drone.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/.drone.yml b/.drone.yml index a53f2fe..2a5440a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,42 +3,11 @@ type: docker name: default steps: -- name: restore-cache-with-filesystem - image: meltwater/drone-cache - settings: - backend: "filesystem" - restore: true - cache_key: "{{ .Repo.Name }}" - archive_format: "gzip" - filesystem_cache_root: "/tmp/cache" - mount: - - 'build' - - '.gradle' - volumes: - - name: cache - path: /tmp/cache - - name: build_application image: openjdk:11-jdk commands: - ./gradlew build -x test -- name: rebuild-cache-with-filesystem - image: meltwater/drone-cache:dev - pull: true - settings: - backend: "filesystem" - rebuild: true - cache_key: "{{ .Repo.Name }}" - archive_format: "gzip" - filesystem_cache_root: "/tmp/cache" - mount: - - 'build' - - '.gradle' - volumes: - - name: cache - path: /tmp/cache - - name: kaniko image: banzaicloud/drone-kaniko settings: @@ -51,8 +20,3 @@ steps: tags: - latest - ${DRONE_BUILD_NUMBER} - -volumes: -- name: cache - host: - path: "/tmp/cache"