remove forgejo test_env

This commit is contained in:
crystal 2023-11-25 17:37:24 -07:00
parent 7e75283801
commit 19d5c959f4
No known key found for this signature in database
GPG key ID: 1122054731F7CC43
2 changed files with 9 additions and 3 deletions

View file

@ -142,5 +142,11 @@ case "$1" in
killall forgejo
exit $?
;;
"forgejo-test-deps")
apt update
apt install --no-install-recommends -y git-lfs
adduser --quiet --comment forgejo --disabled-password forgejo
chown -R forgejo:forgejo .
;;
esac

View file

@ -6,7 +6,7 @@ when:
variables:
- &ci_verify_image 'sc.cryxtal.org/ci-img/git-curl-jq:latest'
- &golang_image 'golang:1.20-bullseye'
- &forgejo_test_image 'codeberg.org/forgejo/test_env:1.20'
- &forgejo_test_image 'docker.io/node:20-bookworm'
- &nodejs_image 'node:lts'
- &bin_dl_image 'sc.cryxtal.org/ci-img/bin-dl:latest'
- &deb_build_image 'sc.cryxtal.org/ci-img/dh:bullseye'
@ -111,13 +111,13 @@ steps:
image: *forgejo_test_image
group: checks
environment:
BUILD_SUBMODULE: *build_submodule
GOPROXY_OVERRIDE: *goproxy_override
secrets:
- goproxy_default
commands:
- *goproxy_setup
- ./.ci-make.sh submodule-make "$BUILD_SUBMODULE" checks-backend
- ./.ci-make.sh forgejo-test-deps
- su forgejo -c './.ci-make.sh submodule-make forgejo checks-backend'
download-bin-amd64:
image: *bin_dl_image