Hi, I had kube runner and I migrated it to new cluster and old configuration is not working any more.
As I discovered it’s something wrong with volumes.
kind: pipeline
type: kubernetes
name: build-and-test
steps:
- name: publish
image: plugins/ecr
settings:
access_key:
from_secret: aws_access_key
secret_key:
from_secret: aws_secret_key
repo: myrepo
registry: myect.dkr.ecr.eu-central-1.amazonaws.com
region: eu-central-1
tags:
- latest
- ${DRONE_BRANCH}-latest
- ${DRONE_COMMIT_SHA:0:8}
volumes:
- name: docker
path: /var/lib/docker
- name: test
image: myecr.dkr.ecr.eu-central-1.amazonaws.com/myropo:${DRONE_COMMIT_SHA:0:8}
volumes:
- name: docker
path: /var/lib/docker
commands:
- python3.8 -u -m unittest discover
volumes:
- name: docker
temp: {}
There is such error
But if I remove volume it works fine.
Please help.