diff --git a/.ci-make.sh b/.ci-make.sh index 597be52..7c112bf 100755 --- a/.ci-make.sh +++ b/.ci-make.sh @@ -155,6 +155,13 @@ case "$1" in ln -sf /usr/lib/go-$DEP_GOLANG_VER/bin/go /usr/local/bin/go adduser --quiet --comment forgejo --disabled-password forgejo chown -R forgejo:forgejo . + if [ "$DEP_GOLANG_NODEB_REV" ];then + go install golang.org/dl/go$DEP_GOLANG_VER.$DEP_GOLANG_NODEB_REV@latest + ln -s ~/go/bin/go$DEP_GOLANG_VER.$DEP_GOLANG_NODEB_REV ~/go/bin/go + export PATH="$HOME/go/bin:$PATH" + go download + go version + fi ;; esac diff --git a/.crystalintegration.yml b/.crystalintegration.yml index 0821dab..1c51f51 100644 --- a/.crystalintegration.yml +++ b/.crystalintegration.yml @@ -20,6 +20,7 @@ variables: - &deb_test_image_mantic 'sc.cryxtal.org/ci-img/deb-test-ubuntu:mantic' - &deb_test_image_lunar 'sc.cryxtal.org/ci-img/deb-test-ubuntu:lunar' - &forgejo_test_golang_ver '1.21' + - &forgejo_test_golang_nodeb_rev '9' - &build_submodule 'forgejo' - &goproxy_override '' - &goproxy_setup |- @@ -112,6 +113,7 @@ steps: environment: GOPROXY_OVERRIDE: *goproxy_override DEP_GOLANG_VER: *forgejo_test_golang_ver + DEP_GOLANG_NODEB_REV: *forgejo_test_golang_nodeb_rev commands: - *goproxy_setup - ./.ci-make.sh forgejo-test-deps