Howto implement an Aspire/AZD github workflow for deployment to test and production #5180
-
Currently have a modified azd pipeline generated github workflow for deploying to our Azure test env, works the best. Locally I have 2 environments set up via Want to update my workflow it for deployment to production as well and for the life of me cannot figure out how to do so, it depends on the AZD_INITIAL_ENVIRONMENT_CONFIG setup by |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Lindsay-Mathieson AZD currently only supports one GitHub CI environment. We initially designed like this b/c A current (ugly) alternative is to map one AZD-env to one repo and another AZD-env to other repo. You can do this by using a different git remote. So when you call In the future, we will add support for GH CI environments, for sure. We are just not yet there. |
Beta Was this translation helpful? Give feedback.
Hi @Lindsay-Mathieson
We are about to merge #5143 which will get rid of AZD_INITIAL_ENVIRONMENT_CONFIG.
Each parameter from your AppHost will be directly mapped to either a Github CI variable or secret.
AZD currently only supports one GitHub CI environment. We initially designed like this b/c
azd pipeline config
creates a private repo by default and CI environments are only free for public repos. So this functionality to support CI enviroments mapped to AZD-environments is still ToBeImplemented.A current (ugly) alternative is to map one AZD-env to one repo and another AZD-env to other repo. You can do this by using a different git remote. So when you call
azd pipeline config
, you can pass…