Repository navigation
Pin Azure CLI to 2.82.0 to fix JSON parsing error - #47828
Conversation
Closes: keycloak#47827 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
|
|
||
| if [[ "$ACTION" == "create" ]]; then | ||
| # Pin Azure CLI to 2.82.0 (azure-core 1.38.0+ causes JSON parsing errors with az vm create) | ||
| sudo apt-get install -y -q --allow-downgrades azure-cli=2.82.0-1~noble |
There was a problem hiding this comment.
Please bear in your mind I have a limited knowledge about Azure CLI and I also don't know what is a common practice in this project. Still, I'll tell you what I think 😄 :
Should you link TODO with link to an opened issue so that you don't loose track of this? Or what are upgrade plans? I'd go even further and say without linked upstream issue or documentation saying which Azure CLI can be used under certain conditions, this is fantastic workaround, but we will need to revisit it at some point in the future and define when exactly we should use Azure CLI 2.82.0-1-noble and under which conditions we can proceed to the newest version.
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.model.session.UserSessionProviderOfflineModelTest#testOfflineSessionLazyLoadingKeycloak CI - Store Model Tests org.keycloak.testsuite.model.session.UserSessionProviderModelTest#testStreamsMarshallingKeycloak CI - Store Model Tests org.keycloak.testsuite.model.session.OfflineSessionPersistenceTest#testPersistenceMultipleNodesClientSessionsAtRandomNodeKeycloak CI - Store Model Tests org.keycloak.testsuite.model.session.UserSessionProviderModelTest#testCreateUserSessionsParallelKeycloak CI - Store Model Tests org.keycloak.testsuite.model.session.UserSessionProviderModelTest#testStreamsMarshallingKeycloak CI - Store Model Tests org.keycloak.testsuite.model.session.UserSessionPersisterProviderTest#testExpirationDistributionKeycloak CI - Store Model Tests |
Closes: keycloak#47827 Signed-off-by: Peter Zaoral <pzaoral@redhat.com> (cherry picked from commit 2a4c9e0)
Closes: keycloak#47827 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Closes: #47827
The full version string is deliberate (otherwise apt does not find the package).
Test run: https://github.com/Pepo48/keycloak/actions/runs/24098525925/job/70303546307