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 killall forgejo
exit $? 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 esac

View file

@ -6,7 +6,7 @@ when:
variables: variables:
- &ci_verify_image 'sc.cryxtal.org/ci-img/git-curl-jq:latest' - &ci_verify_image 'sc.cryxtal.org/ci-img/git-curl-jq:latest'
- &golang_image 'golang:1.20-bullseye' - &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' - &nodejs_image 'node:lts'
- &bin_dl_image 'sc.cryxtal.org/ci-img/bin-dl:latest' - &bin_dl_image 'sc.cryxtal.org/ci-img/bin-dl:latest'
- &deb_build_image 'sc.cryxtal.org/ci-img/dh:bullseye' - &deb_build_image 'sc.cryxtal.org/ci-img/dh:bullseye'
@ -111,13 +111,13 @@ steps:
image: *forgejo_test_image image: *forgejo_test_image
group: checks group: checks
environment: environment:
BUILD_SUBMODULE: *build_submodule
GOPROXY_OVERRIDE: *goproxy_override GOPROXY_OVERRIDE: *goproxy_override
secrets: secrets:
- goproxy_default - goproxy_default
commands: commands:
- *goproxy_setup - *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: download-bin-amd64:
image: *bin_dl_image image: *bin_dl_image