Commit Graph

592 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron 0276c7b11f
[Remove this change before creating a pull reques] 2024-08-13 13:55:19 +02:00
Michael Klishin 40903581ef Bump version to 4.0 in a few places 2024-07-19 01:21:30 -04:00
Michael Klishin e6da989e00 Mergify: re-introduce multi-branch backports
to both v4.0.x and v3.13.x at the moment.
2024-07-19 01:04:04 -04:00
Michael Klishin 6eebb20581 gazelle-scheduled.yaml: Drop 3.11.x and 3.10.x, add 3.13.x and 4.0.x 2024-07-11 22:13:38 -04:00
Michael Klishin 4f4e62cf1a dependabot.yaml: drop 3.11.x, add 3.13.x and 4.0.x 2024-07-11 22:11:52 -04:00
Michael Klishin 599727ab22 Revisit Mergify settings
* Add v4.0.x
 * Drop more complex workflows/backport rules we
   do not really use in practice
2024-07-11 10:01:19 -04:00
Michael Davis e08310ab13
CI: Turn off mixed version tests running Khepri
Khepri is experimental and not guaranteed to be upgradable. We should
re-enable mixed version testing as Khepri stabilizes but for now we
should turn it off.

This saves some CI time and avoids some failures that will be introduced
when we upgrade Khepri to v0.14.0.
2024-07-10 13:45:09 -04:00
Michal Kuratczyk e5ca8bd6b7
Rename image to avoid conflicts
Right now when we push the ARM64 image, it overwrites the x86 image.
2024-07-08 12:31:34 +02:00
Michal Kuratczyk d2b49454f6
Separate workflow for building ARM64 OCI on main 2024-07-08 10:36:38 +02:00
Michal Kuratczyk a23196925b
Diable ARM64 OCI (#11624) 2024-07-05 13:47:10 +02:00
Michal Kuratczyk 342702dce0
Use GHA cache for OCI; reenable ARM (#11620) 2024-07-04 18:39:20 +02:00
Michal Kuratczyk 1ebb868810
Don't build ARM64 OCI (#11609)
These are built on x86 runners in CPU emulation mode, which is very slow
(over an hour to build the image, instead of minutes). It'd be nice to have
these back at some point but for now - they are blocking the publication of
amd64 images
2024-07-03 17:19:33 +02:00
Michael Davis f52a7d3cd5
CI: Regenerate test-mixed-versions workflow
These changes are generated by 'make actions-workflows'. The change to
the template that causes the diff is in the parent commit - adding a
suffixed of "-mixed" to the job names.
2024-07-01 14:21:29 -04:00
Michael Davis 1102cdc1ea
CI: Add '-mixed' suffix to mixed-version job names
Without the suffix it's hard to tell apart regular and mixed version
workflows by name. Currently you need to go into the "Set up job" step
or look at the bazelisk cquery. Changing the names should have no
functional change - it's just easier to tell the jobs apart in the
GitHub UI.

This commit only updates the template. The child commit will regenerate
the workflow file via 'make actions-workflows'.
2024-07-01 14:21:25 -04:00
Michael Davis 0f7160e18b
CI: Use 'test-plugin-mixed.yaml' for CLI tests in mixed version template
This appears to be an oversight when creating the mixed version
template: the CLI should use the mixed version workflow template rather
than the regular plugin workflow.
2024-07-01 14:17:22 -04:00
Karl Nilsson ef7de9cbcc Actions: use a secondary cache bucket for mixed versions tests.
To hopefully reduce the amount of write limiting seen in ci.
2024-06-25 17:01:55 +01:00
Michael Klishin 806efd8c65
Merge pull request #11468 from rabbitmq/dependabot/github_actions/main/docker/build-push-action-6
build(deps): bump docker/build-push-action from 5 to 6
2024-06-19 13:21:12 -04:00
Rin Kuryloski 71fa6e3d31
Merge pull request #11478 from rabbitmq/more-turn-off-buildbuddy
Remove remaining buildbuddy usage
2024-06-19 12:47:34 +02:00
Rin Kuryloski b59da95c2d
Merge pull request #11456 from rabbitmq/rin/rules_elixir
Use rules_elixir for rabbitmqctl
2024-06-19 10:57:41 +02:00
dependabot[bot] b50f2ce991
build(deps): bump peter-evans/create-pull-request from 6.0.5 to 6.1.0
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.5 to 6.1.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.5...v6.1.0)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 19:00:10 +00:00
Rin Kuryloski a2709dfd05 Remove remaining buildbuddy usage 2024-06-18 15:13:03 +02:00
Rin Kuryloski f2add661f4 Check that the cli can compile with --warnings-as-errors in ci
It's technically a build target, so we didn't need to create a whole
new test rule, but it's marked as "manual" so that it doesn't cause
bazel build //... to fail
2024-06-18 14:50:35 +02:00
Rin Kuryloski b5b7605219 Maybe reduce cache errors
- https://bazel.build/reference/command-line-reference#flag--experimental_guard_against_concurrent_changes
2024-06-18 12:06:29 +02:00
dependabot[bot] c3b0cd884c
build(deps): bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 18:26:22 +00:00
Marcial Rosales 14bf2bb0c1 Remove branch and add paths on PRs 2024-06-13 11:30:34 +02:00
Marcial Rosales fe304d4447 Add workflow that builds ibm mq docker image 2024-06-13 11:30:34 +02:00
Karl Nilsson 5a94049496 Add alt mirror for setup-beam action.
As the primary mirror may sometimes fail there is now a fall back.
2024-06-12 15:34:52 +01:00
Michael Klishin d109430a42 Bump google-github-actions/auth here 2024-06-06 21:51:43 -04:00
Michael Klishin 2b397246dc
Merge pull request #11402 from rabbitmq/rin/add-back-cli-tests-to-ci
Add back rabbitmq_cli tests to CI
2024-06-06 18:14:35 -04:00
dependabot[bot] 06eb76ec2d
Bump google-github-actions/auth from 2.1.2 to 2.1.3
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/auth/compare/v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 18:47:44 +00:00
Rin Kuryloski bdd18ed800 Add back rabbitmq_cli tests to CI
Accidentally left out of #11343
2024-06-06 19:48:23 +02:00
Rin Kuryloski a6874e39cc
Turn off BuildBuddy integration (#11343)
Builds now execute on the github actions workers, using Google Cloud Storage (GCS) as a cache
2024-06-06 11:37:10 +02:00
Rin Kuryloski b2bd7a33a2 Setup erlang for the gazelle workflow
It must have been removed from the default actions image
2024-05-17 11:21:42 +02:00
Michael Klishin 6465b4a409
Merge pull request #11129 from rabbitmq/md/ci/bump-runner
CI: Bump actions runner to Ubuntu 22.04
2024-05-01 12:08:56 -04:00
Michael Klishin b7a7b0f429 Update current GitHub issue and PR templates
In the future we should follow [1] to add
a more focussed form.

1. https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
2024-05-01 11:55:12 -04:00
Michael Davis 6f163592f7
CI: Bump actions runner to Ubuntu 22.04 2024-05-01 11:47:57 -04:00
dependabot[bot] db4e7a6ea7
Bump peter-evans/create-pull-request from 6.0.4 to 6.0.5
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.4 to 6.0.5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.4...v6.0.5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 18:40:55 +00:00
Rin Kuryloski 07c97580bd Make the OCI workflows conditional on push access
When dependabot creates PRs, secrets are not injected, and the OCI
workflow can't push the image
2024-04-23 13:23:22 +02:00
David Ansari 6e056e5701 Fix failing test
Fix the failing GitHub action Test Authentication/Authorization backends
via mutiple messaging protocols / selenium originally caused by #11023
2024-04-22 17:51:02 +02:00
Rin Kuryloski 82f001cea6 Set the PROJECT_VERSION to 4.0.0 to match the bazel behavior
in the OCI workflow
2024-04-22 15:45:54 +02:00
dependabot[bot] b2f58075a9
Bump docker/metadata-action from 4 to 5
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 18:25:56 +00:00
Rin Kuryloski 4e720d7fe1
Use make for OCI workflow (#11042)
* Use make instead of bazel for the OCI workflow
2024-04-19 20:05:24 +02:00
dependabot[bot] ff6678f4b8
Bump actions/upload-artifact from 4.3.1 to 4.3.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.1...v4.3.2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-18 18:06:19 +00:00
dependabot[bot] 89673aa33a
Bump peter-evans/create-pull-request from 6.0.3 to 6.0.4
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.3...v6.0.4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 18:45:23 +00:00
dependabot[bot] 583db619ad
Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.2...v6.0.3)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 18:47:40 +00:00
Rin Kuryloski 2efc3114e7 Use the modern auth for ghcr within actions
https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-docker-hub-and-github-packages
2024-04-12 14:31:20 +02:00
Jean-Sébastien Pédron 2ae6e79bb3 GitHub Actions: Add GHCR login step to `test-{authnz,selenium}.yaml` workflows
[Why]
Both workflows build and publish docker images but they currently fail
to publish them because of a permission denied.

[How]
This patch replicates (copy-pastes) what was done to the `oci.yaml`
workflow.
2024-04-12 14:31:20 +02:00
Rin Kuryloski 1581f7e26b
Merge pull request #10941 from rabbitmq/rin/oci-always-push
Always use GHCR when building the docker image
2024-04-09 14:56:57 +02:00
dependabot[bot] f4acb823de
Bump docker/login-action from 1 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 18:37:47 +00:00
Rin Kuryloski 09f2190606 Always use GHCR when building the docker image
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
2024-04-08 18:12:00 +02:00