diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-02-22 16:30:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 16:30:52 -0500 |
commit | bc0e084f2d909eeeacbe17938cb1ef8dbc90f7a2 (patch) | |
tree | a1d7fada738182c2eb8cd6993f33625ae704ba94 /vendor/github.com/prometheus/procfs/Makefile.common | |
parent | d3903a85910979d8212028cf814574047015db58 (diff) | |
parent | 80c5962dba7f5ecd6b602aecd0df479bd04391b1 (diff) | |
download | podman-bc0e084f2d909eeeacbe17938cb1ef8dbc90f7a2.tar.gz podman-bc0e084f2d909eeeacbe17938cb1ef8dbc90f7a2.tar.bz2 podman-bc0e084f2d909eeeacbe17938cb1ef8dbc90f7a2.zip |
Merge pull request #13276 from rhatdan/containers-common
Add containers-common spec and command to podman
Diffstat (limited to 'vendor/github.com/prometheus/procfs/Makefile.common')
-rw-r--r-- | vendor/github.com/prometheus/procfs/Makefile.common | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/vendor/github.com/prometheus/procfs/Makefile.common b/vendor/github.com/prometheus/procfs/Makefile.common index 3ac29c636..a1b1ca40f 100644 --- a/vendor/github.com/prometheus/procfs/Makefile.common +++ b/vendor/github.com/prometheus/procfs/Makefile.common @@ -78,12 +78,12 @@ ifneq ($(shell which gotestsum),) endif endif -PROMU_VERSION ?= 0.7.0 +PROMU_VERSION ?= 0.12.0 PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz GOLANGCI_LINT := GOLANGCI_LINT_OPTS ?= -GOLANGCI_LINT_VERSION ?= v1.18.0 +GOLANGCI_LINT_VERSION ?= v1.39.0 # golangci-lint only supports linux, darwin and windows platforms on i386/amd64. # windows isn't included here because of the path separator being different. ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin)) @@ -118,7 +118,7 @@ endif %: common-% ; .PHONY: common-all -common-all: precheck style check_license lint unused build test +common-all: precheck style check_license lint yamllint unused build test .PHONY: common-style common-style: @@ -198,6 +198,15 @@ else endif endif +.PHONY: common-yamllint +common-yamllint: + @echo ">> running yamllint on all YAML files in the repository" +ifeq (, $(shell which yamllint)) + @echo "yamllint not installed so skipping" +else + yamllint . +endif + # For backward-compatibility. .PHONY: common-staticcheck common-staticcheck: lint |