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

This commit is contained in:
gapodo 2022-12-07 20:28:38 +01:00
parent e23cef61e8
commit 462718b497

View file

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