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

Make consistent the criteria for daily pipeline jobs #2037

Closed
danieljurek opened this issue Sep 24, 2021 · 4 comments
Closed

Make consistent the criteria for daily pipeline jobs #2037

danieljurek opened this issue Sep 24, 2021 · 4 comments
Assignees
Labels
Central-EngSys This issue is owned by the Engineering System team.

Comments

@danieljurek
Copy link
Member

For example the criteria for JS' PublishPackages job which publishes dev packages is:

or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['SetDevVersion'], ''), eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal')))

While the .NET criteria for the similar PublishPackages job is:

or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal')))

It's unclear whether these criteria are different. They should be made as consistent as possible to smooth the process of editing these pipelines.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 24, 2021
@danieljurek danieljurek added the Central-EngSys This issue is owned by the Engineering System team. label Sep 24, 2021
@weshaggard
Copy link
Member

I don't believe eq(variables['SetDevVersion'], '') is interesting in the second part of this condition. It probably doesn't hurt the execution in our scenarios because we don't set that variable as a global variable for our scheduled builds, but it would be nice to remove it here as it just makes the conditions more complex then it needs to be.

@danieljurek
Copy link
Member Author

@kurtzeborn kurtzeborn removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 27, 2021
@kurtzeborn
Copy link
Member

Triaging this... we're pretty sure that you (@danieljurek) have already fixed the place(s) where this happens. If there is broader tools work to do here, please reassign to @chidozieononiwu.

@danieljurek
Copy link
Member Author

Oh yes, this is merged here and it only impacts JS -- Azure/azure-sdk-for-net#24199

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
None yet
Development

No branches or pull requests

3 participants