2024-01-10 14:10:26 +11:00
|
|
|
labels:
|
|
|
|
platform: linux/amd64
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
when:
|
|
|
|
event: [ push, tag ]
|
|
|
|
|
|
|
|
variables:
|
|
|
|
- &ci_verify_image 'sc.cryxtal.org/ci-img/git-curl-jq:latest'
|
2024-01-10 12:00:21 +11:00
|
|
|
- &golang_image 'golang:1.21-bullseye'
|
2023-11-26 11:37:24 +11:00
|
|
|
- &forgejo_test_image 'docker.io/node:20-bookworm'
|
2024-01-10 12:00:21 +11:00
|
|
|
- &nodejs_image 'docker.io/node:20-bookworm'
|
2023-02-06 21:29:43 +11:00
|
|
|
- &bin_dl_image 'sc.cryxtal.org/ci-img/bin-dl:latest'
|
|
|
|
- &deb_build_image 'sc.cryxtal.org/ci-img/dh:bullseye'
|
2023-02-07 00:46:37 +11:00
|
|
|
- &deb_test_image_bullseye 'sc.cryxtal.org/ci-img/deb-test:bullseye'
|
2023-03-25 08:09:12 +11:00
|
|
|
- &deb_test_image_bookworm 'sc.cryxtal.org/ci-img/deb-test:bookworm'
|
2023-02-07 00:46:37 +11:00
|
|
|
- &deb_test_image_buster 'sc.cryxtal.org/ci-img/deb-test:buster'
|
|
|
|
- &deb_test_image_sid 'sc.cryxtal.org/ci-img/deb-test:sid'
|
|
|
|
- &deb_test_image_jammy 'sc.cryxtal.org/ci-img/deb-test-ubuntu:jammy'
|
|
|
|
- &deb_test_image_focal 'sc.cryxtal.org/ci-img/deb-test-ubuntu:focal'
|
2024-01-17 10:41:27 +11:00
|
|
|
- &deb_test_image_mantic 'sc.cryxtal.org/ci-img/deb-test-ubuntu:mantic'
|
2023-06-23 19:04:22 +10:00
|
|
|
- &deb_test_image_lunar 'sc.cryxtal.org/ci-img/deb-test-ubuntu:lunar'
|
2024-01-10 12:27:35 +11:00
|
|
|
- &forgejo_test_golang_ver '1.21'
|
2024-04-09 21:49:38 +10:00
|
|
|
- &forgejo_test_golang_nodeb_rev '9'
|
2023-02-06 21:29:43 +11:00
|
|
|
- &build_submodule 'forgejo'
|
|
|
|
- &goproxy_override ''
|
|
|
|
- &goproxy_setup |-
|
|
|
|
if [ -n "$${GOPROXY_OVERRIDE:-}" ]; then
|
|
|
|
export GOPROXY="$${GOPROXY_OVERRIDE}";
|
|
|
|
echo "Using goproxy from goproxy_override \"$${GOPROXY}\"";
|
|
|
|
elif [ -n "$${GOPROXY_DEFAULT:-}" ]; then
|
|
|
|
export GOPROXY="$${GOPROXY_DEFAULT}";
|
|
|
|
echo "Using goproxy from goproxy_default (secret) not displaying";
|
|
|
|
else
|
|
|
|
export GOPROXY="https://proxy.golang.org,direct";
|
|
|
|
echo "No goproxy overrides or defaults given, using \"$${GOPROXY}\"";
|
|
|
|
fi
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
path: src/cryxtal/forgejo-deb
|
|
|
|
|
|
|
|
clone:
|
2024-01-10 15:40:50 +11:00
|
|
|
git:
|
2023-02-06 21:29:43 +11:00
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
settings:
|
|
|
|
recursive: true
|
|
|
|
|
2023-08-23 00:52:55 +10:00
|
|
|
steps:
|
2023-02-06 21:29:43 +11:00
|
|
|
fetch-tags:
|
|
|
|
image: *ci_verify_image
|
|
|
|
pull: true
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- git config --add safe.directory '*'
|
|
|
|
- git fetch --tags --force
|
|
|
|
- git submodule foreach 'git fetch --tags --force'
|
2023-02-06 21:29:43 +11:00
|
|
|
|
2024-02-26 08:42:10 +11:00
|
|
|
git-push-codeberg:
|
|
|
|
image: *ci_verify_image
|
|
|
|
secrets: [ cb_git_auth ]
|
|
|
|
commands:
|
|
|
|
- git remote add codeberg https://$CB_GIT_AUTH@codeberg.org/forgejo-contrib/forgejo-deb
|
2024-03-24 04:27:13 +11:00
|
|
|
- if ( $(git rev-parse --is-shallow-repository) == "true" );then git fetch --unshallow origin ;fi
|
2024-02-26 08:42:10 +11:00
|
|
|
- git fetch codeberg
|
|
|
|
- git push codeberg --tags refs/remotes/origin/*:refs/heads/*
|
|
|
|
|
2023-02-06 21:29:43 +11:00
|
|
|
ci-verify:
|
|
|
|
image: *ci_verify_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: deps
|
2023-02-06 21:29:43 +11:00
|
|
|
environment:
|
|
|
|
BUILD_SUBMODULE: *build_submodule
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh ci-verify "$BUILD_SUBMODULE"
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
deps-frontend:
|
|
|
|
image: *nodejs_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: deps
|
2023-02-06 21:29:43 +11:00
|
|
|
environment:
|
|
|
|
BUILD_SUBMODULE: *build_submodule
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" deps-frontend
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
deps-backend:
|
|
|
|
image: *golang_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: deps
|
2023-02-06 21:29:43 +11:00
|
|
|
environment:
|
|
|
|
BUILD_SUBMODULE: *build_submodule
|
|
|
|
GOPROXY_OVERRIDE: *goproxy_override
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- *goproxy_setup
|
|
|
|
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" deps-backend
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
tag-pre-condition:
|
|
|
|
image: *ci_verify_image
|
|
|
|
environment:
|
|
|
|
BUILD_SUBMODULE: *build_submodule
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- cd "$BUILD_SUBMODULE"
|
|
|
|
- git update-ref refs/heads/tag_test $(git rev-parse --verify HEAD)
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
security-check:
|
|
|
|
image: *golang_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: checks
|
2023-02-06 21:29:43 +11:00
|
|
|
environment:
|
|
|
|
BUILD_SUBMODULE: *build_submodule
|
|
|
|
GOPROXY_OVERRIDE: *goproxy_override
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- *goproxy_setup
|
|
|
|
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" security-check
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
checks-backend:
|
|
|
|
image: *forgejo_test_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: checks
|
2023-02-06 21:29:43 +11:00
|
|
|
environment:
|
|
|
|
GOPROXY_OVERRIDE: *goproxy_override
|
2024-01-10 12:27:35 +11:00
|
|
|
DEP_GOLANG_VER: *forgejo_test_golang_ver
|
2024-04-09 21:49:38 +10:00
|
|
|
DEP_GOLANG_NODEB_REV: *forgejo_test_golang_nodeb_rev
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- *goproxy_setup
|
2023-11-26 11:37:24 +11:00
|
|
|
- ./.ci-make.sh forgejo-test-deps
|
|
|
|
- su forgejo -c './.ci-make.sh submodule-make forgejo checks-backend'
|
2023-11-26 12:16:52 +11:00
|
|
|
- chown -R root:root .
|
2023-02-06 21:29:43 +11:00
|
|
|
|
2023-11-26 12:22:07 +11:00
|
|
|
build-frontend:
|
|
|
|
image: *nodejs_image
|
|
|
|
group: pre-build
|
|
|
|
environment:
|
|
|
|
BUILD_SUBMODULE: *build_submodule
|
|
|
|
commands:
|
|
|
|
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" frontend
|
|
|
|
|
2023-02-06 21:29:43 +11:00
|
|
|
download-bin-amd64:
|
|
|
|
image: *bin_dl_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: build-main
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh download-binary forgejo-bin-dl
|
2023-02-06 21:29:43 +11:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
|
|
|
build-forgejo-amd64:
|
|
|
|
image: *golang_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: build-main
|
2023-02-06 21:29:43 +11:00
|
|
|
environment:
|
|
|
|
BUILD_SUBMODULE: *build_submodule
|
|
|
|
GOSUMDB: sum.golang.org
|
2024-04-19 14:40:17 +10:00
|
|
|
TAGS: bindata timetzdata
|
2023-02-06 21:29:43 +11:00
|
|
|
GOPROXY_OVERRIDE: *goproxy_override
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- *goproxy_setup
|
|
|
|
- ./.ci-make.sh submodule-build "$BUILD_SUBMODULE" forgejo-bin
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
build-forgejo-sqlite-amd64:
|
|
|
|
image: *golang_image
|
|
|
|
environment:
|
|
|
|
BUILD_SUBMODULE: *build_submodule
|
|
|
|
GOSUMDB: sum.golang.org
|
2024-04-19 14:40:17 +10:00
|
|
|
TAGS: bindata timetzdata sqlite sqlite_unlock_notify
|
2023-02-06 21:29:43 +11:00
|
|
|
GOPROXY_OVERRIDE: *goproxy_override
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- *goproxy_setup
|
|
|
|
- ./.ci-make.sh submodule-build "$BUILD_SUBMODULE" forgejo-sqlite-bin
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
package-bullseye:
|
|
|
|
image: *deb_build_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: package
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh package-prep
|
|
|
|
- ./.ci-make.sh package-build
|
|
|
|
- ./.ci-make.sh package-clean
|
2023-07-03 07:15:20 +10:00
|
|
|
|
|
|
|
package-repo:
|
|
|
|
image: *deb_build_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: package
|
2023-07-03 07:15:20 +10:00
|
|
|
commands:
|
|
|
|
- cd repo-deb
|
|
|
|
- ./build.sh
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
gen-sha256:
|
|
|
|
image: *ci_verify_image
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh pkg-gen-sha256
|
|
|
|
- ./.ci-make.sh preview-sha256
|
2023-02-06 21:29:43 +11:00
|
|
|
|
2023-07-03 03:23:39 +10:00
|
|
|
test-inst-bookworm:
|
|
|
|
image: *deb_test_image_bookworm
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-1
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
|
2023-07-03 03:23:39 +10:00
|
|
|
test-inst-bookworm-user:
|
|
|
|
image: *deb_test_image_bookworm
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-1
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh test-userinst-prep
|
|
|
|
- ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
test-inst-bullseye-sqlite:
|
|
|
|
image: *deb_test_image_bullseye
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-1
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
|
2023-03-25 08:09:12 +11:00
|
|
|
test-inst-bookworm-sqlite:
|
|
|
|
image: *deb_test_image_bookworm
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-1
|
2023-03-25 08:09:12 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
2023-03-25 08:09:12 +11:00
|
|
|
|
2023-02-06 21:29:43 +11:00
|
|
|
test-inst-buster-sqlite:
|
|
|
|
image: *deb_test_image_buster
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-2
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
test-inst-sid-sqlite:
|
|
|
|
image: *deb_test_image_sid
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-2
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
test-inst-jammy-sqlite:
|
|
|
|
image: *deb_test_image_jammy
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-2
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
test-inst-focal-sqlite:
|
|
|
|
image: *deb_test_image_focal
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-2
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
|
2024-01-17 10:41:27 +11:00
|
|
|
test-inst-mantic-sqlite:
|
|
|
|
image: *deb_test_image_mantic
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-3
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
|
2023-06-23 19:04:22 +10:00
|
|
|
test-inst-lunar-sqlite:
|
|
|
|
image: *deb_test_image_lunar
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-3
|
2023-06-23 19:04:22 +10:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
2023-06-23 19:04:22 +10:00
|
|
|
|
2023-02-06 21:29:43 +11:00
|
|
|
test-inst-bullseye-bin:
|
|
|
|
image: *deb_test_image_bullseye
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-3
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
2023-03-25 08:09:12 +11:00
|
|
|
test-inst-bookworm-bin:
|
|
|
|
image: *deb_test_image_bookworm
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-3
|
2023-03-25 08:09:12 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
2023-03-25 08:09:12 +11:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
2023-02-06 21:29:43 +11:00
|
|
|
test-inst-buster-bin:
|
|
|
|
image: *deb_test_image_buster
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-4
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
|
|
|
test-inst-sid-bin:
|
|
|
|
image: *deb_test_image_sid
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-4
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
|
|
|
test-inst-jammy-bin:
|
|
|
|
image: *deb_test_image_jammy
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-4
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
|
|
|
test-inst-focal-bin:
|
|
|
|
image: *deb_test_image_focal
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-4
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
2024-01-17 10:41:27 +11:00
|
|
|
test-inst-mantic-bin:
|
|
|
|
image: *deb_test_image_mantic
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-5
|
2023-06-23 19:04:22 +10:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
2023-06-23 19:04:22 +10:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
|
|
|
test-inst-lunar-bin:
|
|
|
|
image: *deb_test_image_lunar
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-5
|
2023-02-06 21:29:43 +11:00
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
2023-02-06 21:29:43 +11:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|
2023-07-03 07:46:48 +10:00
|
|
|
|
2023-07-25 18:43:08 +10:00
|
|
|
test-repo-bookworm-sqlite:
|
2023-07-03 07:46:48 +10:00
|
|
|
image: *deb_test_image_bookworm
|
2023-09-11 05:33:14 +10:00
|
|
|
group: pkg-test-5
|
2023-07-03 07:46:48 +10:00
|
|
|
commands:
|
2023-07-25 18:43:08 +10:00
|
|
|
- ./.ci-make.sh install-repo-test ./repo-deb/forgejo-deb-repo_0-0_all.deb forgejo-sqlite
|
2023-11-26 11:12:14 +11:00
|
|
|
- ./.ci-make.sh force-clean-forgejo
|
|
|
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
|
|
|
- ./.ci-make.sh verify-data-dir-chmod
|
2023-02-06 21:29:43 +11:00
|
|
|
|
|
|
|
upload-crystalcommit:
|
|
|
|
image: woodpeckerci/plugin-gitea-release
|
2023-09-11 05:33:14 +10:00
|
|
|
group: upload
|
2023-02-06 21:29:43 +11:00
|
|
|
settings:
|
|
|
|
base_url: https://sc.cryxtal.org
|
|
|
|
files:
|
|
|
|
- "*.deb"
|
|
|
|
- "*.deb.sha256"
|
|
|
|
api_key:
|
|
|
|
from_secret: sc_api_key
|
2023-07-25 15:24:53 +10:00
|
|
|
prerelease: false
|
2023-02-06 21:29:43 +11:00
|
|
|
skip_verify: true
|
|
|
|
when:
|
|
|
|
event: [ tag ]
|
|
|
|
|
|
|
|
upload-codeberg:
|
|
|
|
image: woodpeckerci/plugin-gitea-release
|
2023-09-11 05:33:14 +10:00
|
|
|
group: upload
|
2023-02-06 21:29:43 +11:00
|
|
|
settings:
|
|
|
|
base_url: https://codeberg.org
|
|
|
|
files:
|
|
|
|
- "*.deb"
|
|
|
|
- "*.deb.sha256"
|
|
|
|
api_key:
|
|
|
|
from_secret: cb_api_key
|
2023-07-25 15:24:53 +10:00
|
|
|
prerelease: false
|
2023-02-06 21:29:43 +11:00
|
|
|
skip_verify: true
|
|
|
|
when:
|
|
|
|
event: [ tag ]
|
2023-06-23 19:13:00 +10:00
|
|
|
|
|
|
|
publish-apt-repo:
|
|
|
|
image: *ci_verify_image
|
2023-09-11 05:33:14 +10:00
|
|
|
group: upload
|
2023-06-23 19:13:00 +10:00
|
|
|
environment:
|
|
|
|
FORGEJO_SITE: https://code.forgejo.org
|
2023-07-26 03:17:57 +10:00
|
|
|
FORGEJO_OWNER: forgejo-contrib
|
2023-07-03 03:24:16 +10:00
|
|
|
DEBIAN_DIST: bullseye
|
2023-07-03 15:36:05 +10:00
|
|
|
DEBIAN_COMPONENT: forgejo
|
2023-06-23 19:13:00 +10:00
|
|
|
secrets: [ cfo_api_key ]
|
|
|
|
commands:
|
2023-07-03 03:21:05 +10:00
|
|
|
- export FORGEJO_KEY=$CFO_API_KEY
|
|
|
|
- ./.ci-forgejo-apt.sh *.deb
|
2023-07-03 03:19:16 +10:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|