258 Commits

Author SHA1 Message Date
stianst
963682a07c Add Spotless plugin with removeUnusedImports check enabled
Closes #43233

Signed-off-by: stianst <stianst@gmail.com>
2025-10-13 13:32:01 +02:00
Ryan Emerson
12ae8b7cc9
CI pipeline breaks when there are no tags for a release branch yet
Closes #43057

Signed-off-by: Ryan Emerson <remerson@ibm.com>
2025-10-08 09:26:58 +02:00
Lukas Hanusovsky
64ffb3a83f
[Test Migration] New testsuites: Clusterless, Multisite, VolatileSessions, migrated test: SessionTest
Closes #35391
Closes #35393
Closes #42619

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2025-10-03 19:23:15 +02:00
dependabot[bot]
ea6eb43023 Bump docker/login-action from 3.5.0 to 3.6.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](184bdaa072...5e57cd1181)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 07:06:03 -03:00
Václav Muzikář
b65a60e40d
Support for EDB 17 (#42341)
Closes #42742
Closes #42293

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2025-09-26 16:04:47 +02:00
dependabot[bot]
2ae84362ab Bump actions/cache from 4.2.4 to 4.3.0
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.4 to 4.3.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0400d5f644...0057852bfa)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-25 13:54:50 -03:00
Martin Bartoš
e511e6c538
Use JDK 25 Temurin in GHA CI (#42857)
Closes #42955

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-09-25 17:49:29 +02:00
Steven Hawkins
e789e3213f
fix: limiting what fields are hashed to identify compatible update jobs (#42623)
closes: #41014

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-09-22 19:03:06 +02:00
Martin Bartoš
1b7709bfa2
Test JDK 25 in CI (#42447)
Closes #42733

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-09-18 12:13:45 +00:00
Lukas Hanusovsky
0aff081946
Keycloak CI - Refactoring ci.yml, removing surefire reports and jvm heapdump actions (#42425)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2025-09-15 14:53:45 +02:00
Stian Thorgersen
cbf915c570
Update timeout for Base IT (new) (#42367)
Signed-off-by: stianst <stianst@gmail.com>
2025-09-05 10:31:09 +02:00
dependabot[bot]
35e6d7512c Bump actions/cache from 4.2.3 to 4.2.4
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](5a3ec84eff...0400d5f644)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 16:22:35 -03:00
dependabot[bot]
28d3b2dd29 Bump actions/checkout from 4.2.2 to 5.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 15:06:15 -03:00
Alexander Schwartz
ca1e61047a
Adding TiDB dialect for Quarkus
Closes #41897

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Signed-off-by: Dennis Kniep <kniepdennis@gmail.com>
Co-authored-by: Dennis Kniep <kniepdennis@gmail.com>
2025-08-26 17:44:45 -03:00
Martin Bartoš
4526d2d445
Upgrade to Quarkus 3.26.0.CR1
Closes #41880

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2025-08-15 15:29:19 +02:00
Dennis Kniep
d74a10d87a
Add TiDB as supported db
Closes #41455

Signed-off-by: Dennis Kniep <kniepdennis@gmail.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2025-08-14 07:27:21 +00:00
Ryan Emerson
52a83509dc
Default jdbc-ping cluster setup for distributed caches fails in Oracle
* Add DatabaseConfig to TestDatabase so the underlying DB can be
  configured per test
* Allow DB initScripts to be configured by tests

Closes #40784
Closes #41105

Signed-off-by: Ryan Emerson <remerson@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2025-07-17 15:57:25 +00:00
Ryan Emerson
f0c623598e
Run clustering compatibility tests on release/x.y branches
Closes #39966

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2025-07-07 21:08:11 +02:00
Ricardo Martin
93dc178459
Copy restored maven repo to home folder in Windows
Closes #40593

Signed-off-by: rmartinc <rmartinc@redhat.com>
2025-06-19 12:52:10 +02:00
Michal Hajas
d2f4635ea0
Add clustering tests to new test framework
Closes #39962

Signed-off-by: Michal Hajas <mhajas@redhat.com>
Co-authored-by: Pedro Ruivo <pruivo@redhat.com>
2025-06-13 20:26:07 +02:00
Bruno Oliveira da Silva
f2743e161c
Use pinned-dependencies for GitHub Actions (#38183)
Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2025-06-05 12:44:45 +02:00
Michal Hajas
88502fd18b
Ignore protoLock checks when building Keycloak with JDK (#39961)
Closes #39861

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2025-05-26 09:46:19 -03:00
Ryan Emerson
081ce8c62d
Prevent remote proto schema compatibility check on EC2 instances (#39806)
Closes #39800

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2025-05-19 15:13:46 +02:00
Martin Bartoš
b5fa1d0ba9
Make distribution startup timeout configurable (#39143)
Closes #39142

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2025-04-23 16:20:04 +02:00
Stian Thorgersen
4d7df38dda
Fix permissions for conditional steps
Signed-off-by: stianst <stianst@gmail.com>
2025-04-22 09:44:54 +00:00
rmartinc
0b30c872c8 Generate random passwords for imported users in forms and webauthn tests
Closes #38812

Signed-off-by: rmartinc <rmartinc@redhat.com>
2025-04-15 11:06:49 +02:00
Ricardo Martin
4c319aa3fa
Add chrome install action in GHA to force a specific version of chrome
Closes #38817

Signed-off-by: rmartinc <rmartinc@redhat.com>
2025-04-10 14:16:16 +02:00
Stian Thorgersen
279e517548
Add OpenJDK 24 to matrix of tested JDKs (#37803)
* Add OpenJDK 24 to matrix of tested JDKs

Closes #33511

Signed-off-by: stianst <stianst@gmail.com>

* Update .github/workflows/ci.yml

Signed-off-by: Stian Thorgersen <stian@redhat.com>

* Update .github/workflows/ci.yml

Signed-off-by: Stian Thorgersen <stian@redhat.com>

---------

Signed-off-by: stianst <stianst@gmail.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
2025-04-07 12:03:15 +02:00
Michal Hajas
b34c69cf35
Allow auroradb-integration-tests to dispatch other workflows (#38289)
Closes #38281

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2025-03-20 11:05:14 +00:00
Bruno Oliveira da Silva
21c903e562
Ensure that the project’s automated workflows tokens are set to read-only by default (#37643)
Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>

Closes #33544
2025-03-17 15:48:37 +01:00
Alexander Schwartz
bc7ec1208e
Enable the TLS based JGroups encryption by default and update the docs
Closes #37696

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2025-03-03 10:50:51 -03:00
Pedro Ruivo
f7e21af82e
JGroups certificate rotation
Closes #37316

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2025-02-27 12:56:18 +01:00
Pedro Ruivo
70e2a28ff9
Create CA certificate for JGroups encryption
Closes #36750

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
Signed-off-by: Pedro Ruivo <pruivo@users.noreply.github.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2025-02-13 10:32:43 +00:00
Stian Thorgersen
19cabe8238
Migrate tests from org/keycloak/tests/admin/authentication to new framework (#37003)
* Migrate tests from org/keycloak/tests/admin/authentication to new framework

Part of #34494

Signed-off-by: stianst <stianst@gmail.com>

* Update tests/MIGRATING_TESTS.md

Signed-off-by: Stian Thorgersen <stian@redhat.com>

---------

Signed-off-by: stianst <stianst@gmail.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
2025-02-06 10:24:50 +01:00
Alexander Schwartz
11e3f48b62
Increase heap available for Maven build (#37030)
Closs #37029

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2025-02-04 14:17:42 +01:00
Miquel Simon
2dbf58dc46
Add JDK suite to the new testing framework and run it as part of the Java Distribution IT (#36638)
Closes #35388

Signed-off-by: Miquel Simon <msimonma@redhat.com>
2025-01-24 10:08:11 +01:00
Steven Hawkins
948760ae45
fix: switching quarkus dist tests to use integration test setup (#35249)
closes: #35193

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-25 09:10:57 +01:00
Steven Hawkins
76269636f2
splitting the zip test suite (#35005)
* fix: using tags to control test suites

closes: #34927

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* fix: split the zip tests into a fast and slow set of tests

closes: #34927

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-20 19:28:26 +01:00
rmartinc
e4509a7199 Fix and enable firefox-strict-cookies profile adapter tests
Closes #34853

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-11-18 15:05:35 +01:00
rmartinc
c1d4dad4dc Avoid MRJAR in keycloak-core
Closes #34630

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-11-15 15:16:56 +01:00
Erik Jan de Wit
a2d33cf4aa
make the tests capable of running against login v1 and v2 (#33732)
* make the tests capable of running against login v1 and v2

fixes: #31764

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added build for v1

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Update testsuite/integration-arquillian/tests/base/testsuites/login-suite

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* added login default theme

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* Update .github/workflows/ci.yml

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>

* added default

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-11-14 10:21:30 +01:00
Lukas Hanusovsky
54c0d30583
Surefire artifacts - updating names for Quarkus IT and UT. (#34906)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-11-13 11:00:58 +00:00
Stian Thorgersen
b82ec62eb7
Add database testsuite matrix to new testsuite (#34775)
Closes #34692

Signed-off-by: stianst <stianst@gmail.com>
2024-11-11 07:04:30 +01:00
Lukas Hanusovsky
a8d9a5553f
[Test framework] Add custom provider dependencies into a Keycloak server (#34621)
* Add custom provider dependencies into a Keycloak server.

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Co-authored-by: Simon Vacek <svacek@redhat.com>

* Update test-framework/examples/pom.xml

Signed-off-by: Stian Thorgersen <stian@redhat.com>

---------

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Simon Vacek <svacek@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-11-06 08:39:28 +01:00
Stian Thorgersen
a7af380f71
Break up test-framework into multiple modules, and introduce placeholder for new testsuite (#34507)
Closes #34194

Signed-off-by: stianst <stianst@gmail.com>
2024-11-01 08:52:00 +01:00
Ryan Emerson
5246fffb03
Reuse a single DB instance across all tests in the store-integration-tests job (#34340)
Closes #34339

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-25 12:34:53 +02:00
Ryan Emerson
6eb870fcfc
Add JDBC_PING2 stacks for both TCP and UDP
Closes #34265

Signed-off-by: Ryan Emerson <remerson@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-10-25 00:17:44 +02:00
Ryan Emerson
044d71bd77
Aurora IT tests failing periodically with download of node (#34107)
Closes #33767
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-23 15:19:10 +02:00
Ryan Emerson
902abfdae4
JDBC_PING as default discovery protocol
Closes #29399

- Add ProviderFactory#dependsOn to allow dependencies between
  ProviderFactories to be explicitly defined
- Disable Infinispan default shutdownhook disabled to ensure lifecycle
  is managed exclusively by Keycloak
- Remove Infinispan shutdown hook in KeycloakRecorder and manage
  EmbeddedCacheManager lifecycle only in DefaultInfinispanConnectionProviderFactory#close

Signed-off-by: Ryan Emerson <remerson@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-10-22 20:19:19 +00:00
Steven Hawkins
137bbeacf4
fix: corrections to kc.bat for -D and --debug (#33976)
also correcting JAVA_OPTS_KC_HEAP

closes: #33970

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-10-18 17:02:35 +02:00