mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Release notes: https://github.com/opencontainers/runc/releases/tag/v1.1.3 In particular, this one is important: * Retry on dbus disconnect logic in libcontainer/cgroups/systemd now works as intended; this fix does not affect runc binary itself but is important for libcontainer users such as Kubernetes. (#3476) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
32 lines
580 B
Makefile
32 lines
580 B
Makefile
# libseccomp-golang
|
|
|
|
.PHONY: all check check-build check-syntax fix-syntax vet test lint
|
|
|
|
all: check-build
|
|
|
|
check: lint test
|
|
|
|
check-build:
|
|
go build
|
|
|
|
check-syntax:
|
|
gofmt -d .
|
|
|
|
fix-syntax:
|
|
gofmt -w .
|
|
|
|
vet:
|
|
go vet -v ./...
|
|
|
|
# Previous bugs have made the tests freeze until the timeout. Golang default
|
|
# timeout for tests is 10 minutes, which is too long, considering current tests
|
|
# can be executed in less than 1 second. Reduce the timeout, so problems can
|
|
# be noticed earlier in the CI.
|
|
TEST_TIMEOUT=10s
|
|
|
|
test:
|
|
go test -v -timeout $(TEST_TIMEOUT)
|
|
|
|
lint:
|
|
golangci-lint run .
|