forgejo.sh test for 1.21.0-0-rc0

This commit is contained in:
Earl Warren 2023-09-23 16:54:10 +02:00
parent db910eb6ef
commit 5e489b9595
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -1,9 +1,11 @@
on: on:
push: push:
paths: paths:
- forgejo.sh
- .forgejo/workflows/forgejo-sh.yml - .forgejo/workflows/forgejo-sh.yml
pull_request: pull_request:
paths: paths:
- forgejo.sh
- .forgejo/workflows/forgejo-sh.yml - .forgejo/workflows/forgejo-sh.yml
jobs: jobs:
@ -14,8 +16,12 @@ jobs:
- run: | - run: |
set -x set -x
./forgejo-dependencies.sh install_docker ./forgejo-dependencies.sh install_docker
for version in 1.19.4-0 1.20.3-0 ; do (
echo codeberg.org/forgejo/forgejo 1.19.4-0
echo codeberg.org/forgejo/forgejo 1.20.4-1
echo codeberg.org/forgejo-experimental/forgejo 1.21.0-0-rc0
) | while read url version ; do
echo "=========================== launching forgejo v$version ==========" echo "=========================== launching forgejo v$version =========="
./forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo $version ./forgejo.sh setup root admin1234 $url $version
./forgejo.sh teardown ./forgejo.sh teardown
done done