1
0

ci: adjust [CI SKIP]

This commit is contained in:
Konstantin Demin 2024-07-28 21:48:18 +03:00
parent d6ed977ae7
commit 4510d3d1f5
Signed by: krd
GPG Key ID: 4D56F87A8BA65FD0
2 changed files with 4 additions and 14 deletions

View File

@ -5,7 +5,7 @@ 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.4'
- &buildah_image 'quay.krd.sh/quay_io/containers/buildah:v1.36.0'
- &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'
@ -13,12 +13,6 @@ variables:
## ref: https://github.com/GoogleContainerTools/distroless#debian-12
- &target_platforms 'linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x'
## 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.1
## NB: ${variable} expressions are subject to pre-processing.
## ref: https://woodpecker-ci.org/docs/usage/environment
@ -36,12 +30,14 @@ steps:
- name: build-all
image: *go_image
environment:
GOPROXY: "${GOPROXY},direct"
GOSUMDB: "${GOSUMDB}"
GOPRIVATE: "${GOPRIVATE}"
GOMAXPROCS: "2"
MALLOC_ARENA_MAX: "4"
##
TARGET_PLATFORMS: *target_platforms
## these secrets are server-wide
secrets: [ GOPRIVATE, GOPROXY, GOSUMDB ]
commands:
- .ci/build-all.sh

View File

@ -7,12 +7,6 @@ variables:
- &ext_image_name 'docker.io/rockdrilla/woodpecker-sonatype-nexus'
- &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.1
## NB: ${variable} expressions are subject to pre-processing.
## ref: https://woodpecker-ci.org/docs/usage/environment