go1.13.4 (released 2019/10/31) includes fixes to the net/http and syscall packages. It also fixes an issue on macOS 10.15 Catalina where the non- notarized installer and binaries were being rejected by Gatekeeper. See the Go 1.13.4 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.13.4 Update to Golang 1.13.3: go1.13.3 (released 2019/10/17) includes fixes to the go command, the toolchain, the runtime, syscall, net, net/http, and crypto/ecdsa packages. See the Go 1.13.3 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.13.3 Update to Golang 1.13.2: go1.13.2 (released 2019/10/17) includes security fixes to the crypto/dsa package and the compiler. See the Go 1.13.2 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.13.2 Update to Golang 1.13.1: go1.13.1 (released 2019/09/25) includes security fixes to the net/http and net/textproto packages. See the Go 1.13.1 milestone on the issue tracker for details: https://github.com/golang/go/issues?q=milestone%3AGo1.13.1 Update to Golang 1.13.0: Full diff: https://github.com/golang/go/compare/go1.12.9...go1.13 Milestone: https://github.com/golang/go/milestone/83?closed=1 Today the Go team is very happy to announce the release of Go 1.13. You can get it from the download page. Some of the highlights include: - The go command now downloads and authenticates modules using the Go module mirror and Go checksum database by default (https://golang.org/doc/go1.13#introduction) - Improvements to number literals (https://golang.org/doc/go1.13#language) - Error wrapping (https://golang.org/doc/go1.13#error_wrapping) - TLS 1.3 on by default (https://golang.org/doc/go1.13#tls_1_3) - Improved modules support (https://golang.org/doc/go1.13#modules) For the complete list of changes and more information about the improvements above, see the Go 1.13 release notes: https://golang.org/doc/go1.13 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
63 lines
2.5 KiB
YAML
63 lines
2.5 KiB
YAML
version: "{build}"
|
|
|
|
image: Visual Studio 2017
|
|
|
|
clone_folder: c:\gopath\src\github.com\containerd\containerd
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
environment:
|
|
GOPATH: C:\gopath
|
|
CGO_ENABLED: 1
|
|
matrix:
|
|
- GO_VERSION: 1.13.4
|
|
|
|
before_build:
|
|
- choco install -y mingw --version 5.3.0
|
|
# Install Go
|
|
- rd C:\Go /s /q
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GO_VERSION%.windows-amd64.zip
|
|
- 7z x go%GO_VERSION%.windows-amd64.zip -oC:\ >nul
|
|
- go version
|
|
- choco install codecov
|
|
# Clone hcsshim at the vendored version
|
|
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:$PATH;
|
|
rm -rf /c/gopath/src/github.com/Microsoft/hcsshim;
|
|
git clone -q https://github.com/Microsoft/hcsshim.git /c/gopath/src/github.com/Microsoft/hcsshim;
|
|
export HCSSHIM_VERSION=`grep Microsoft/hcsshim vendor.conf | awk '{print $2}'`;
|
|
echo Using Microsoft/hcsshim $HCSSHIM_VERSION;
|
|
pushd /c/gopath/src/github.com/Microsoft/hcsshim;
|
|
git checkout $HCSSHIM_VERSION;
|
|
popd"
|
|
# Print host version. TODO: Remove this when containerd has a way to get host version
|
|
- ps: $psversiontable
|
|
|
|
build_script:
|
|
# Build containerd-shim-runhcs-v1.exe and runhcs.exe from Microsoft/hcsshim
|
|
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:$PATH;
|
|
export GOBIN=/c/gopath/src/github.com/Microsoft/hcsshim/bin;
|
|
mkdir $GOBIN;
|
|
pushd /c/gopath/src/github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1;
|
|
go install;
|
|
cd ../runhcs;
|
|
go install;
|
|
ls -al $GOBIN;
|
|
popd"
|
|
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/bin:$PATH;
|
|
script/setup/install-dev-tools;
|
|
mingw32-make.exe check"
|
|
- bash.exe -elc "export PATH=/c/tools/mingw64/bin:$PATH ; mingw32-make.exe build binaries"
|
|
|
|
test_script:
|
|
# TODO: need an equivalent of TRAVIS_COMMIT_RANGE
|
|
# - GIT_CHECK_EXCLUDE="./vendor" TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" C:\MinGW\bin\mingw32-make.exe dco
|
|
- bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe coverage root-coverage"
|
|
# - bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe integration"
|
|
# Run the integration suite a second time. See discussion in github.com/containerd/containerd/pull/1759
|
|
# - bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH; TESTFLAGS_PARALLEL=1 mingw32-make.exe integration"
|
|
|
|
on_success:
|
|
codecov --flag windows -f coverage.txt
|