-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeycloakContainer and Keycloak service refactoring, Keycloak image bump and resulting OCP fixes #986
KeycloakContainer and Keycloak service refactoring, Keycloak image bump and resulting OCP fixes #986
Conversation
baf34c4
to
93adc23
Compare
I didn't expect KC bump to require any changes, mmnt. |
93adc23
to
74244d0
Compare
run tests |
...c/main/java/io/quarkus/test/services/containers/KeycloakContainerManagedResourceBuilder.java
Show resolved
Hide resolved
There seems to be Keycloak failure on Openshift with jvm and native as well what I just look. Something wasn't able to start in time. Can you look at it? |
yes |
74244d0
to
e00c41f
Compare
run tests |
There is a single failure - Therefore I suggested the failure cannot be related to changes here. @jedla97 please review the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it's look good just one comment. And looking through TF I see another usage of Keycloak 22 here. If there is need to for these stay on KC22 we can merge this.
@@ -11,6 +11,9 @@ | |||
|
|||
public class KeycloakService extends BaseService<KeycloakService> { | |||
|
|||
public static final String DEFAULT_REALM_BASE_PATH = "/realms"; | |||
public static final String DEFAULT_REALM = "test-realm"; | |||
public static final String DEFAULT_REALM_FILE = "/keycloak-realm.json"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for adding these in one place.
@@ -11,12 +15,12 @@ | |||
@OpenShiftScenario | |||
public class OpenShiftUsingCustomTemplateResourceIT { | |||
|
|||
private static final String REALM_DEFAULT = "test-realm"; | |||
private static final String CLIENT_ID_DEFAULT = "test-application-client"; | |||
private static final String CLIENT_SECRET_DEFAULT = "test-application-client-secret"; | |||
|
|||
@Container(image = "quay.io/keycloak/keycloak:22.0.1", expectedLog = "started", port = 8080) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't here be also newer Keycloak?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea why there is hardcoded image instead of @KeycloakContainer
used, but I suppose we can do it in a separate PR? I'm happy to change annotation, but I'd like to make release and fix TS.
Also @gtroitsk have some ticket on getting rid of hardcoded images, maybe he can take care of it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok no problem with this. Make sense to leave it the task with removing hardcoded images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks; @gtroitsk please create PR (ideally with others if there are such hardcoded images) and link it with this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will do it after finish with TS related stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the older version will be removed in different PR. It's look good and we can merge this.
Summary
quay.io/keycloak/keycloak:14.0.0
seems beyond the point now as it is not supported in community or product. It makes sense to keep branches like 3.2 in TS to verify support for legacy images, but here we test upstream and I don't think KC 14 support is expected.Please check the relevant options
run tests
phrase in comment)Checklist: