-
Notifications
You must be signed in to change notification settings - Fork 33
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
Specify source channel for asset validation #4183
Conversation
…tagging stage. This eliminates need for a restricted variable group.
I'm not sure how to test this. The code is all mixed in with actual asset promotion, so it's not really safe to make "simple" cuts to the pipeline. I could add a whole "dry-run" flag that does everything except the permanent changes, but that seems like more work than worth. Though I'll certainly consider reviewer pushback if folks disagree. |
I believe disabling this job: https://github.com/dotnet/arcade-validation/blob/main/azure-pipelines.yml#L299-L321 would let you run a validation build without the build being promoted. EDIT: Or the entire stage 😛 |
The test-publishing script in the Validate_Publishing job also makes Actual Changes in a few spots like these:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are fine. They just cause the arcade-validation build to get put in the general testing channel, and it pushes a branch to the internal repo that gets cleaned up when everything works. I'm also pretty OK with you checking this in and fixing afterwards if something is off. |
Resolves dotnet/dnceng#1964.
The validation checks get confused if an asset with the same name and version is published more than once. This is rare, but can happen. This change adds the source-channel flag where appropriate for calls to
darc
.