azd
hooks vs CI/CD pipelines
#1613
lechnerc77
started this conversation in
General
Replies: 2 comments 8 replies
-
@jongio - Since there is no context passed to the hooks, what is the real advantage of using hooks vs doing this entirely in the pipeline/workflow? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@rajyraman, using |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi community,
I have a point I would like to discuss: with the advent of the hooks in
azd
several new options to enhance the functionality ofazd
are available.One interesting scenario was shown in the February community standup, where a service lifecycle event hook was leveraged to execute the tests defined in the app before doing the deployment. Thinking a bit about this scenario raises the question in my mind of what to put into the
azd
definition and what to put into a CI/CD pipeline.Although I like the spin of keeping things self-contained and having this step as part of the
azure.yaml
, I think I would have put that a s a dedicated step in a GitHub action as this is at least from my perspective more explicit while "hiding" this as part of theazd
is more implicit.Although I think there is no "right" or "wrong" here, I would be very interested in hearing your opinions on this topic.
Beta Was this translation helpful? Give feedback.
All reactions