@red-hat-developer-hub/e2e-test-utils 1.1.43 → 1.1.45

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.
@@ -144,7 +144,7 @@ wait_for_operator() {
144
144
  }
145
145
 
146
146
  install_serverless_logic_ocp_operator() {
147
- install_subscription logic-operator openshift-operators stable logic-operator redhat-operators openshift-marketplace logic-operator.v1.37.2
147
+ install_subscription logic-operator openshift-operators stable logic-operator redhat-operators openshift-marketplace
148
148
  return 0
149
149
  }
150
150
  waitfor_serverless_logic_ocp_operator() {
@@ -33,7 +33,8 @@ export declare function isNightlyJob(): boolean;
33
33
  * {{inherit}} tag resolution vs which need full OCI refs from metadata.
34
34
  *
35
35
  * Branch is determined by RELEASE_BRANCH_NAME (set by OpenShift CI),
36
- * defaulting to "main" for local development.
36
+ * defaulting to "main" for local development. For release-1.10 the file
37
+ * lives in the rhdh repo; all other branches use rhdh-plugin-export-overlays.
37
38
  */
38
39
  export declare function fetchDefaultPackages(): Promise<Set<string>>;
39
40
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-metadata.d.ts","sourceRoot":"","sources":["../../src/utils/plugin-metadata.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAaD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,QAAQ,C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,CACzC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAwBtC;AA2JD;;;;;;;GAOG;AACH;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,MAAM,CAMT;AAoHD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAW7E;AAED;;;;;;;GAOG;AACH,wBAAsB,2BAA2B,CAC/C,YAAY,GAAE,MAA8B,GAC3C,OAAO,CAAC,oBAAoB,CAAC,CAwB/B;AA2BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,2BAA2B,CAC/C,MAAM,EAAE,oBAAoB,EAC5B,YAAY,GAAE,MAA8B,EAC5C,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GACzB,OAAO,CAAC,oBAAoB,CAAC,CAsC/B"}
@@ -33,7 +33,9 @@ export function isNightlyJob() {
33
33
  return false;
34
34
  }
35
35
  // ── Default Packages (DPDY) ──────────────────────────────────────────────────
36
- const DEFAULT_PACKAGES_BASE_URL = "https://raw.githubusercontent.com/redhat-developer/rhdh/refs/heads";
36
+ const DEFAULT_PACKAGES_BASE_URL = "https://raw.githubusercontent.com/redhat-developer/rhdh-plugin-export-overlays/refs/heads";
37
+ // release-1.10 still hosts default.packages.yaml in the rhdh repo (pre-migration)
38
+ const LEGACY_DEFAULT_PACKAGES_BASE_URL = "https://raw.githubusercontent.com/redhat-developer/rhdh/refs/heads";
37
39
  const DEFAULT_DPDY_OCI_REGISTRY = "registry.access.redhat.com/rhdh";
38
40
  /**
39
41
  * Fetches the list of packages from default.packages.yaml (source for the
@@ -42,7 +44,8 @@ const DEFAULT_DPDY_OCI_REGISTRY = "registry.access.redhat.com/rhdh";
42
44
  * {{inherit}} tag resolution vs which need full OCI refs from metadata.
43
45
  *
44
46
  * Branch is determined by RELEASE_BRANCH_NAME (set by OpenShift CI),
45
- * defaulting to "main" for local development.
47
+ * defaulting to "main" for local development. For release-1.10 the file
48
+ * lives in the rhdh repo; all other branches use rhdh-plugin-export-overlays.
46
49
  */
47
50
  export async function fetchDefaultPackages() {
48
51
  const branch = process.env.RELEASE_BRANCH_NAME;
@@ -53,7 +56,10 @@ export async function fetchDefaultPackages() {
53
56
  console.log("[PluginMetadata] RELEASE_BRANCH_NAME not set — defaulting to 'main' (local dev)");
54
57
  }
55
58
  const resolvedBranch = branch || "main";
56
- const url = `${DEFAULT_PACKAGES_BASE_URL}/${resolvedBranch}/default.packages.yaml`;
59
+ const baseUrl = resolvedBranch === "release-1.10"
60
+ ? LEGACY_DEFAULT_PACKAGES_BASE_URL
61
+ : DEFAULT_PACKAGES_BASE_URL;
62
+ const url = `${baseUrl}/${resolvedBranch}/default.packages.yaml`;
57
63
  console.log(`[PluginMetadata] Fetching default packages from ${url} (branch: ${resolvedBranch})...`);
58
64
  const response = await fetch(url);
59
65
  if (!response.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/e2e-test-utils",
3
- "version": "1.1.43",
3
+ "version": "1.1.45",
4
4
  "description": "Test utilities for RHDH E2E tests",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {