Closed aisensiy closed 6 years ago
I'm having a similar issue. Were you able to fix your issue? If so, how?
I think the issue is that DO NOT cache things out of the current directory. The mount: [ /drone/.gradle, /drone/.m2 ]
is out of the current directory. Try use ./.gradle
and ./.m2
.
Try to use drone with its Volume Cache with the following
.drone.yml
but get an error:I already add a volume
/tmp:/tmp
for drone agent but it still doesn't work.Drone version: drone: 0.8.0-rc.1-rancher1
Rancher versions: rancher/server: 1.6.7 rancher/agent: 1.2.5
Infrastructure Stack versions: healthcheck: 0.3.1 ipsec: network-services: 0.11.7 scheduler: 0.8.2
Docker version: (
docker version
,docker info
preferred)Client: Version: 1.12.6 API version: 1.24 Go version: go1.7.6 Git commit: a82d35e Built: Wed Aug 16 00:03:08 2017 OS/Arch: linux/amd64
Server: Version: 1.12.6 API version: 1.24 Go version: go1.7.6 Git commit: a82d35e Built: Wed Aug 16 00:03:08 2017 OS/Arch: linux/amd64
Operating system and kernel: (
cat /etc/os-release
,uname -r
preferred)NAME="Container Linux by CoreOS" ID=coreos VERSION=1465.6.0 VERSION_ID=1465.6.0 BUILD_ID=2017-08-16-0012 PRETTY_NAME="Container Linux by CoreOS 1465.6.0 (Ladybug)" ANSI_COLOR="38;5;75" HOME_URL="https://coreos.com/" BUG_REPORT_URL="https://issues.coreos.com" COREOS_BOARD="amd64-usr"
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
vultr and aws
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
docker version rancher with internal DB
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
And
docker-compose.yml
: