mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
ee007bc7cf
- trivy v0.36.1 - sonobuoy v0.56.14 - golangci-lint v1.50.1 - gopls v0.11.0 - dapper v0.6.0 - golang v1.19.5 Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
35 lines
574 B
Makefile
35 lines
574 B
Makefile
TARGETS := $(shell ls scripts | grep -v \\.sh)
|
|
|
|
.dapper:
|
|
@echo Downloading dapper
|
|
@curl -sL https://releases.rancher.com/dapper/v0.6.0/dapper-$$(uname -s)-$$(uname -m) > .dapper.tmp
|
|
@@chmod +x .dapper.tmp
|
|
@./.dapper.tmp -v
|
|
@mv .dapper.tmp .dapper
|
|
|
|
$(TARGETS): .dapper
|
|
./.dapper $@
|
|
|
|
.PHONY: deps
|
|
deps:
|
|
go mod vendor
|
|
go mod tidy
|
|
|
|
release:
|
|
./scripts/release.sh
|
|
|
|
.DEFAULT_GOAL := ci
|
|
|
|
.PHONY: $(TARGETS)
|
|
|
|
build/data:
|
|
mkdir -p $@
|
|
|
|
.PHONY: binary-size-check
|
|
binary-size-check:
|
|
scripts/binary_size_check.sh
|
|
|
|
.PHONY: image-scan
|
|
image-scan:
|
|
scripts/image_scan.sh $(IMAGE)
|