parent
c6ae8be83b
commit
62fbe87a21
|
@ -53,6 +53,7 @@ steps:
|
||||||
|
|
||||||
ci-verify:
|
ci-verify:
|
||||||
image: *ci_verify_image
|
image: *ci_verify_image
|
||||||
|
group: deps
|
||||||
environment:
|
environment:
|
||||||
BUILD_SUBMODULE: *build_submodule
|
BUILD_SUBMODULE: *build_submodule
|
||||||
commands:
|
commands:
|
||||||
|
@ -60,6 +61,7 @@ steps:
|
||||||
|
|
||||||
deps-frontend:
|
deps-frontend:
|
||||||
image: *nodejs_image
|
image: *nodejs_image
|
||||||
|
group: deps
|
||||||
environment:
|
environment:
|
||||||
BUILD_SUBMODULE: *build_submodule
|
BUILD_SUBMODULE: *build_submodule
|
||||||
commands:
|
commands:
|
||||||
|
@ -67,6 +69,7 @@ steps:
|
||||||
|
|
||||||
deps-backend:
|
deps-backend:
|
||||||
image: *golang_image
|
image: *golang_image
|
||||||
|
group: deps
|
||||||
environment:
|
environment:
|
||||||
BUILD_SUBMODULE: *build_submodule
|
BUILD_SUBMODULE: *build_submodule
|
||||||
GOPROXY_OVERRIDE: *goproxy_override
|
GOPROXY_OVERRIDE: *goproxy_override
|
||||||
|
@ -86,6 +89,7 @@ steps:
|
||||||
|
|
||||||
security-check:
|
security-check:
|
||||||
image: *golang_image
|
image: *golang_image
|
||||||
|
group: checks
|
||||||
environment:
|
environment:
|
||||||
BUILD_SUBMODULE: *build_submodule
|
BUILD_SUBMODULE: *build_submodule
|
||||||
GOPROXY_OVERRIDE: *goproxy_override
|
GOPROXY_OVERRIDE: *goproxy_override
|
||||||
|
@ -97,6 +101,7 @@ steps:
|
||||||
|
|
||||||
build-frontend:
|
build-frontend:
|
||||||
image: *nodejs_image
|
image: *nodejs_image
|
||||||
|
group: checks
|
||||||
environment:
|
environment:
|
||||||
BUILD_SUBMODULE: *build_submodule
|
BUILD_SUBMODULE: *build_submodule
|
||||||
commands:
|
commands:
|
||||||
|
@ -104,6 +109,7 @@ steps:
|
||||||
|
|
||||||
checks-backend:
|
checks-backend:
|
||||||
image: *forgejo_test_image
|
image: *forgejo_test_image
|
||||||
|
group: checks
|
||||||
environment:
|
environment:
|
||||||
BUILD_SUBMODULE: *build_submodule
|
BUILD_SUBMODULE: *build_submodule
|
||||||
GOPROXY_OVERRIDE: *goproxy_override
|
GOPROXY_OVERRIDE: *goproxy_override
|
||||||
|
@ -115,6 +121,7 @@ steps:
|
||||||
|
|
||||||
download-bin-amd64:
|
download-bin-amd64:
|
||||||
image: *bin_dl_image
|
image: *bin_dl_image
|
||||||
|
group: build-main
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh download-binary forgejo-bin-dl
|
- ./.ci-make.sh download-binary forgejo-bin-dl
|
||||||
when:
|
when:
|
||||||
|
@ -122,6 +129,7 @@ steps:
|
||||||
|
|
||||||
build-forgejo-amd64:
|
build-forgejo-amd64:
|
||||||
image: *golang_image
|
image: *golang_image
|
||||||
|
group: build-main
|
||||||
environment:
|
environment:
|
||||||
BUILD_SUBMODULE: *build_submodule
|
BUILD_SUBMODULE: *build_submodule
|
||||||
GOSUMDB: sum.golang.org
|
GOSUMDB: sum.golang.org
|
||||||
|
@ -148,6 +156,7 @@ steps:
|
||||||
|
|
||||||
package-bullseye:
|
package-bullseye:
|
||||||
image: *deb_build_image
|
image: *deb_build_image
|
||||||
|
group: package
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh package-prep
|
- ./.ci-make.sh package-prep
|
||||||
- ./.ci-make.sh package-build
|
- ./.ci-make.sh package-build
|
||||||
|
@ -155,6 +164,7 @@ steps:
|
||||||
|
|
||||||
package-repo:
|
package-repo:
|
||||||
image: *deb_build_image
|
image: *deb_build_image
|
||||||
|
group: package
|
||||||
commands:
|
commands:
|
||||||
- cd repo-deb
|
- cd repo-deb
|
||||||
- ./build.sh
|
- ./build.sh
|
||||||
|
@ -167,57 +177,68 @@ steps:
|
||||||
|
|
||||||
test-inst-bookworm:
|
test-inst-bookworm:
|
||||||
image: *deb_test_image_bookworm
|
image: *deb_test_image_bookworm
|
||||||
|
group: pkg-test-1
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb
|
||||||
|
|
||||||
test-inst-bookworm-user:
|
test-inst-bookworm-user:
|
||||||
image: *deb_test_image_bookworm
|
image: *deb_test_image_bookworm
|
||||||
|
group: pkg-test-1
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh test-userinst-prep
|
- ./.ci-make.sh test-userinst-prep
|
||||||
- ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo_*_amd64.deb
|
||||||
|
|
||||||
test-inst-bullseye-sqlite:
|
test-inst-bullseye-sqlite:
|
||||||
image: *deb_test_image_bullseye
|
image: *deb_test_image_bullseye
|
||||||
|
group: pkg-test-1
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
||||||
|
|
||||||
test-inst-bookworm-sqlite:
|
test-inst-bookworm-sqlite:
|
||||||
image: *deb_test_image_bookworm
|
image: *deb_test_image_bookworm
|
||||||
|
group: pkg-test-1
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
||||||
|
|
||||||
test-inst-buster-sqlite:
|
test-inst-buster-sqlite:
|
||||||
image: *deb_test_image_buster
|
image: *deb_test_image_buster
|
||||||
|
group: pkg-test-2
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
||||||
|
|
||||||
test-inst-sid-sqlite:
|
test-inst-sid-sqlite:
|
||||||
image: *deb_test_image_sid
|
image: *deb_test_image_sid
|
||||||
|
group: pkg-test-2
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
||||||
|
|
||||||
test-inst-jammy-sqlite:
|
test-inst-jammy-sqlite:
|
||||||
image: *deb_test_image_jammy
|
image: *deb_test_image_jammy
|
||||||
|
group: pkg-test-2
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
||||||
|
|
||||||
test-inst-focal-sqlite:
|
test-inst-focal-sqlite:
|
||||||
image: *deb_test_image_focal
|
image: *deb_test_image_focal
|
||||||
|
group: pkg-test-2
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
||||||
|
|
||||||
test-inst-kinetic-sqlite:
|
test-inst-kinetic-sqlite:
|
||||||
image: *deb_test_image_kinetic
|
image: *deb_test_image_kinetic
|
||||||
|
group: pkg-test-3
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
||||||
|
|
||||||
test-inst-lunar-sqlite:
|
test-inst-lunar-sqlite:
|
||||||
image: *deb_test_image_lunar
|
image: *deb_test_image_lunar
|
||||||
|
group: pkg-test-3
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-sqlite_*_amd64.deb
|
||||||
|
|
||||||
test-inst-bullseye-bin:
|
test-inst-bullseye-bin:
|
||||||
image: *deb_test_image_bullseye
|
image: *deb_test_image_bullseye
|
||||||
|
group: pkg-test-3
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
when:
|
when:
|
||||||
|
@ -225,6 +246,7 @@ steps:
|
||||||
|
|
||||||
test-inst-bookworm-bin:
|
test-inst-bookworm-bin:
|
||||||
image: *deb_test_image_bookworm
|
image: *deb_test_image_bookworm
|
||||||
|
group: pkg-test-3
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
when:
|
when:
|
||||||
|
@ -232,6 +254,7 @@ steps:
|
||||||
|
|
||||||
test-inst-buster-bin:
|
test-inst-buster-bin:
|
||||||
image: *deb_test_image_buster
|
image: *deb_test_image_buster
|
||||||
|
group: pkg-test-4
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
when:
|
when:
|
||||||
|
@ -239,6 +262,7 @@ steps:
|
||||||
|
|
||||||
test-inst-sid-bin:
|
test-inst-sid-bin:
|
||||||
image: *deb_test_image_sid
|
image: *deb_test_image_sid
|
||||||
|
group: pkg-test-4
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
when:
|
when:
|
||||||
|
@ -246,6 +270,7 @@ steps:
|
||||||
|
|
||||||
test-inst-jammy-bin:
|
test-inst-jammy-bin:
|
||||||
image: *deb_test_image_jammy
|
image: *deb_test_image_jammy
|
||||||
|
group: pkg-test-4
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
when:
|
when:
|
||||||
|
@ -253,6 +278,7 @@ steps:
|
||||||
|
|
||||||
test-inst-focal-bin:
|
test-inst-focal-bin:
|
||||||
image: *deb_test_image_focal
|
image: *deb_test_image_focal
|
||||||
|
group: pkg-test-4
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
when:
|
when:
|
||||||
|
@ -260,6 +286,7 @@ steps:
|
||||||
|
|
||||||
test-inst-kinetic-bin:
|
test-inst-kinetic-bin:
|
||||||
image: *deb_test_image_kinetic
|
image: *deb_test_image_kinetic
|
||||||
|
group: pkg-test-5
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
when:
|
when:
|
||||||
|
@ -267,6 +294,7 @@ steps:
|
||||||
|
|
||||||
test-inst-lunar-bin:
|
test-inst-lunar-bin:
|
||||||
image: *deb_test_image_lunar
|
image: *deb_test_image_lunar
|
||||||
|
group: pkg-test-5
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
when:
|
when:
|
||||||
|
@ -274,11 +302,13 @@ steps:
|
||||||
|
|
||||||
test-repo-bookworm-sqlite:
|
test-repo-bookworm-sqlite:
|
||||||
image: *deb_test_image_bookworm
|
image: *deb_test_image_bookworm
|
||||||
|
group: pkg-test-5
|
||||||
commands:
|
commands:
|
||||||
- ./.ci-make.sh install-repo-test ./repo-deb/forgejo-deb-repo_0-0_all.deb forgejo-sqlite
|
- ./.ci-make.sh install-repo-test ./repo-deb/forgejo-deb-repo_0-0_all.deb forgejo-sqlite
|
||||||
|
|
||||||
upload-crystalcommit:
|
upload-crystalcommit:
|
||||||
image: woodpeckerci/plugin-gitea-release
|
image: woodpeckerci/plugin-gitea-release
|
||||||
|
group: upload
|
||||||
settings:
|
settings:
|
||||||
base_url: https://sc.cryxtal.org
|
base_url: https://sc.cryxtal.org
|
||||||
files:
|
files:
|
||||||
|
@ -293,6 +323,7 @@ steps:
|
||||||
|
|
||||||
upload-codeberg:
|
upload-codeberg:
|
||||||
image: woodpeckerci/plugin-gitea-release
|
image: woodpeckerci/plugin-gitea-release
|
||||||
|
group: upload
|
||||||
settings:
|
settings:
|
||||||
base_url: https://codeberg.org
|
base_url: https://codeberg.org
|
||||||
files:
|
files:
|
||||||
|
@ -307,6 +338,7 @@ steps:
|
||||||
|
|
||||||
publish-apt-repo:
|
publish-apt-repo:
|
||||||
image: *ci_verify_image
|
image: *ci_verify_image
|
||||||
|
group: upload
|
||||||
environment:
|
environment:
|
||||||
FORGEJO_SITE: https://code.forgejo.org
|
FORGEJO_SITE: https://code.forgejo.org
|
||||||
FORGEJO_OWNER: forgejo-contrib
|
FORGEJO_OWNER: forgejo-contrib
|
||||||
|
|
Loading…
Reference in a new issue