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