Commit graph

202 commits

Author SHA1 Message Date
Stian Thorgersen
c907fde7f5
Run store testing conditionally for PRs (#22070) 2023-07-31 10:25:40 +02:00
Stian Thorgersen
e6545ea32a
Temporarily disable WebAuthn Firefox testing (#22071) 2023-07-28 16:52:22 +02:00
Stian Thorgersen
a33b76e6f7
Add wagon http retries to all maven options (#22060) 2023-07-28 12:32:06 +02:00
Stian Thorgersen
d7e335bf6a
Fix conditional for sssd (#22069) 2023-07-28 12:24:54 +02:00
Stian Thorgersen
0decccc4fa
Refactor conditional for sssd testing (#22053) 2023-07-28 12:09:44 +02:00
Stian Thorgersen
5bb9da3c0d
Refactor conditional in GH workflows (#22020)
Closes #22019
2023-07-28 07:04:16 +02:00
Stian Thorgersen
17d211319b
Change concurrency for GH workflows to prevent conflicts between PRs (#22018)
Closes #22001
2023-07-27 06:26:03 +02:00
Jon Koops
2f617bd28e
Place Java setup in re-usable workflow file (#17541)
Co-authored-by: Stian Thorgersen <stianst@gmail.com>
2023-07-26 10:35:21 +00:00
Stian Thorgersen
8848dfed74
Fix conditional checking for PR testing (#21947)
* Fix conditional checking for PR testing

Closes #21946

* Update .github/actions/conditional/action.yml

Co-authored-by: Jon Koops <jonkoops@gmail.com>

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-07-25 15:43:53 +02:00
Stian Thorgersen
6220a9d71f
Remove scheduled from individual workflows (#21847) 2023-07-21 11:51:10 +02:00
Stian Thorgersen
54f8c8d253
Increase timeout for legacy tests (#21811)
Closes #21810
2023-07-19 13:56:39 +00:00
Pedro Igor
d2cdd78655
Add Java Distribution IT for Windows (#21675)
Co-authored-by: Miquel Simon <msimonma@redhat.com>
2023-07-18 12:15:56 +02:00
mposolda
0ea2891eee Remove support for OpenJDK 11 on the server side
closes #15014
2023-07-03 13:12:22 -03:00
Stian Thorgersen
a5bb300570
Use installed driver for Firefox on GitHub runners (#21105)
Closes #21104
2023-06-20 18:26:28 +02:00
Miquel Simon
3daeee15f6
Add Forms IT (#20528)
Closes #20519
2023-06-19 14:44:20 +02:00
Miquel Simon
7e95d57faa Add Migration Tests to CI workflow 2023-06-07 19:43:48 +02:00
Miquel Simon
0f2ff9c235
Enable Firefox for WebAuthn and Account Console tests (#20546) 2023-05-25 10:02:05 +02:00
Miquel Simon
9640fb2803 Increase timeout for Legacy Store IT 2023-05-16 10:37:14 +02:00
rmartinc
f1468091f1 SSSD testing with GH actions
Closes https://github.com/keycloak/keycloak/issues/20265
2023-05-11 11:29:32 +02:00
Pedro Igor
c17fcd49c8
Support for non-XA databases (#20141) 2023-05-04 19:08:10 +02:00
Stian Thorgersen
5bc2109a18
Remove Foresight from GitHub workflows (#20146)
Closes #20122
2023-05-04 12:08:55 +02:00
Martin Bartoš
c1cced9f31 Fix CorsExampleAdapterTest
---
Quarkus3 branch sync no. 14 (24.4.2023)
Resolved conflicts:
keycloak/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/example/cors/CorsExampleAdapterTest.java - Modified
2023-04-27 13:36:54 +02:00
Martin Bartoš
7af2459c7d Run CI with Quarkus
This reverts commit 2f3fe2b237128c25989293e19f2c09edd0350caa.
2023-04-27 13:36:54 +02:00
Martin Bartoš
952faed4c9 Run Adapter tests with JavaEE support
---
Quarkus3 branch sync no. 9 (10.3.2023)
Resolved conflicts:
keycloak/.github/actions/build-keycloak/action.yml - Modified
2023-04-27 13:36:54 +02:00
Martin Bartoš
81eaa09b25 Run tests with Undertow
---
Quarkus3 branch sync no. 6 (17.2.2023)
Resolved conflicts:
keycloak/.github/workflows/ci.yml - Modified
---
Quarkus3 branch sync no. 5 (10.2.2023)
Resolved conflicts:
keycloak/.github/workflows/ci.yml - Modified
2023-04-27 13:36:54 +02:00
mposolda
85d2c41a62 Switch FIPS automated test to ubi8 instead of ubi9
closes #19977
2023-04-27 12:06:21 +02:00
Alexander Schwartz
acd01dedb6 Integrate documentation into parent build
Closes #19158
2023-03-20 13:09:23 +01:00
Miquel Simon
923a321a55
Run WebAuthn IT with Chrome. (#17256) 2023-02-23 20:58:13 +00:00
Václav Muzikář
557a22968c
Stabilize Account Console UI tests (#17243)
Closes #17178
Closes #17102
Closes #17070
Closes #17045
Closes #17044
Closes #16875
Closes #16870
Closes #16715
Closes #16670
Closes #16646
Closes #16627
Closes #16620
2023-02-23 12:35:08 +01:00
Stian Thorgersen
9df7ef4331
Switch to JDK 17 as default JDK on GitHub Actions (#16014)
Co-authored-by: Marek Posolda <mposolda@gmail.com>
2023-02-22 07:20:14 +01:00
rmartinc
3f8c4e24e2 Change container image in FIPS tests to ubi9
Closes https://github.com/keycloak/keycloak/issues/12422
2023-02-15 20:23:59 +01:00
Miquel Simon
48a22ff2f3
Added WebAuthn integration tests to CI workflow. (#16608) 2023-02-13 12:28:25 +00:00
rmartinc
5b626231d9 Doublecheck if real FIPS host available in GH actions
Closes https://github.com/keycloak/keycloak/issues/15069
2023-02-10 11:56:35 +01:00
mposolda
d495f29a4d Support to run BCFIPS approved mode tests on GH actions
Closes #16440
2023-02-03 16:30:58 +01:00
Stian Thorgersen
d2ef774788
Conditional workflows (#16666)
* Conditional workflows

Closes #16665

* Added .editorconfig to make sure there's a newline in conditions file

* Fix

* Tweak

* Tweaks
2023-01-30 08:07:10 +01:00
Miquel Simon
83147a67a0
Added New Account Console Tests to CI workflow. (#16547) 2023-01-24 16:01:03 +01:00
Miquel Simon
7bd78f604a
Added MariaDB to Legacy Store IT. (#16157) 2023-01-10 17:37:27 +01:00
Alexander Schwartz
665dec19c0
Extend build time for CockroachDB (#16315)
Closes #16313
2023-01-09 13:12:58 +01:00
Stian Thorgersen
cc641cb72b Update ci.yml 2023-01-06 10:30:34 +01:00
Stian Thorgersen
1cf7535c90
Add flaky retry/reporting to store model test (#16275) 2023-01-06 09:15:01 +01:00
Miquel Simon
c2682157fb
Added MS SQL Server to Legacy Store IT. (#16121)
* Added MS SQL Server to Legacy Store IT.

* Update testsuite/integration-arquillian/pom.xml

Co-authored-by: Stian Thorgersen <stianst@gmail.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2023-01-06 08:55:09 +01:00
Stian Thorgersen
10f2ae3411
Add flaky tests rerun to more jobs (#16231) 2023-01-04 14:38:05 +01:00
Stian Thorgersen
d81c4d7c0b
Add job summary to flaky tests artifact (#16215) 2023-01-02 14:02:20 +01:00
Stian Thorgersen
a12f50f8d9
Revert running CI every 3 hours (#16209) 2023-01-02 09:12:15 +01:00
Stian Thorgersen
22e7214565
Run Keycloak CI every 3 hours during Christmas holidays (#16149) 2022-12-21 21:12:19 +01:00
Miquel Simon
9bb5b08015
Added Oracle to Legacy Store IT. (#16097) 2022-12-21 08:15:38 +01:00
Michal Hajas
c79d29e68c Move HotRod profile to the same pom as other map profiles and introduce map-storage-chm profile
Closes #16046
2022-12-20 17:51:40 +01:00
Alexander Schwartz
0fee33bb95 Normalize JVM heap usage in tests and handle OOM situations
Closes #16089
2022-12-20 13:26:07 +01:00
Stian Thorgersen
f1990b6389
Upload flaky test reports to artifacts (#16076) 2022-12-19 17:22:11 +01:00
Alexander Schwartz
1d758fac2b
Adding CRDB into GHA for the new store (#16021)
The CockroachDB database is slower than PostgreSQL, therefore it will only run branches and nightly builds.

Closes #16020
2022-12-17 08:50:21 +01:00
Stian Thorgersen
2f02aa49dd
Use test instead of install to run tests, and optimize unit tests job (#16006) 2022-12-16 15:31:28 +01:00
Stian Thorgersen
60f1162300
Flaky test reporter (#16034)
* Flaky test reporter

* Update .github/actions/upload-flaky-tests/action.yml
2022-12-16 13:02:05 +01:00
Stian Thorgersen
09da4a211e
Fix paths to surefire-reports for Foresight (#16019) 2022-12-15 16:32:06 +01:00
Stian Thorgersen
38db622822
Upload Surefire reports to Foresight (#16013) 2022-12-15 14:22:20 +01:00
Stian Thorgersen
173ff10141
Change names of checks (#16000) 2022-12-14 17:44:40 +01:00
Stian Thorgersen
a5670af745
Keycloak CI workflow refactoring (#15968)
* Keycloak CI workflow refactoring

Closes #15861

* Update testsuite/integration-arquillian/tests/base/testsuites/base-suite.sh

Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>

* Update testsuite/integration-arquillian/tests/base/testsuites/suite.sh

Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>

* Update testsuite/integration-arquillian/tests/base/testsuites/suite.sh

Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>

* Update CodeQL actions

Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>
2022-12-14 16:12:23 +01:00
mposolda
264c5a6cdb Support for KcReg and KcAdm CLI to use BCFIPS instead of BC on FIPS platforms
Closes #14968
2022-12-06 13:02:46 +01:00
Pedro Igor
1673906a54 Improving quarkus testsuite execution time
Closes #13544
2022-12-05 15:06:36 +01:00
Stian Thorgersen
24ace9a0f7
Disable cancelling concurrent jobs in Keycloak CI (#15784)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-12-01 14:46:30 +01:00
mposolda
3e9c729f9e X.509 authentication fixes for FIPS
Closes #14967
2022-11-25 11:50:30 +01:00
Stian Thorgersen
044ce8d773
Tweak Maven wagon settings to try to prevent connection timeouts downloading dependencies on GA (#15504)
Closes #15503
2022-11-18 12:07:20 +01:00
Stian Thorgersen
ed4e91b380
Increase timeout for base testsuite (#15545)
Base testsuite (quarkus-map-jpa, group2) has been cancelled twice in the last 7 days.
2022-11-17 11:38:21 +01:00
Stian Thorgersen
b104dc770d
Increase timeout for FIPS job (#15505)
Timed out in https://github.com/keycloak/keycloak/actions/runs/3465895045/jobs/5789314099
2022-11-15 12:33:43 +01:00
Stian Thorgersen
ebc91f6369
Update ci.yml (#15456) 2022-11-10 22:18:30 +01:00
vramik
021189f190 Make GHA Map-JPA base testsuite running with Quarkus
Co-authored-by: Martin Batros <mabartos@redhat.com>

Closes #13725
2022-11-10 10:08:14 +01:00
Stian Thorgersen
e4a76bacb1 Update timeouts for tests in Keycloak CI 2022-11-04 10:11:24 +01:00
Marek Posolda
f616495b05
Fixing UserFederationLdapConnectionTest,LDAPUserLoginTest to work with FIPS (#15299)
closes #14965
2022-11-03 16:35:57 +01:00
dependabot[bot]
f047524e14
Bump runforesight/foresight-test-kit-action from 1.2.1 to 1.3.0 (#15099)
Bumps [runforesight/foresight-test-kit-action](https://github.com/runforesight/foresight-test-kit-action) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/runforesight/foresight-test-kit-action/releases)
- [Commits](https://github.com/runforesight/foresight-test-kit-action/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: runforesight/foresight-test-kit-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stian Thorgersen <stianst@gmail.com>
2022-11-03 07:08:57 +01:00
Stian Thorgersen
db636e21ff
Temporarily add more scheduled runs (#15273)
In order to make the testsuite more stable we should at least temporarily add more scheduled runs so we can get more data
2022-11-02 12:36:43 +01:00
Hynek Mlnařík
d88d6eb503 Limit CI timeout for base and model testsuites
Fixes: #15118
2022-11-02 12:01:24 +01:00
mposolda
55c514ad56 More flexibility in keystore related tests, Make keycloak to notify which keystore types it supports, Support for BCFKS
Closes #14964
2022-10-24 08:36:37 +02:00
Stian Thorgersen
4a266d0708
Update Foresight test-kit action (#14958) 2022-10-20 11:28:53 +02:00
Marek Posolda
0756ef9a75
Initial integration tests with BCFIPS distribution (#14895)
Closes #14886
2022-10-17 23:33:22 +02:00
Stian Thorgersen
7ae1fa4833
Enable Foresight test-kit-action on PRs (#14695) 2022-10-05 07:47:53 +02:00
mposolda
47340e9318 Initial GH actions unit tests for crypto modules
Closes #14241
2022-09-14 15:51:59 +02:00
Stian Thorgersen
68140dfb1f
Update ci.yml (#14352) 2022-09-12 13:32:09 +02:00
Stian Thorgersen
8d5c11a4a5
Enable test reporting for Foresight (#14333)
* Enable test reporting for Foresight

* Temporarily allow running CI on main

This is to allow generating more data for Foresight
2022-09-12 11:19:23 +02:00
Stian Thorgersen
f789b7997e
Remove CrossDC tests from GA (#14196) 2022-09-05 16:03:27 +02:00
Stian Thorgersen
94c74fca98
Removing QuickStarts testing running from main repo (#14090) 2022-08-30 16:58:37 +02:00
Martin Kanis
7daeca86f5
Make GHA HotRod base testsuite running with Quarkus (#14007) 2022-08-26 09:57:54 +02:00
Martin Bartoš
f3a36eaad5
Disable WebAuthn tests in GH Actions (#13880) 2022-08-19 15:59:17 +02:00
Michal Hajas
d55d110ff9 Run Infinispan using Testcontainers in base testsuite
Closes #13620
2022-08-10 16:36:44 +02:00
Pedro Igor
333a4c900f Revert changes that block themes being loaded from custom providers
Closes #13401
2022-08-04 13:34:12 +02:00
Stian Thorgersen
6f7d20f752
Remove WF distribution from GitHub Actions (#13367) 2022-07-29 15:23:06 +02:00
Dominik Guhr
059a132476 Fixes the regression in 19 for MariaDB, MySQL and other DBs
databases that are not using an official liquibase type in Database.java could not be seeded anymore because

the liquibase types we use in model-jpa were not indexed and loaded during the build anymore.

Introduces highly needed tests for other databases than postgres, because postgres has an official liquibase databasetype in its list

in database.java and as such differs from nearly all other vendors.

Closes #13389
2022-07-28 20:40:51 +02:00
Alexander Schwartz
2a926f3e61
Abort CodeQL runs on new pushes to a pull-request's branch (#13241) 2022-07-28 15:30:05 -03:00
Hynek Mlnarik
143e6bc932 Replace undertow-map with quarkus-map
Fixes: #12652
2022-07-27 14:08:38 +02:00
Alexander Schwartz
67e2f342a9 Allow Quarkus configuration to mix different storage providers
Closes #13312
2022-07-26 21:56:16 +02:00
Michal Hajas
3589778a10 Add possibility to configure HotRod storage in Quarkus distribution
Closes #12617
2022-07-26 14:13:39 +02:00
Pedro Igor
f6a2b334d1
Integrate the JPA map store (#13097)
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2022-07-14 17:47:51 -03:00
Alexander Schwartz
a1c0e5b113 Minimize workflow runs on Dependabot updates
Workflows will only run when their own workflow file changes, not on other workflow files. Dependabot branches are ignored for "push" builds, will only run on "pull" builds as code scanning on dependabot is not available for "push" builds.

Closes #12911
2022-07-06 12:46:46 -03:00
Hynek Mlnarik
ffc1265e9a Fix typo in ci.yml
Fixes: #12690
2022-06-28 09:06:35 -03:00
Václav Muzikář
2c1fc739f0 Explicitly set failIfNoSpecifiedTests to false 2022-06-21 12:26:17 -03:00
Václav Muzikář
2ba38d9fdc Fix clustering tests 2022-06-20 21:42:46 +02:00
Václav Muzikář
105d3b955b Refactor Operator test packages 2022-06-13 10:01:43 -03:00
Pedro Igor
c18b87af5f Keycloak server fails to start when using different named schema
Closes #12219
2022-06-08 09:10:25 -03:00
Pedro Igor
6156272f39
Persisted config source not loading properties at runtime (#12157)
Co-authored-by: Dominik Guhr <dguhr@redhat.com>
2022-05-25 16:29:37 -03:00
vramik
7fdd3cf965 Add conditional step to GHA for testing jpa-map storage with postgres
Closes #12046
2022-05-20 09:22:10 +02:00
Martin Bartoš
06b6e7ed7b Include WebAuthn tests to GH Actions
Closes #9502
2022-05-16 08:35:40 +02:00
Michal Hajas
fc974fc019 Update composite roles on child role removal
Closes #11769
2022-05-05 15:18:18 +02:00