Skip to content

Commit

Permalink
Fix macos CI
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
hanneskaeufler committed Oct 29, 2024
1 parent 4355c8b commit d9f56b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/smoke/.bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
test --test_env=DOCKER_HOST
common --enable_platform_specific_config
test:macos --action_env=DOCKER_HOST
test --test_env=DOCKER_HOST

0 comments on commit d9f56b1

Please sign in to comment.