wrong repo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2020-05-22 03:29:28 +02:00
parent 7fc9bc5dbe
commit a450b739d3
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 36 additions and 0 deletions

View File

@ -3,11 +3,42 @@ 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:
@ -20,3 +51,8 @@ steps:
tags:
- latest
- ${DRONE_BUILD_NUMBER}
volumes:
- name: cache
host:
path: "/tmp/cache"