abiosoft / abiosoft/colima

Circleci local execute failing to run

Đang mở
#571 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.