Don't build a second copy of containerd-shim-runhcs-v1.exe
`make binaries` already builds containerd-shim-runhcs-v1.exe next to containerd.exe, so there's no need to spend time checking out and building it again. Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -254,11 +254,6 @@ jobs:
|
||||
with:
|
||||
path: src/github.com/containerd/containerd
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: Microsoft/hcsshim
|
||||
path: src/github.com/Microsoft/hcsshim
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: kubernetes-sigs/cri-tools
|
||||
@@ -279,12 +274,6 @@ jobs:
|
||||
run: |
|
||||
set -o xtrace
|
||||
mingw32-make.exe binaries
|
||||
bindir="$(pwd)"
|
||||
SHIM_COMMIT=$(grep 'Microsoft/hcsshim ' go.mod | awk '{print $2}')
|
||||
cd ../../Microsoft/hcsshim
|
||||
git fetch --tags origin "${SHIM_COMMIT}"
|
||||
git checkout "${SHIM_COMMIT}"
|
||||
GO111MODULE=on go build -mod=vendor -o "${bindir}/integration/client/containerd-shim-runhcs-v1.exe" ./cmd/containerd-shim-runhcs-v1
|
||||
cd ../../kubernetes-sigs/cri-tools
|
||||
make critest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user