[17.06] migrate to CircleCI 2.0, and CI fixes - #2698
Conversation
…stalling the extra mockgen package when installing dependencies. Signed-off-by: Ying Li <ying.li@docker.com> (cherry picked from commit b5c4335) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This sets up a tmpfs mount to be used for temporary files created by tests. If this works, hopefully it will fix the excessive I/O latencies that are blocking tests for long periods and causing them to fail. As a side effect, this also stores temporary compilation artifacts on tmpfs. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> (cherry picked from commit ff0a397) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Bumps the Go version used to 1.8.4, which contains security fixes; https://groups.google.com/forum/#!topic/golang-announce/1hZYiemnkdE Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 6d2c849) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 2d27a21) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 0ad63ea) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
and will be removed in August 2018. Signed-off-by: Ying Li <ying.li@docker.com> (cherry picked from commit 19114b4) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Ying Li <ying.li@docker.com> (cherry picked from commit 7fc0c4f) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
changes since Go 1.8.4: - go1.8.5 (released 2017/10/25) includes fixes to the compiler, linker, runtime, documentation, go command, and the crypto/x509 and net/smtp packages. It includes a fix to a bug introduced in Go 1.8.4 that broke go get of non-Git repositories under certain conditions. See the Go 1.8.5 milestone on our issue tracker for details. - go1.8.6 (released 2018/01/22) includes the same fix in math/big as Go 1.9.3 and was released at the same time. See the Go 1.8.6 milestone on our issue tracker for details. - go1.8.7 (released 2018/02/07) includes a security fix to "go get". It contains the same fix as Go 1.9.4 and was released at the same time. See the Go 1.8.7 milestone on our issue tracker for details. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
Marked as "WIP" to discuss if we need to backport the protobuild / protobuf changes |
Codecov Report
@@ Coverage Diff @@
## bump_v17.06 #2698 +/- ##
===============================================
+ Coverage 57.72% 61.26% +3.54%
===============================================
Files 10 121 +111
Lines 1230 20196 +18966
===============================================
+ Hits 710 12374 +11664
- Misses 451 6462 +6011
- Partials 69 1360 +1291 |
| curl -fsSL -o "$HOME/$(basename $PROTOC)" "$PROTOC" | ||
| unzip -o "$HOME/$(basename $PROTOC)" -d "$HOME" | ||
| sudo cp -R "$HOME/include/google" /usr/local/include | ||
| sudo chmod 777 -R /usr/local/include/google |
There was a problem hiding this comment.
Note that the two lines above are actually part of https://github.com/docker/swarmkit/pull/2349/files#diff-29944324a3cbf9f4bd0162dfe3975d88R36, and leaked through due to the rename/move of this file.
Don't think they should really bother if we decide to not include that PR in 17.06
ping @dperny @anshulpundir PTAL to decide if we should include those changes as well, or if we need to stick with the current set (backporting at a later stage may be more complicated than including it here, so making a decision now would help 😄) |
Makes sense to do it sooner rather than later. I would suggest doing it right after EE16. That way, we keep EE16 as concise. At the same time, we avoid delaying bring these changes in @thaJeztah |
|
@thaJeztah I can see that even EE17 is released so you probably would like look this one again (found this when I was browsing old PRs). |
|
Yes, let me remove "WIP", but it's up to @anshulpundir @dperny to decide 😅 |
|
LOL; forgot I had this one as I opened it so long ago; I did the same PR again in #2844, and that one at least got merged, so closing this one |
This migrates the 17.06 branch to use CircleCI 2.0, making sure that CI can still run after August.
Also included are various version bumps, and fixes to CI that were not yet in the 17.06 branch.
Backports:
extra commit:
[17.06] downgrade Go to 1.8.7
changes since Go 1.8.4:
runtime, documentation, go command, and the crypto/x509 and net/smtp
packages. It includes a fix to a bug introduced in Go 1.8.4 that broke go get
of non-Git repositories under certain conditions. See the Go 1.8.5 milestone
on our issue tracker for details.
and was released at the same time. See the Go 1.8.6 milestone on our issue
tracker for details.
contains the same fix as Go 1.9.4 and was released at the same time. See the
Go 1.8.7 milestone on our issue tracker for details.
Changes to be committed:
Unmerged paths:
(use "git add/rm ..." as appropriate to mark resolution)