@red-hat-developer-hub/e2e-test-utils 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -105,9 +105,7 @@ log::success() {
|
|
|
105
105
|
# Operator subscription and status
|
|
106
106
|
# ---------------------------------------------------------------------------
|
|
107
107
|
install_subscription() {
|
|
108
|
-
local name=$1 namespace=$2 channel=$3 package=$4 source_name=$5 source_namespace=$6
|
|
109
|
-
local spec_extra=""
|
|
110
|
-
[[ -n "$starting_csv" ]] && spec_extra=" startingCSV: $starting_csv"
|
|
108
|
+
local name=$1 namespace=$2 channel=$3 package=$4 source_name=$5 source_namespace=$6
|
|
111
109
|
oc apply -f - << EOD
|
|
112
110
|
apiVersion: operators.coreos.com/v1alpha1
|
|
113
111
|
kind: Subscription
|
|
@@ -120,7 +118,6 @@ spec:
|
|
|
120
118
|
name: $package
|
|
121
119
|
source: $source_name
|
|
122
120
|
sourceNamespace: $source_namespace
|
|
123
|
-
${spec_extra}
|
|
124
121
|
EOD
|
|
125
122
|
return 0
|
|
126
123
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@red-hat-developer-hub/e2e-test-utils",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.27",
|
|
4
4
|
"description": "Test utilities for RHDH E2E tests",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"clean": "rm -rf dist",
|
|
69
69
|
"lint:check": "eslint . --ignore-pattern dist --ignore-pattern README.md --ignore-pattern docs",
|
|
70
70
|
"lint:fix": "eslint . --fix --ignore-pattern dist --ignore-pattern README.md --ignore-pattern docs",
|
|
71
|
+
"prepack": "yarn build",
|
|
71
72
|
"prepublishOnly": "yarn build",
|
|
72
73
|
"prettier:check": "prettier --check . '!dist' '!README.md' '!docs' '!.github/workflows/deploy-docs.yml'",
|
|
73
74
|
"prettier:fix": "prettier --write . '!dist' '!README.md' '!docs' '!.github/workflows/deploy-docs.yml'",
|
|
@@ -104,7 +105,7 @@
|
|
|
104
105
|
"@axe-core/playwright": "^4.11.0",
|
|
105
106
|
"@backstage-community/plugin-rbac-common": "1.23.0",
|
|
106
107
|
"@eslint/js": "^9.39.1",
|
|
107
|
-
"@keycloak/keycloak-admin-client": "
|
|
108
|
+
"@keycloak/keycloak-admin-client": "26.5.6",
|
|
108
109
|
"@kubernetes/client-node": "^1.4.0",
|
|
109
110
|
"eslint": "^9.39.1",
|
|
110
111
|
"eslint-plugin-check-file": "^3.3.1",
|