abiosoft / abiosoft/colima

Circleci local execute failing to run

Aperta
#571 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
30.8k
Fork
613
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description

When running `circleci local execute`
CircleCI cli fails to run locally, instead the following output is returned:
```
Fetching latest build environment...
Docker image digest: sha256:9f451a3b661b35391c7493d9f91544024d188dc69457e583aa19be5b7de80a79
Error: failed to start event processor: failed to compute task config: failed to read config file: read /tmp/local_build_config.yml: is a directory
```

I tried using this recommendation here https://github.com/CircleCI-Public/circleci-cli/issues/212#issuecomment-1080120857 but changed the volume `--volume /var/run/docker.sock:/var/run/docker.sock:ro` to
`/Users/craig/.colima/default/docker.sock:/var/run/docker.sock:ro` so that docker within the container would be able to access the service but that does not seem to work for even the `hello-world` simple docker container.

I have also updated to the latest version of colima and CircleCI cli and still no luck

Sorry if I am missing something blindingly obvious, but any suggestions would be deeply appreciated.

### Version

Colima Version:0.5.2
Lima Version:0.14.2
Qemu Version:7.2.0

### Operating System

- [X] macOS Intel <= 12 (Monterrey)
- [ ] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [ ] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

INFO[0000] colima is running using QEMU
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/craig/.colima/default/docker.sock

### Reproduction Steps

1. Latest version of colima installed,
2. Run `cirlceci local execute`

### Expected behaviour

CircleCI executes local jobs

### Additional context

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.