Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
klihub authored Oct 16, 2024
2 parents c86a33a + 97e8dd8 commit 08d5ea3
Show file tree
Hide file tree
Showing 58 changed files with 166 additions and 291 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/verify-pr-code.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Verify code

on:
pull_request:
paths-ignore:
- "docs/**"
- "**.md"
pull_request

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-pr-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
verify-docs:
uses: "./.github/workflows/common-build-docs.yaml"
permissions:
contents: read
contents: write
security-events: write
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GO_FMT := gofmt
GO_CYCLO := gocyclo
GO_LINT := golint
GO_CILINT := golangci-lint
GO_VERSION ?= 1.21.5
GO_VERSION ?= 1.22.6
GOLICENSES_VERSION ?= v1.5.0

# TEST_TAGS is the set of extra build tags passed for tests.
Expand Down Expand Up @@ -240,7 +240,7 @@ DIST_TRANSFORM := \
DISTRO_ID := $(shell . /etc/os-release; echo "$${ID:-unknown}")
DISTRO_VERSION := $(shell . /etc/os-release; echo "$${VERSION_ID:-unknown}")
DISTRO_PACKAGE := $(shell echo $(DISTRO_ID) | tr -d ' \t' | \
sed -E 's/.*((centos)|(fedora)|(suse)).*/rpm/;s/.*((ubuntu)|(debian)).*/deb/')
sed -E 's/.*((fedora)|(suse)).*/rpm/;s/.*((ubuntu)|(debian)).*/deb/')

# Be quiet by default but let folks override it with Q= or V=1 on the command line.
ifneq ($(V),1)
Expand Down Expand Up @@ -684,7 +684,7 @@ cross-tar cross-tarball: dist docker/cross-build/fedora
-v $$(pwd)/$$builddir:/build \
-v $$(pwd)/$$outdir:/output \
-v "`go env GOMODCACHE`:/home/$$USER/go/pkg/mod" \
centos-7-build /bin/bash -c '$(DOCKER_TAR_BUILD)' && \
fedora-build /bin/bash -c '$(DOCKER_TAR_BUILD)' && \
rm -fr $$builddir && \
install -D -m644 -t $(PACKAGES_DIR)/release-assets $$outdir/cri-resource-manager-$(TAR_VERSION).x86_64.tar.gz

Expand Down
2 changes: 1 addition & 1 deletion cmd/cri-resmgr-agent/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.21
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder

Expand Down
2 changes: 1 addition & 1 deletion cmd/cri-resmgr-webhook/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.21
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder

Expand Down
Loading

0 comments on commit 08d5ea3

Please sign in to comment.