install goldctl in docker build#46640
Merged
fluttergithubbot merged 18 commits intoflutter:masterfrom Jan 10, 2020
Merged
Conversation
c7c80da to
f5ce156
Compare
f5ce156 to
b68ff17
Compare
Member
|
Is this PR still relevant? Or should we close it? |
Contributor
Author
|
@goderbauer yes, still relevant, I think I can land this soon :) |
Contributor
|
FYI @kjlubick |
Contributor
|
This would pin us at a specific version for Linux shards, but not Mac and Windows. My only concern is if having multiple versions across tests shards will create an issue, I would defer to @kjlubick. |
Contributor
|
goldctl doesn't change all that often and if it does, I try to backward compatible. I don't envision an issue, unless the Docker image is rarely re-built/updated. |
Contributor
Author
|
@kjlubick sounds good. For posterity's sake, if in the future there is a breaking change to |
dnfield
added a commit
that referenced
this pull request
Feb 4, 2020
dnfield
added a commit
that referenced
this pull request
Feb 4, 2020
dnfield
added a commit
that referenced
this pull request
Feb 5, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This moves the downloading and installing of
goldctltodev/ci/docker_linux/Dockerfilefor the Cirrus linux tests. Previously, 10 Linux shards were running theinstall_goldctl.shscript as part of their "main" step. This speeds up running of tests and avoids occasional failure to download the tool, as seen in #44786.Related Issues
Fixes #44786
Tests
I did not change any tests as my changes are exercised by the existing framework tests, which depend on
goldctlbeing installed on the host to conduct goldens tests.Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.