Skip to content

fix(e2e): add plugin-name input to plugin-e2e.yaml reusable workflow#163

Open
privilegedescalation-engineer[bot] wants to merge 1 commit intomainfrom
hugh/fix-e2e-plugin-name-input-v2
Open

fix(e2e): add plugin-name input to plugin-e2e.yaml reusable workflow#163
privilegedescalation-engineer[bot] wants to merge 1 commit intomainfrom
hugh/fix-e2e-plugin-name-input-v2

Conversation

@privilegedescalation-engineer
Copy link
Copy Markdown
Contributor

Summary

Add plugin-name (required) and e2e-namespace (optional) inputs to the plugin-e2e.yaml reusable workflow to enable per-plugin ConfigMap naming in the generalized deploy-e2e-headlamp.sh script.

Root Cause

The reusable workflow was missing the plugin-name input, causing the PLUGIN_NAME env var to be empty when the deploy-e2e-headlamp.sh script ran. This resulted in an empty ConfigMap name (headlamp--plugin) which caused E2E deploy step failures (startup_failure) for all plugin repos that call this workflow.

Changes

  • .github/workflows/plugin-e2e.yaml: Added e2e-namespace (optional, default headlamp-dev) and plugin-name (required) workflow inputs
  • Updated env block to use inputs.e2e-namespace and inputs.plugin-name

Affected repos using this reusable workflow

After this PR merges, these repos will need their e2e.yaml updated to pass plugin-name:

  • headlamp-rook-plugin — currently pointing to stale branch hugh/add-pnpm-support-plugin-e2e
  • headlamp-sealed-secrets-plugin — points to main
  • headlamp-tns-csi-plugin — points to main
  • headlamp-kube-vip-plugin — points to main

cc @cpfarhood

Add required plugin-name input to enable per-plugin ConfigMap naming
in the generalized deploy-e2e-headlamp.sh script.

The e2e-namespace input is also added as optional (default: headlamp-dev)
for consistency with per-repo overrides.

Fixes PRI-956: E2E deploy step failure due to missing plugin-name
in reusable workflow call from plugin repos.
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