-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
ConfirmedThe issue was triaged and confirmed for developmentThe issue was triaged and confirmed for development
Milestone
Description
Allow to run custom scripts before and after scripts operations.
- Need to assess and identify which DrevOps scripts needs this.
- Need to come up with a short code snippet to handle this. Desirably to make the inclusion script to use the current script name as a base.
- The hook script should be able to suspend the main script execution
Examples:
sctipts/drevops/provision.sh would automatically discover:
scripts/hooks/pre-provision.sh
scripts/hooks/pre-provision-10.sh
scripts/hooks/pre-provision-20.sh
scripts/hooks/pre-provision-30.sh
and
scripts/hooks/post-provision.sh
scripts/hooks/post-provision-10.sh
scripts/hooks/post-provision-20.sh
scripts/hooks/post-provision-30.sh
The scripts/hooks directory may be something different:
scripts/hooks
scripts/custom
scripts
Metadata
Metadata
Assignees
Labels
ConfirmedThe issue was triaged and confirmed for developmentThe issue was triaged and confirmed for development
Type
Projects
Status
Next release