Skip to content

fix: pass per-repo pipeline dirs to melange compile#36

Draft
justinvreeland wants to merge 1 commit into
chainguard-dev:mainfrom
justinvreeland:OS-2428
Draft

fix: pass per-repo pipeline dirs to melange compile#36
justinvreeland wants to merge 1 commit into
chainguard-dev:mainfrom
justinvreeland:OS-2428

Conversation

@justinvreeland

Copy link
Copy Markdown
Member

Summary

  • The shellcheck-run-steps hook hardcoded a single --pipeline-dir flag derived from the file's parent directory. This fails for packages in enterprise-packages/ and extra-packages/ that reference pipelines from other tiers (e.g. pipelines/py/pip-vendor-bump.yaml).
  • Adds a PIPELINE_DIRS mapping matching stereo's dirToPipelineDirs so each package tier gets the correct set of --pipeline-dir flags passed to melange compile.
  • Falls back to the original single-dir behavior for files not in a known tier.

Fixes the failure Chris Herborth hit when committing enterprise-packages/graalvm-25.yaml in a git worktree.

Resolves OS-2428

🤖 Generated with Claude Code

The shellcheck-run-steps hook hardcoded a single --pipeline-dir flag
derived from the file's parent directory. This fails for packages in
enterprise-packages/ and extra-packages/ that reference pipelines from
other tiers (e.g. pipelines/py/pip-vendor-bump.yaml).

Add a PIPELINE_DIRS mapping matching stereo's dirToPipelineDirs so each
package tier gets the correct set of --pipeline-dir flags passed to
melange compile.

Fixes OS-2428
@justinvreeland justinvreeland self-assigned this Jul 17, 2026
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