File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " rhdh-e2e-test-utils" ,
3- "version" : " 1.1.1 " ,
3+ "version" : " 1.1.2 " ,
44 "description" : " Test utilities for RHDH E2E tests" ,
55 "license" : " Apache-2.0" ,
66 "type" : " module" ,
Original file line number Diff line number Diff line change @@ -263,29 +263,27 @@ export class RHDHDeployment {
263263 if ( ! method )
264264 throw new Error ( "Installation method (helm/operator) is required" ) ;
265265
266- const configDir = `${ import . meta. dirname } /tests/config` ;
267-
268266 const base : DeploymentConfigBase = {
269267 version,
270268 namespace : input . namespace ?? this . deploymentConfig . namespace ,
271269 auth : input . auth ?? "keycloak" ,
272- appConfig : input . appConfig ?? `${ configDir } /app-config-rhdh.yaml` ,
273- secrets : input . secrets ?? `${ configDir } /rhdh-secrets.yaml` ,
270+ appConfig : input . appConfig ?? `tests/config /app-config-rhdh.yaml` ,
271+ secrets : input . secrets ?? `tests/config /rhdh-secrets.yaml` ,
274272 dynamicPlugins :
275- input . dynamicPlugins ?? `${ configDir } /dynamic-plugins.yaml` ,
273+ input . dynamicPlugins ?? `tests/config /dynamic-plugins.yaml` ,
276274 } ;
277275
278276 if ( method === "helm" ) {
279277 return {
280278 ...base ,
281279 method,
282- valueFile : input . valueFile ?? `${ configDir } /value_file.yaml` ,
280+ valueFile : input . valueFile ?? `tests/config /value_file.yaml` ,
283281 } ;
284282 } else if ( method === "operator" ) {
285283 return {
286284 ...base ,
287285 method,
288- subscription : input . subscription ?? `${ configDir } /subscription.yaml` ,
286+ subscription : input . subscription ?? `tests/config /subscription.yaml` ,
289287 } ;
290288 } else {
291289 throw new Error ( `Invalid RHDH installation method: ${ method } ` ) ;
You can’t perform that action at this time.
0 commit comments