-
Notifications
You must be signed in to change notification settings - Fork 205
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
[Enhacement] Include branch name when checking pipeline existence #4566
Comments
@vhvb1989 can you triage it? |
Hello @faisalriazz , can you please add more details about what you are doing? What do you mean by When you run Also, the documentation from https://learn.microsoft.com/en-us/dotnet/aspire/deployment/azure/aca-deployment-github-actions?tabs=windows&pivots=azure-pipelines is a little outdated. You don't need to manually create the pipeline definition. You can just run |
@vhvb1989 Thanks for your reply. Here are the details that i have done so far.
Now i repeated the same process but this time the Branch is
main-cicd branch trigger:
branches:
include:
- main-cicd
exclude:
- main main branch trigger:
branches:
include:
- main
exclude:
- main-cicd ** Still both pipelines are triggered on change in any of the branch**
|
@rajeshkamal5050 @vhvb1989 |
@faisalriazz , thank you for the details. Every time you run I remember we built it this way to prevent creating a new pipeline after every I'll see if we can include the branch name while we check if the pipeline exists or not. In that case, you should see a different pipeline created for each branch. Since this might take me some time, please be patient :) |
Thanks @vhvb1989 for the update, will be waiting anxiously for new version of azd :) |
@rajeshkamal5050 Based on the |
@v-weiyding Thanks for your input. Yes that can done but i want to keep it separate pipelines for the sake of simplicity. |
I am using azd version 1.11.0 to deploy Aspire Project using below mentioned link
https://learn.microsoft.com/en-us/dotnet/aspire/deployment/azure/aca-deployment-github-actions?tabs=windows&pivots=azure-pipelines
Issue :
Project is already created and initiated using
azd init
, my current branch is dev.azd pipeline config --provider azdo
First deployment from let us say Branch dev works fine and deployment started.
Second deployment from let us say Branch Stagging but different container app envoironment using
azd init
using the same PAT created in previous step and Azure service connection ( az connection) fails with error .AZURE_ENV_NAME is invalid.
The text was updated successfully, but these errors were encountered: