diff --git a/docs/changelog.md b/docs/changelog.md index bf05c23..f1950f6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,7 +2,13 @@ All notable changes to this project will be documented in this file. -## [1.1.26] - Current +## [1.1.27] - Current + +### Fixed + +- **Pin `@keycloak/keycloak-admin-client` to 26.5.6**: Version 26.6.0 has a broken postinstall script that fails in CI environments with a `packageManager` field. Pinned to last known-good version. + +## [1.1.26] ### Fixed diff --git a/package.json b/package.json index c7c3905..b278af1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/e2e-test-utils", - "version": "1.1.26", + "version": "1.1.27", "description": "Test utilities for RHDH E2E tests", "license": "Apache-2.0", "repository": { @@ -68,6 +68,7 @@ "clean": "rm -rf dist", "lint:check": "eslint . --ignore-pattern dist --ignore-pattern README.md --ignore-pattern docs", "lint:fix": "eslint . --fix --ignore-pattern dist --ignore-pattern README.md --ignore-pattern docs", + "prepack": "yarn build", "prepublishOnly": "yarn build", "prettier:check": "prettier --check . '!dist' '!README.md' '!docs' '!.github/workflows/deploy-docs.yml'", "prettier:fix": "prettier --write . '!dist' '!README.md' '!docs' '!.github/workflows/deploy-docs.yml'", @@ -104,7 +105,7 @@ "@axe-core/playwright": "^4.11.0", "@backstage-community/plugin-rbac-common": "1.23.0", "@eslint/js": "^9.39.1", - "@keycloak/keycloak-admin-client": "^26.0.0", + "@keycloak/keycloak-admin-client": "26.5.6", "@kubernetes/client-node": "^1.4.0", "eslint": "^9.39.1", "eslint-plugin-check-file": "^3.3.1", diff --git a/src/deployment/orchestrator/install-orchestrator.sh b/src/deployment/orchestrator/install-orchestrator.sh index fb27c35..94e347d 100755 --- a/src/deployment/orchestrator/install-orchestrator.sh +++ b/src/deployment/orchestrator/install-orchestrator.sh @@ -105,9 +105,7 @@ log::success() { # Operator subscription and status # --------------------------------------------------------------------------- install_subscription() { - local name=$1 namespace=$2 channel=$3 package=$4 source_name=$5 source_namespace=$6 starting_csv=${7:-} - local spec_extra="" - [[ -n "$starting_csv" ]] && spec_extra=" startingCSV: $starting_csv" + local name=$1 namespace=$2 channel=$3 package=$4 source_name=$5 source_namespace=$6 oc apply -f - << EOD apiVersion: operators.coreos.com/v1alpha1 kind: Subscription @@ -120,7 +118,6 @@ spec: name: $package source: $source_name sourceNamespace: $source_namespace -${spec_extra} EOD return 0 } diff --git a/yarn.lock b/yarn.lock index a0cbddb..02e52a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -217,13 +217,13 @@ __metadata: languageName: node linkType: hard -"@keycloak/keycloak-admin-client@npm:^26.0.0": - version: 26.4.7 - resolution: "@keycloak/keycloak-admin-client@npm:26.4.7" +"@keycloak/keycloak-admin-client@npm:26.5.6": + version: 26.5.6 + resolution: "@keycloak/keycloak-admin-client@npm:26.5.6" dependencies: camelize-ts: ^3.0.0 url-template: ^3.1.1 - checksum: 973af8c11fb61d648fac7e7b767d52849dd409d1fcee33b36e72c7096e266943cbd2f8f00ebcb47bca59b2a3c106e7853ba7179c730c3eb429cbea39f7c53171 + checksum: 1e996590de8f191dbe616622102895b358c4e31274a7770b3bba2039fc2e64ce9a67ca6cbf6e823d39e061891c25c29b4342b199f20cc3e04937509cf3975843 languageName: node linkType: hard @@ -377,7 +377,7 @@ __metadata: "@backstage-community/plugin-rbac-common": 1.23.0 "@backstage/catalog-model": 1.7.5 "@eslint/js": ^9.39.1 - "@keycloak/keycloak-admin-client": ^26.0.0 + "@keycloak/keycloak-admin-client": 26.5.6 "@kubernetes/client-node": ^1.4.0 "@playwright/test": ^1.57.0 "@types/fs-extra": ^11.0.4