Skip to content
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

Azure pipeline trigger: refactor paths logic #2416

Open
1 task
lalver1 opened this issue Sep 27, 2024 · 0 comments
Open
1 task

Azure pipeline trigger: refactor paths logic #2416

lalver1 opened this issue Sep 27, 2024 · 0 comments
Labels
infrastructure Terraform, Azure, etc.

Comments

@lalver1
Copy link
Member

lalver1 commented Sep 27, 2024

The paths filter is used to select file paths to include or exclude from a pipeline trigger.

In the Infra pipeline, paths works as expected when branches only contains branches. However, it does not work as expected when branches includes tags since we have seen that the pipeline gets triggered when there have been no changes to the terraform infrastructure folder.

We need to move the logic from paths to another place, but how would we implement the file path filter? We would need to have a commit to use as a reference for diffing the terraform folder to see if there were any changes.

Acceptance criteria

  • The Infra pipeline only runs when a tag has changes in the terraform folder
@lalver1 lalver1 added the infrastructure Terraform, Azure, etc. label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Terraform, Azure, etc.
Projects
Status: Todo
Development

No branches or pull requests

1 participant