-
Notifications
You must be signed in to change notification settings - Fork 3
Parametrise working dir for hook #54
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Related to #23. User wants to parametrise working directory for hook execution....
Proposing following format:
- When user defines as the following
components:
- name: authn
# ...
hooks:
- file: bin/authn-post-deploy
triggers: [post-deploy]Then the bin/authn-post-deploy executed from the directory of authn component
- When user defines a
workDirargument as the following
hooks:
- file: bin/authn-post-deploy
triggers: [post-deploy]
workDir: ....then the bin/authn-post-deploy script is executed from the same directory as hub.yaml, same as the value of $HUB_BASE_DIR
- When user defines a
workerargument as the following
hooks:
- file: bin/authn-post-deploy
triggers: [post-deploy]
workDir: bin...then the bin/authn-post-deploy script is executed from the same directory as bin/authn-post-deploy, the same place as $HUB_BASE_DIR/bin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed