Commit graph

407 commits

Author SHA1 Message Date
Peter Zaoral
1b5fe5437a
Warnings for temporary admin user and service account (#31387)
* UI banner, labels and log messages are shown when temporary admin account is used
* added UI tests that check the elements' presence

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
2024-08-21 09:30:24 +02:00
Alexander Schwartz
653f67768e
Aligning the JS build and caching with the main build (#31846)
Closes #31845

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-08-13 09:05:29 +02:00
Stian Thorgersen
140e953d3f
Testsuite PoC - Add support for browsers with and without headless (#31611)
Signed-off-by: stianst <stianst@gmail.com>
2024-07-25 13:41:50 +02:00
Kamesh Akella
33b3fd313c
Add migration tests for AuroraDB (#31396)
Fixes #31024
Signed-off-by: Kamesh Akella <kamesh.asp@gmail.com>
2024-07-24 16:45:02 +02:00
Stian Thorgersen
7216967465
Add conditional workflow for test-poc (#31406)
Signed-off-by: stianst <stianst@gmail.com>
2024-07-19 12:11:17 +02:00
Hynek Mlnarik
ab6ca323db Run docker tests with proper theme and fix chromedriver path
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-07-18 14:33:22 +02:00
Steven Hawkins
4970a9b729
fix: deprecate KEYCLOAK_ADMIN and KEYCLOAK_ADMIN_PASSWORD
closes: #30658

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-07-11 18:07:57 +02:00
Alexander Schwartz
d70f78072e
Make persistent sessions co-exist with remote cache feature (#30859)
Closes #30855

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-07-09 09:03:36 +02:00
Erik Jan de Wit
0caca2d6f5
make admin-ui build as a library (#30268)
* make admin-ui build as a library

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

* fix merge errors

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

* fix input

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

* added null check

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

* renamed workspace

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

* PR review

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-07-05 12:48:10 -04:00
Hynek Mlnarik
287916997e Show admin console header if serverinfo is forbidden
Fixes: #30683

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-28 20:22:16 +02:00
Lukas Hanusovsky
2915a03c6b
Removing chrome-install dependency from GH actions, and Chrome and Firefox webdriver system property from CI workflow
Closes #30408

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-06-26 18:08:07 +00:00
Pedro Ruivo
5fc12480fd External Infinispan as cache - Part 4 (#30072)
UserSessionProvider implementation to make use of Infinispan remote
cache.

Closes #28755

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-06-19 14:47:57 +02:00
Pedro Ruivo
9006218559 External Infinispan as cache - Part 3
Implementation of UserLoginFailureProvider using remote caches only.

Closes #28754

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-06-19 14:47:57 +02:00
Alexander Schwartz
9ce47fc117 Trying to switch the database
Closes #28311

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-06-19 10:30:36 +02:00
Martin Bartoš
5ad3abaa96
Enable WebAuthn tests for Firefox (#30374)
Closes #22075

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-06-18 10:36:01 +02:00
Ryan Emerson
2f11605a5b Pin Ansible version for Aurora Store IT tests to 9.x.y stream
Closes #30201

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-06-13 22:17:42 +02:00
Jon Koops
c7361ccf6e
Run the Vite dev server through the Keycloak server (#27311)
Closes #19750
Closes #28643
Closes #30115

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-06-12 11:55:14 +02:00
Alexander Schwartz
b59c9d8431
Refresh Weblate with latest changes when the main branch changes (#30053) 2024-06-07 08:21:55 +02:00
Ryan Emerson
25cf961114 Utilise ansible-core included with Ubuntu
Closes #30201

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-06-06 21:29:01 +02:00
Martin Bartoš
262fc09edc
OpenJDK 21 support (#28518)
* OpenJDK 21 support

Closes #28517

Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Signed-off-by: Martin Bartoš <mabartos@redhat.com>

* x509 SAN UPN other name is not handled in JDK 21 (#904)

closes #29968

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

---------

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: mposolda <mposolda@gmail.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
2024-06-03 14:17:28 +02:00
Jon Koops
c17023270c
Use correct PNPM workspace names on CI (#29973)
Closes #29976

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
Co-authored-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-03 13:42:44 +02:00
dependabot[bot]
c99cddb0de
Bump aquasecurity/trivy-action from 0.20.0 to 0.21.0 (#29831)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](b2933f565d...fd25fed697)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 13:15:48 +02:00
dependabot[bot]
9e0cf6c86b
Bump manusa/actions-setup-minikube from 2.10.0 to 2.11.0 (#29432)
Bumps [manusa/actions-setup-minikube](https://github.com/manusa/actions-setup-minikube) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/manusa/actions-setup-minikube/releases)
- [Commits](https://github.com/manusa/actions-setup-minikube/compare/v2.10.0...v2.11.0)

---
updated-dependencies:
- dependency-name: manusa/actions-setup-minikube
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 11:03:09 +02:00
Hynek Mlnařík
e2ce0a7ece
Do not fail fast in JS CI (#30035)
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-03 10:59:52 +02:00
Martin Bartoš
bfde73b327 Conditionally execute WebAuthn tests when Account console UI is changed
Closes #30026

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2024-05-31 17:44:06 +02:00
Stefan Wiedemann
0f6f9543ba
Add oid4vci to the account console (#29174)
closes #25945

Signed-off-by: Stefan Wiedemann <wistefan@googlemail.com>


Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-05-31 15:11:32 +02:00
Martin Bartoš
3f49036192
Unify approach for WebAuthn tests (#29781)
Closes #29780

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-05-30 14:21:27 +02:00
Bruno Oliveira da Silva
8577573fe4 Snyk Report is not preventing duplicates
Closes #29699

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2024-05-29 15:10:13 -03:00
Martin Bartoš
d396dfed6a
Upgrade old Keycloak version for DB migration tests (#29884)
Closes #29883

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-05-28 11:32:31 +02:00
Stian Thorgersen
568a5cb678
JUnit 5 test framework PoC (#29517)
Closes #29516

Signed-off-by: stianst <stianst@gmail.com>
2024-05-27 10:05:35 -03:00
Bruno Oliveira da Silva
4c8abfb61f Temporarily disable Snyk
Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2024-05-24 09:12:21 -03:00
Ryan Emerson
5d0cb7959e
Execute Aurora DB cleanup in a separate workflow to prevent timeout on cancel (#29689)
Closes keycloak/keycloak-benchmark#803

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-05-21 09:17:15 +00:00
Stian Thorgersen
ae034fd65f
Fix release labels (#29726) 2024-05-21 07:46:10 +02:00
Bruno Oliveira da Silva
65a96757bd Move Snyk reports from GitHub Security tab to GitHub issues
Closes #29494

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2024-05-16 09:57:22 -03:00
dependabot[bot]
6b6f3fcf05 Bump aquasecurity/trivy-action from 0.19.0 to 0.20.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](d710430a67...b2933f565d)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-15 08:38:15 -03:00
Yves Galante
401d58a905 Fix GitHub Action Trivy Analysis warnings
Update trivy-action to 0.17.0

Close #27264

Signed-off-by: Yves Galante <yves.galante@jmob.net>
2024-05-10 19:37:55 -03:00
Hynek Mlnařík
5ec3d759d9
Randomize Cypress TS and fix tests failing after this change (#29350)
* Fix user_fed_ldap_test

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* Fix clients_test

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* Generate random seed to shuffle tests

Signed-off-by: Jon Koops <jonkoops@gmail.com>

* Remove async / await

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* Fix async test

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

---------

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-05-08 09:33:21 -04:00
Václav Muzikář
11a35e708e
Conditionally run Quarkus tests (#29157)
Closes #29118

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2024-05-07 15:26:59 +02:00
Michal Hajas
128bba34d3 Remove PERSISTENT_USER_SESSIONS_No_CACHE feature
Closes #29264

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2024-05-06 08:53:39 +02:00
Alexander Schwartz
05b6f897ce
Execute persistent sessions tests in CI and fix deadlock (#29236)
* Execute persistent sessions tests in CI and fix deadlock in UserSessionConcurrencyTest 
The deadlock was caused by a switch to reactive handling of embedded Infinispan updates introduced here #28862
Closes #29235

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-05-03 10:42:34 +02:00
Jon Koops
88d5970944
Upgrade artifact actions to latest version (#28483)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-15 17:14:00 +02:00
Alexander Schwartz
b4cfebd8d5
Persistent sessions code also for offline sessions (#28319)
Persistent sessions code also for offline sessions

Closes #28318

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-04-12 13:15:02 +02:00
Jon Koops
ab1d1ae3d5
Move all JavaScript projects into single PNPM workspace (#24537)
Closes #24571

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-02 16:14:58 +02:00
dependabot[bot]
a74d833f22 Bump aquasecurity/trivy-action from 0.18.0 to 0.19.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](062f259268...d710430a67)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 09:05:39 -03:00
Alexander Schwartz
c580c88c93
Persist online sessions to the database (#27977)
Adding two feature toggles for new code paths to store online sessions in the existing offline sessions table. Separate the code which is due to be changed in the next iteration in new classes/providers which used instead of the old one.

Closes #27976

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Signed-off-by: Michal Hajas <mhajas@redhat.com>
Co-authored-by: Michal Hajas <mhajas@redhat.com>
2024-03-28 09:17:07 +01:00
Jon Koops
3382e16954
Remove Account Console version 2 (#27510)
Closes #19664

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-27 10:53:28 +01:00
Stian Thorgersen
2672b362c9
Update github action versions (#27692)
Signed-off-by: stianst <stianst@gmail.com>
2024-03-22 08:57:41 +01:00
Václav Muzikář
b64079eaea
Set minikube memory for Operator CI (#27943)
Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2024-03-15 17:42:40 +01:00
Bruno Oliveira da Silva
9547c34592 Snyk workflow failure
Closes #27761

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2024-03-13 13:30:47 -03:00
Bruno Oliveira da Silva
1c0c56e805 Revert "Snyk workflow failure"
This reverts commit 6967f57f39.

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2024-03-11 16:20:48 -03:00