From 462718b49736fd63ae058fa065e9e76fccdebe1c Mon Sep 17 00:00:00 2001 From: Gapodo Date: Wed, 7 Dec 2022 20:28:38 +0100 Subject: [PATCH] next try --- .woodpecker/release-version.yml | 63 +++++++++++++++++---------------- 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/.woodpecker/release-version.yml b/.woodpecker/release-version.yml index f8c2b911d1..e5d4b49184 100644 --- a/.woodpecker/release-version.yml +++ b/.woodpecker/release-version.yml @@ -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