Commit Graph

446 Commits

Author SHA1 Message Date
Erik Jan de Wit
f8f2b476a1 added RETRY_COUNT environment variable (#35318)
* added RETRY_COUNT environment variable

fixes: #35225

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

* Update js/apps/admin-ui/cypress.config.ts

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Erik Jan de Wit <edewit@redhat.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-12-17 08:10:43 -05:00
Bruno Oliveira da Silva
f12fe052a6 Revert "Move Snyk reports from GitHub Security tab to GitHub issues"
This reverts commit 65a96757bd.
2024-12-12 11:10:08 -03:00
Pedro Ruivo
e8841b6ae3 Enhance the Keycloak Operator with Network Policies (#34788)
Closes #34659

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-12-04 09:50:28 +01:00
Jon Koops
faf36dd2f0 Move root PNPM workspace to js directory (#35456)
Closes #35455

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-11-29 17:20:32 +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
dependabot[bot]
81ac146158 Bump aquasecurity/trivy-action from 0.28.0 to 0.29.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.28.0...0.29.0)

---
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-11-21 09:09:59 -03: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
Ricardo Martin
d470c33946 Fix for trivy workflow issues (#35092)
Closes #34440

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-11-19 13:18:52 +00: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
vramik
b1ff9511d1 Fine grained admin permissions feature V2
Closes #34563

Signed-off-by: vramik <vramik@redhat.com>
2024-11-07 10:55:42 +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
Ryan Emerson
74caf48b63 AuroraDB IT - Error creating EC2 runner instance
Closes #33874

- Use venv to install python dependencies
- Utilise latest ansible version
- Utilise RHEL 9 image to update python versions

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-15 18:43:37 +02:00
Ryan Emerson
42251b3a13 Add check to ensure that no unstaged proto.lock files exist on PRs issued against release/26.x branches (#33592)
Closes #33566

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-10-15 14:15:15 +02:00
rmartinc
10aca55523 Run all maven commands inside the ubi docker container
Closes #33881

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-10-14 16:18:01 +02:00
mposolda
272d59be88 Temporarily comment FIPS CI until it is figured what causes the issue
closes #33875

Signed-off-by: mposolda <mposolda@gmail.com>
2024-10-14 10:13:41 +02:00
dependabot[bot]
268229dbe8 Bump manusa/actions-setup-minikube from 2.11.0 to 2.13.0 (#33801)
Bumps [manusa/actions-setup-minikube](https://github.com/manusa/actions-setup-minikube) from 2.11.0 to 2.13.0.
- [Release notes](https://github.com/manusa/actions-setup-minikube/releases)
- [Commits](https://github.com/manusa/actions-setup-minikube/compare/v2.11.0...v2.13.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-10-11 16:25:15 +02:00
Stian Thorgersen
5eb64456b5 Update labeller to set next version for main to be a minor release (#33671)
Signed-off-by: stianst <stianst@gmail.com>
2024-10-08 09:00:59 +02:00
Stian Thorgersen
058538ca08 Revert "Apply the principle of least privilege for GitHub workflows (#33534)" (#33626)
This reverts commit 61c6bd5ace.
2024-10-07 08:41:43 +02:00
Bruno Oliveira da Silva
61c6bd5ace Apply the principle of least privilege for GitHub workflows (#33534)
Closes #33544

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2024-10-04 14:17:35 +02:00
Jon Koops
d60dee7622 Remove the UMD distribution of Keycloak JS (#33080)
Closes #32826

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-09-30 14:05:18 +02:00
Jon Koops
741e0839a9 Expand CodeQL coverage to all JavaScript and TypeScript (#32988)
Closes #32987

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-09-23 14:28:16 +02:00
rmartinc
c532751ff4 Downgrade Java for client libraries to 8
Closes #33051

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-09-20 17:01:01 +02:00
Jon Koops
fa08cef8ef Disable broken operator test instead of entire suite (#33118)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-09-19 21:23:44 +00:00
Stefan Guilhen
42cde0cfdd Fix various issues holding up CI (#33086)
- Disables the remote operator tests, which will have to be fixed later.
- Fixes the action expired error which occurs when accessing regular registration page with Organizations enabled.
- Fixes a race condition in the test suite causing sporadic failures.

Closes #33064

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
Signed-off-by: rmartinc <rmartinc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: rmartinc <rmartinc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-09-19 21:23:21 +02:00
dependabot[bot]
d9de358a7f Bump aquasecurity/trivy-action from 0.21.0 to 0.24.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.21.0 to 0.24.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](fd25fed697...6e7b7d1fd3)

---
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-09-17 09:28:27 -03:00
Pedro Ruivo
f67bec0417 Rename remote-cache Feature
Renamed to "clusterless"

Closes #32596

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-09-13 13:03:13 +02:00
Stian Thorgersen
b3b9e40e40 Run CodeQL nightly (#32899)
Signed-off-by: stianst <stianst@gmail.com>
2024-09-13 12:44:10 +02:00
Lukas Hanusovsky
2b2107f397 Move Test Framework (#32407)
* Move Test Framework

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>

* Update .github/workflows/ci.yml

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: Stian Thorgersen <stian@redhat.com>
2024-08-28 14:14:08 +02:00
Michal Hajas
f5b2775939 Enable persistent sessions by default
Run CI with the feature disabled to test also the old settings
Closes #32265

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2024-08-21 17:37:54 +02:00
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