-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Enable testing of internal servicing builds #5928
Conversation
@NikolaMilosavljevic, could you please link to a test run or something that illustrates the generated Dockerfiles? |
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.
Can you describe the overall workflow for how this will work? It seems that these changes rely on the Dockerfiles already being regenerated to target internal drops. How will that happen in an automated way? I'd like to understand the overall plan before proceeding with these changes.
Test run: https://dev.azure.com/dnceng/internal/_build/results?buildId=2548267&view=results |
I'm adding a paragraph to the PR description. In essence, to avoid adding additional complexity with updating dependencies in each leg, we've decided to run dependency (and dockerfiles) update in a separate pipeline that would commit those changes in a new branch and trigger the build/test pipeline. |
How will we ensure regressions aren't introduced into the templates for this internal testing scenario with "normal" changes going forward? Is there a way to validate in PR validation? At a minimum we should ensure that the internal servicing validation pipeline is run anytime there are impactful infrastructure changes made (e.g. Dockerfile template changes) in order to flush out regressions right away versus in the release endgame when we are trying to validate product builds. |
That is a concern and something needs to be done. We've had this issue already it was on to developer to ensure template changes do not regress any of the scenarios. I've created an issue to track any verification work: #5935 |
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.
I didn't realize until now but this should be targeting the nightly branch.
Please ensure that execution of the modified scripts in the eng
directory and update-dependencies continue to work correctly for normal, non-internal scenarios.
There was one bug in templates that I fixed on Friday, it affected non-internal scenarios - it was caught by PR tests. I believe I have tested all non-internal scenarios, but I'll double-check. Should I retarget this to For |
Yes
Just |
I've pushed a fix that fixes the regression in existing dev scenarios. |
…d in internal testing
c9177c1
to
59efecc
Compare
Cherry-picked all commits locally to |
Updated |
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.
Let's wait to merge this until later this week, after servicing.
I've pushed another change: fb25e1a It removes an obsolete comment - I had originally made more changes to this file, that were not needed so later reverted, but the change in comment was left behind. I noticed this while porting changes to |
Pushed a fix (32ae5cd) that ensures we always use |
Contributes to: https://github.com/dotnet/dotnet-docker-internal/issues/5952
This PR includes changes in 4 distinct areas, with its own commits:
Summary of changes:
Workflow
This pipeline runs build and test on a branch that contains the updated dockerfiles (that reference internal build artifacts). Another pipeline will be implemented, to run the dependency (and dockerfile) update step, commit changes to a feature branch, named appropriately (i.e. include BuildId in the name), and push the branch. Trigger would be added to initiate the run of the build/test pipeline as soon as new testing branch is pushed.