Commit Graph

23 Commits

Author SHA1 Message Date
Aitor Perez 2cb3c7b2a7 Bump selenium dependencies
Because some of them have critical CVEs.

(cherry picked from commit 6fef209017)
(cherry picked from commit 9d8ae9d949)
2025-10-23 02:42:59 +00:00
Marcial Rosales d2b7840cad Bump up version of ldap docker image
To fix an issue where the old version did not
run in M1 arch

(cherry picked from commit 7d78f0467b)
(cherry picked from commit b371775beb)
2025-10-23 02:04:51 +00:00
Marcial Rosales c36a4668b6 Relocate temp folder from /tmp to /var
(cherry picked from commit 94cba43e75)
2025-05-28 18:14:42 +00:00
Marcial Rosales c306fd9e60 Exclude other_rabbitmq when running start-others. And fix some issues
(cherry picked from commit 81cf5f2e46)
2025-05-08 17:45:46 +00:00
Marcial Rosales 5b2d021f15 Add functions to mgt-api for selenium
(cherry picked from commit ea0dd8beb8)
2025-05-07 16:00:11 +00:00
Marcial Rosales 44fbd67a7a Modify scripts so that it is possible to start 2 rabbitmqs
(cherry picked from commit 438b77443c)
2025-05-03 14:38:03 +00:00
Marcial Rosales 3b79aa8f87 Parse multi-line enabled_plugins
Use only needed required plugins for basic auth suite

(cherry picked from commit b6d2ff85b2)
2025-04-25 14:57:49 +00:00
Marcial Rosales d233757215 Convert multiline enabled_plugins to single value
(cherry picked from commit ceb7b244f2)
2025-04-25 14:57:49 +00:00
Marcial Rosales 8abda6ca40 Use RABBITMQ_ENABLED_PLUGINS instead of RABBITMQ_ENABLED_PLUGINS_FILE
gmake was ignoring the former env var.

(cherry picked from commit 6262c849a2)
2025-04-25 14:57:49 +00:00
Marcial Rosales f521421f08 Renconcile changes from tanzu rabbitmq
(cherry picked from commit 06bd98ddd1)
2025-04-08 19:21:52 +00:00
Michael Klishin c320d0a31e
Merge pull request #13502 from rabbitmq/mergify/bp/v4.1.x/pr-13476
Improve oauth2 idp-initiated login (backport #13476)
2025-03-12 15:47:18 -04:00
Marcial Rosales 5e5521a3c0 Use POST+Redirect_with_cookie
(cherry picked from commit 69b54869c9)
2025-03-12 19:17:32 +00:00
Marcial Rosales c66bb40373 Fix issue thanks to @zerpet
(cherry picked from commit e6fe38b504)
2025-03-12 16:07:46 +00:00
Marcial Rosales 2fe3518b8a Add initOnly function
For scenarios where rabbitmq needs
the certificates of an idp but the
idp has not been started yet and
hence the cert has not been generated
With this function, the idp generates
its certificates without starting

(cherry picked from commit f9eec1ea82)
2025-03-12 16:07:45 +00:00
Aitor Perez dc9e7d2e76 Make Selenium image configurable
In certain environments, we may want to customise the docker image e.g.
to use a proxy to avoid docker hub rate limiting. The default behaviour
remains unchanged.

The `if` logic was broken because `uname -a` returns the entire uname,
including OS, Kernel version, machine type and what not. The string
always starts with the OS i.e. Linux or Darwin, therefore, the matching
for `arm*` was always false; therefore, it was always defaulting to the
`else` image, which happens to be multi-arch. However, it was using
`seleniarm`, which is a community driven effort, not the official
Selenium account.

In the official OSS image, version 123.0 is too old. The oldest
available is 127.0. This commit bumps to the latest available. We could
consider depending on version `4`. Version `4` refers to Selenium
version, whilst version 123.0/133.0 refer to the browser version.

(cherry picked from commit ef8b4fc767)
2025-02-25 16:32:04 +00:00
Aitor Perez 63a927591d Selenium: make conf_dir configurable
CI can configure this variable to use a dynamic variable e.g. `${{
worker.temp }}`

(cherry picked from commit c2b9fece78)
2025-02-25 16:32:02 +00:00
Marcial Rosales 371118ad3a Remove duplicate flag
(cherry picked from commit c3da54c3ea)
2025-02-21 19:29:02 +00:00
Marcial Rosales 665ad58c35 Configure location of mocha-test dockerfile
(cherry picked from commit 94c28d642b)
2025-02-21 19:29:02 +00:00
Marcial Rosales ce760c688b Insert control-cache headers to every resource and reload index.html 2024-11-21 16:47:48 +01:00
Marcial Rosales 6bf27a212f Use tls in oauth providers and rabbitmq 2024-11-14 19:39:06 +01:00
Marcial Rosales 6d0e195957 Fix schema issues
And fix selenium script to run
rabbitrmq locally
2024-10-08 08:17:48 +02:00
Marcial Rosales 4da45996ca Minor refactor
Improve logging
Fix an issue running selenium tests locally
WIP modify schema to configure queryParameters for
oauth2 endpoints
2024-10-08 08:17:47 +02:00
Marcial Rosales a1206dc801 Move selenium to the root of the repo 2024-09-04 14:59:58 +01:00