1
0

adjust ci
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Konstantin Demin 2024-07-28 21:32:58 +03:00
parent 5e5cd22273
commit 39fbac4f57
Signed by: krd
GPG Key ID: 4D56F87A8BA65FD0
2 changed files with 3 additions and 13 deletions

View File

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

View File

@ -7,12 +7,6 @@ variables:
- &ext_image_name 'docker.io/rockdrilla/rngpotd' - &ext_image_name 'docker.io/rockdrilla/rngpotd'
- &skopeo_image 'quay.krd.sh/quay_io/containers/skopeo:v1.15.2' - &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. ## NB: ${variable} expressions are subject to pre-processing.
## ref: https://woodpecker-ci.org/docs/usage/environment ## ref: https://woodpecker-ci.org/docs/usage/environment