Skip to content

Using azd pipeline config with multiple environments or multiple projects #3585

Answered by vhvb1989
christiannagel asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @christiannagel.
Up to now, azd pipeline config supports setting up only one azd-environment per repository. So, even if you have just one azd project locally but with more than one azd-environment, azd can only set one azd-env for CI/CD.

There's a CI/CD model which might help you, but it less common. You can ask azd to create one git remote per azd-environment (using --remote-name flag), which would get you with one gh-repository per azd-environment. Then, depending on which remote you push your local changes is where CI/CD runs.

We have an open discussion around adding support for CI/CD environments here: #2373

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by christiannagel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants