Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macOS CI after #724 #730

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

hanneskaeufler
Copy link
Contributor

https://github.com/bazel-contrib/rules_oci/actions/runs/11564798863/job/32190695142

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

In #724 it looks like I broke macos CI because that particular step is not run as part of the PR builds. I introduced a genrule which requires access to the docker daemon, while previously it was only used in test rules.

Adding the env var to the docker host to the action graph should maybe fix this?

https://github.com/bazel-contrib/rules_oci/actions/runs/11564798863/job/32190695142

```
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
```

In bazel-contrib#724 it looks like I broke macos CI because that particular step is
not run as part of the PR builds. I introduced a genrule which requires
access to the docker daemon, while previously it was only used in test
rules.

Adding the env var to the docker host to the action graph should maybe
fix this?
@hanneskaeufler hanneskaeufler changed the title Fix macos CI Fix macOS CI after #724 Oct 29, 2024
@hanneskaeufler
Copy link
Contributor Author

@thesayyn Check this out for fixing CI :)

@thesayyn thesayyn merged commit a195e36 into bazel-contrib:main Nov 5, 2024
14 checks passed
@hanneskaeufler hanneskaeufler deleted the hk-fix-macos-ci branch November 5, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants