From 89394ae26401832a392c8056786189cb654a5b27 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Fri, 26 Jul 2024 01:35:58 +0300 Subject: [PATCH] update deps --- .woodpecker/.build.yml | 10 +++++----- .woodpecker/.latest.yml | 4 ++-- Dockerfile | 4 ++-- go.mod | 4 ++-- go.sum | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index 30647a2..846ea06 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -5,9 +5,9 @@ when: variables: - &image_name 'quay.krd.sh/krd/woodpecker-sonatype-nexus' - &ext_image_name 'docker.io/rockdrilla/woodpecker-sonatype-nexus' - - &buildah_image 'quay.krd.sh/quay_io/containers/buildah:v1.35.3' - - &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.15.0' - - &go_image 'quay.krd.sh/golang:1.22.3-bookworm' + - &buildah_image 'quay.krd.sh/quay_io/containers/buildah:v1.35.4' + - &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.15.2' + - &go_image 'quay.krd.sh/golang:1.22.5-bookworm' - &base_image 'quay.krd.sh/gcr_io/distroless/static-debian12:debug-nonroot' ## value list depends on base image ## ref: https://github.com/GoogleContainerTools/distroless#debian-12 @@ -17,7 +17,7 @@ variables: ## ref: https://github.com/woodpecker-ci/plugin-git/releases clone: git: - image: quay.krd.sh/docker_io/woodpeckerci/plugin-git:2.5.0 + image: quay.krd.sh/docker_io/woodpeckerci/plugin-git:2.5.1 ## NB: ${variable} expressions are subject to pre-processing. ## ref: https://woodpecker-ci.org/docs/usage/environment @@ -36,7 +36,7 @@ steps: - name: build-all image: *go_image environment: - GOMAXPROCS: "4" + GOMAXPROCS: "2" MALLOC_ARENA_MAX: "4" ## TARGET_PLATFORMS: *target_platforms diff --git a/.woodpecker/.latest.yml b/.woodpecker/.latest.yml index 0507fa1..3add2a1 100644 --- a/.woodpecker/.latest.yml +++ b/.woodpecker/.latest.yml @@ -5,13 +5,13 @@ when: variables: - &image_name 'quay.krd.sh/krd/woodpecker-sonatype-nexus' - &ext_image_name 'docker.io/rockdrilla/woodpecker-sonatype-nexus' - - &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.15.0' + - &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.15.2' ## kind of fixup (remove in near future) ## ref: https://github.com/woodpecker-ci/plugin-git/releases clone: git: - image: quay.krd.sh/docker_io/woodpeckerci/plugin-git:2.5.0 + image: quay.krd.sh/docker_io/woodpeckerci/plugin-git:2.5.1 ## NB: ${variable} expressions are subject to pre-processing. ## ref: https://woodpecker-ci.org/docs/usage/environment diff --git a/Dockerfile b/Dockerfile index 54e8e6b..ba4d1e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_IMAGE=docker.io/library/golang:1.22.3-bookworm +ARG GO_IMAGE=docker.io/library/golang:1.22.5-bookworm ARG BASE_IMAGE=gcr.io/distroless/static-debian12:debug-nonroot ## --- @@ -16,7 +16,7 @@ WORKDIR /go/src COPY . . -ENV GOMAXPROCS=4 \ +ENV GOMAXPROCS=2 \ MALLOC_ARENA_MAX=4 RUN go env | grep -F -e GOPROXY -e GOSUMDB ; \ diff --git a/go.mod b/go.mod index e39cbcf..6c7143c 100644 --- a/go.mod +++ b/go.mod @@ -6,9 +6,9 @@ module git.krd.sh/krd/woodpecker-sonatype-nexus go 1.22 require ( - codeberg.org/woodpecker-plugins/go-plugin v0.4.1 + codeberg.org/woodpecker-plugins/go-plugin v0.5.0 github.com/rs/zerolog v1.33.0 - github.com/urfave/cli/v2 v2.27.2 + github.com/urfave/cli/v2 v2.27.3 ) require ( diff --git a/go.sum b/go.sum index f678d54..a56a8df 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -codeberg.org/woodpecker-plugins/go-plugin v0.4.1 h1:h7W+ZERxqHzeuG3NywG8oISaZx/TzHqRVg45eWeY8Fw= -codeberg.org/woodpecker-plugins/go-plugin v0.4.1/go.mod h1:o8nMzJsFYfAvW1tRjerPqIMzHaOqi4KO1NQbe5iCToA= +codeberg.org/woodpecker-plugins/go-plugin v0.5.0 h1:qfbELdeekjiTjX5HvFG2QpJQslk1xIsIshit1I5XK38= +codeberg.org/woodpecker-plugins/go-plugin v0.5.0/go.mod h1:vXqH6723sLeIKtBE9VWm+b1oWnkHaZbzz/n2/vGf2Xk= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= @@ -24,8 +24,8 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/urfave/cli/v2 v2.27.2 h1:6e0H+AkS+zDckwPCUrZkKX38mRaau4nL2uipkJpbkcI= -github.com/urfave/cli/v2 v2.27.2/go.mod h1:g0+79LmHHATl7DAcHO99smiR/T7uGLw84w8Y42x+4eM= +github.com/urfave/cli/v2 v2.27.3 h1:/POWahRmdh7uztQ3CYnaDddk0Rm90PyOgIxgW2rr41M= +github.com/urfave/cli/v2 v2.27.3/go.mod h1:m4QzxcD2qpra4z7WhzEGn74WZLViBnMpb1ToCAKdGRQ= github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4= github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM= golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys=