next try
ci/woodpecker/tag/compliance-and-tests Pipeline was successful Details
ci/woodpecker/tag/release-version Pipeline failed Details

minimal-dockerfile
gapodo 2022-12-07 20:28:38 +01:00
parent e23cef61e8
commit 462718b497
1 changed files with 33 additions and 30 deletions

View File

@ -30,37 +30,37 @@ pipeline:
- git config --add safe.directory '*'
- git fetch --tags --force
deps-frontend:
image: *node_image
pull: true
commands:
- make deps-frontend
# deps-frontend:
# image: *node_image
# pull: true
# commands:
# - make deps-frontend
deps-backend:
image: *golang_image
pull: true
commands:
- test "$${GOPROXY_OVERRIDE-}" != "" && export GOPROXY="$${GOPROXY_OVERRIDE}"
- make deps-backend
secrets:
- goproxy_override
# deps-backend:
# image: *golang_image
# pull: true
# commands:
# - test "$${GOPROXY_OVERRIDE-}" != "" && export GOPROXY="$${GOPROXY_OVERRIDE}"
# - make deps-backend
# secrets:
# - goproxy_override
build-static:
image: *xgo_image
pull: true
commands:
- test "$${GOPROXY_OVERRIDE-}" != "" && export GOPROXY="$${GOPROXY_OVERRIDE}"
- echo "installing nodejs"
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get -qqy install nodejs
- export PATH=$PATH:$GOPATH/bin
- echo "building forgejo"
- make CI=true LINUX_ARCHS=$${LINUX_ARCHS} release
environment:
TAGS: bindata sqlite sqlite_unlock_notify
DEBIAN_FRONTEND: noninteractive
LINUX_ARCHS: *make_platforms
secrets:
- goproxy_override
# build-static:
# image: *xgo_image
# pull: true
# commands:
# - test "$${GOPROXY_OVERRIDE-}" != "" && export GOPROXY="$${GOPROXY_OVERRIDE}"
# - echo "installing nodejs"
# - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get -qqy install nodejs
# - export PATH=$PATH:$GOPATH/bin
# - echo "building forgejo"
# - make CI=true LINUX_ARCHS=$${LINUX_ARCHS} release
# environment:
# TAGS: bindata sqlite sqlite_unlock_notify
# DEBIAN_FRONTEND: noninteractive
# LINUX_ARCHS: *make_platforms
# secrets:
# - goproxy_override
# gpg-sign:
# image: *gpgsign_plugin_image
@ -97,6 +97,10 @@ pipeline:
image: *golang_image
pull: true
commands:
- ls -la /
- mkdir -p /source/dist/release
- touch /source/dist/release/forgejo-${CI_COMMIT_TAG##v}-linux-arm64
- touch /source/dist/release/forgejo-${CI_COMMIT_TAG##v}-linux-amd64
- ls -la ./*
build-docker:
@ -115,7 +119,6 @@ pipeline:
build_args:
- TAG=${CI_COMMIT_TAG##v}
build_args_from_env:
- CI_COMMIT_TAG
- CI_REPO_CLONE_URL
password:
from_secret: releaseteamtoken