abiosoft / abiosoft/colima

Circleci local execute failing to run

Ouverte
#571 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
30.8k
Forks
613
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### 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_

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.