I've tried some hours crawlings docs and setting up bitbucket runner. But it always fails mostly like this:
Runner matching labels:- linux
- self.hosted
- deployRunner name: docker01-websiteRunner UUID: {d994871d-e5ca-5bbd-aac8-d54f8a13a7bc}Runner labels: deploy, self.hosted, linuxRunner version:current: 5.8.1
latest: 5.8.1mkfifo: /opt/atlassian/pipelines/runner/d994871d-e5ca-5bbd-aac8-d54f8a13a7bc/tmp/clone_result: File exists
my docker-compose.yaml:services:
bitbucket-runner:
image: docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner
container_name: runner-d994871d-e5ca-5bbd-aac8-d54f8a13a7bc
restart: unless-stopped
#working_dir: /workdir
security_opt:
- no-new-privileges:true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/containers:/var/lib/docker/containers:ro
#- /docker-stacks/data/bitbucket-runner/workdir:/workdir
env_file:
- /docker-stacks/bitbucket-runner.env
environment:
RUNNER_LABELS: linux,docker,deploy
#RUNTIME_PREREQUISITES_ENABLED: true
#WORKING_DIRECTORY: /workdir
#ACCOUNT_UUID: "${ACCOUNT_UUID:-}"
#RUNNER_UUID: "${RUNNER_UUID:-}