Skip to content

feat: use {{inherit}} for DPDY plugins in nightly mode#97

Open
subhashkhileri wants to merge 1 commit intoredhat-developer:mainfrom
subhashkhileri:feat/nightly-inherit-dpdy
Open

feat: use {{inherit}} for DPDY plugins in nightly mode#97
subhashkhileri wants to merge 1 commit intoredhat-developer:mainfrom
subhashkhileri:feat/nightly-inherit-dpdy

Conversation

@subhashkhileri
Copy link
Copy Markdown
Member

Summary

  • In nightly mode, plugins listed in RHDH's default.packages.yaml (DPDY) now use the {{inherit}} tag so RHDH resolves the exact RC version from its built-in dynamic-plugins.default.yaml
  • Non-DPDY OCI plugins receive full metadata config injection (appConfigExamples) since they are not covered by RHDH defaults
  • Registry is preserved from metadata's dynamicArtifact so the runtime key matches the DPDY entry (registry.access.redhat.com, ghcr.io, etc.)

Changes

  • fetchDefaultPackages() — fetches DPDY package list from the rhdh repo's default.packages.yaml using RELEASE_BRANCH_NAME
  • resolvePluginPackages() — DPDY OCI plugins resolve to {{inherit}} refs; non-DPDY OCI plugins use metadata refs
  • selectMetadataForInjection() — new helper to determine which plugins get config injection in nightly mode (only non-DPDY OCI)
  • processPluginsForDeployment() — parallelized metadata loading and DPDY fetch with Promise.all; accepts optional dpdyPackages parameter for testing
  • 72 tests covering nightly mode resolution, {{inherit}} generation, config injection, and edge cases
  • Docs updated: resolution reference, changelog, environment variables, config files, troubleshooting, CI pipeline guide

Test plan

  • All 72 unit tests pass (npm test)
  • Prettier and ESLint clean
  • Run overlay nightly E2E against this branch to verify {{inherit}} resolution end-to-end

RHIDP-13402

subhashkhileri added a commit to subhashkhileri/rhdh-plugin-export-overlays that referenced this pull request May 5, 2026
Hardcodes E2E_TEST_UTILS_GIT_REF to test the {{inherit}} nightly mode
changes from redhat-developer/rhdh-e2e-test-utils#97 end-to-end.

RHIDP-13402
… OCI in nightly mode

In nightly mode, plugins listed in RHDH's default.packages.yaml (DPDY) now
use the {{inherit}} tag so RHDH resolves the exact RC version from its
built-in dynamic-plugins.default.yaml. Non-DPDY OCI plugins receive full
metadata config injection (appConfigExamples) since they are not covered
by RHDH defaults.

Key changes:
- Add fetchDefaultPackages() to fetch DPDY package list from rhdh repo
- Resolve DPDY OCI plugins to {{inherit}} refs, preserving the registry
  from metadata so the runtime key matches the DPDY entry
- Inject appConfigExamples only for non-DPDY OCI plugins in nightly mode
- Skip config injection for DPDY and wrapper plugins in nightly mode
- Parallelize metadata loading and DPDY fetch with Promise.all
- Add comprehensive nightly mode tests (72 tests total)
- Update docs: resolution reference, changelog, environment variables,
  config files, troubleshooting, CI pipeline guide

RHIDP-13402
@subhashkhileri subhashkhileri force-pushed the feat/nightly-inherit-dpdy branch from 9bca6c7 to 99d1f33 Compare May 5, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant