Open akranga opened 1 year ago
Related to #23. User wants to parametrise working directory for hook execution....
Proposing following format:
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
bin/authn-post-deploy
authn
workDir
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
hub.yaml
$HUB_BASE_DIR
worker
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
$HUB_BASE_DIR/bin
Moving to the todo section. Currently there is no progress here
todo
Related to #23. User wants to parametrise working directory for hook execution....
Proposing following format:
Then the
bin/authn-post-deploy
executed from the directory ofauthn
componentworkDir
argument as the following...then the
bin/authn-post-deploy
script is executed from the same directory ashub.yaml
, same as the value of$HUB_BASE_DIR
worker
argument as the following...then the
bin/authn-post-deploy
script is executed from the same directory asbin/authn-post-deploy
, the same place as$HUB_BASE_DIR/bin