Skip to content

feat: add pre-run-hook for entrypoint#277

Draft
HeloiseJoffe wants to merge 2 commits into
DIRACGrid:masterfrom
HeloiseJoffe:feat/pre-run-hook-entrypoint
Draft

feat: add pre-run-hook for entrypoint#277
HeloiseJoffe wants to merge 2 commits into
DIRACGrid:masterfrom
HeloiseJoffe:feat/pre-run-hook-entrypoint

Conversation

@HeloiseJoffe

Copy link
Copy Markdown
Contributor

Closes #257

Change:
Replace entrypoint.sh with pre-run-hook.sh

@HeloiseJoffe HeloiseJoffe force-pushed the feat/pre-run-hook-entrypoint branch from a5498af to 7d6f363 Compare June 26, 2026 12:41
@HeloiseJoffe HeloiseJoffe requested a review from aldbr June 26, 2026 13:19
@fstagni fstagni requested a review from sfayer July 6, 2026 13:44

@sfayer sfayer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

This generally looks good to me, although I wonder whether the hook file is actually needed in the charts now? It isn't clear to me whether it's doing anything useful, or whether having a placeholder there makes it easier for other users to override?

Regards,
Simon

"helm.sh/resource-policy": keep
data:
entrypoint.sh: |
pre-run-hook.sh: |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these steps still needed? It seems that if they are required the should probably be in the base entrypoint.sh unless there is a good reason to keep them here?

@DIRACGridBot DIRACGridBot marked this pull request as draft July 6, 2026 15:42
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.

Add hook rather than re-write entrypoint.sh?

2 participants