-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement pre-undeploy-event-reg hook to undeploy event registrations #65
Conversation
Codecov Report
@@ Coverage Diff @@
## master #65 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 24 25 +1
Lines 611 633 +22
Branches 82 87 +5
=========================================
+ Hits 611 633 +22
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
src/hooks/utils/hook-utils.js
Outdated
* @param {object} appConfigRoot.appConfig - Object containing events and project details | ||
* @param {object} appConfigRoot.appConfig.project - Project details from the .aio file | ||
* @param {object} appConfigRoot.appConfig.events - Events registrations that are part of the app.config.yaml file | ||
* @param {string} hookType - pre-deploy-event-reg or post-deploy-event-reg hook values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need this anymore ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hookType
that is, since its always gonna be pre-deploy-event-reg
now ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
Description
Undeploy event registrations in the pre-undeploy-event-reg hook
Related Issue
Is Blocked By
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: