* Use make for OCI workflow (#11042)
* Use make instead of bazel for the OCI workflow
(cherry picked from commit 4e720d7fe1)
# Conflicts:
# .github/workflows/oci-base.yaml
# .github/workflows/oci.yaml
# .github/workflows/rabbitmq_peer_discovery_aws.yaml
* fixup backport
---------
Co-authored-by: Rin Kuryloski <rin.kuryloski@broadcom.com>
when splitting the image, depending on the platform, docker buildx
cannot always see the imported image. So, we'll just push to GHCR
always. Members of the rabbitmq github org can log into GHCR, and be
able to perform local builds of the image
(cherry picked from commit 09f2190606)
* Remove rules_docker in favor of rules_oci (#10869)
Local builds of images are extremely slow, but buildbuddy runners
don't have the emulator available
(cherry picked from commit c9ab302e79)
# Conflicts:
# .github/workflows/oci.yaml
# .github/workflows/rabbitmq_peer_discovery_aws.yaml
# .github/workflows/test-authnz.yaml
# .github/workflows/test-erlang-git.yaml
# .github/workflows/test-mixed-versions.yaml
# .github/workflows/test-selenium.yaml
# .github/workflows/test.yaml
* Resolve conflicts
---------
Co-authored-by: Rin Kuryloski <rin.kuryloski@broadcom.com>
This avoids the need for erlang on the github actions worker
Uses a buildbuddy option for firecracker VMs instead of containers,
where docker can be made available to actions
Due to image build error:
```
The following information may help to resolve the situation:
The following packages have unmet dependencies:
zlib1g-dbgsym : Depends: zlib1g (= 1:1.2.11.dfsg-2ubuntu1.4) but 1:1.2.11.dfsg-2ubuntu1.3 is to be installed
E: Unable to correct problems, you have held broken packages.
```
Also rework elixir dependency handling, so we no longer rely on mix to
fetch the rabbitmq_cli deps
Also:
- Specify ra version with a commit rather than a branch
- Fixup compilation options for erlang 23
- Add missing ra reference in MODULE.bazel
- Add missing flag in oci.yaml
- Reduce bazel rbe jobs to try to save memory
- Use bazel built erlang for erlang git master tests
- Use the same cache for all the workflows but windows
- Avoid using `mix local.hex --force` in elixir rules
- Fetching seems blocked in CI, and this should reduce hex api usage in
all builds, which is always nice
- Remove xref and dialyze tags since rules_erlang 3 includes them in
the defaults