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

Multi-tenant pipelines has possible syntax error in naming #120

Closed
artisticcheese opened this issue Jan 23, 2023 · 1 comment
Closed

Multi-tenant pipelines has possible syntax error in naming #120

artisticcheese opened this issue Jan 23, 2023 · 1 comment

Comments

@artisticcheese
Copy link
Contributor

artisticcheese commented Jan 23, 2023

It does not look like that Azure DevOps Pipelines allow - as part of pipeline dependency name. Getting following error trying to run https://github.com/Azure/enterprise-azure-policy-as-code/blob/main/StarterKit/Pipelines/AzureDevOps/multi-tenant-pipeline.yml

An error occurred while loading the YAML build pipeline. Unexpected symbol: 'tenantPlanMainStage-1'. Located at position 53 within expression: and(not(failed()), not(canceled()), eq(dependencies.tenantPlanMainStage-2.outputs['planJob.planStep.deployPolicyChanges'], 'yes'), in(variables['Build.Reason'], 'Manual', 'IndividualCI', 'BatchedCI'), contains(variables['Build.SourceBranch'], 'refs/heads/main')). For more help, refer to https://go.microsoft.com/fwlink/?linkid=842996

I think stages and dependencies should not have -

@techlake
Copy link
Contributor

Will be fixed in v6.1 due 1/23/2023 by EOB US CST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants