Forgejo v1.21 is EOL, v9.0 is dev

This commit is contained in:
Earl Warren 2024-08-07 09:12:09 +02:00
parent 47a6f7ee78
commit 50c5908a91
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
4 changed files with 3 additions and 7 deletions

View file

@ -88,7 +88,7 @@ function actions_runner_version() {
} }
function test_actions() { function test_actions() {
local versions="${1:-1.21 $RELEASE_NUMBERS_AND_DEV}" local versions="${1:-$RELEASE_NUMBERS_AND_DEV}"
for version in $versions; do for version in $versions; do

View file

@ -150,8 +150,6 @@ function fixture_avatars_assert_local() {
function fixture_repo_avatars_create() { function fixture_repo_avatars_create() {
echo -n $ONEPIXEL | base64 --decode >$DIR/repo-avatar.png echo -n $ONEPIXEL | base64 --decode >$DIR/repo-avatar.png
forgejo-curl.sh web --form avatar=@$DIR/repo-avatar.png http://${HOST_PORT}/${FORGEJO_USER}/${FORGEJO_REPO}/settings/avatar forgejo-curl.sh web --form avatar=@$DIR/repo-avatar.png http://${HOST_PORT}/${FORGEJO_USER}/${FORGEJO_REPO}/settings/avatar
# v1.21 only
#forgejo-curl.sh api_json -X POST --data-raw '{"body":"'$avatar'"}' http://${HOST_PORT}/api/v1/repos/${FORGEJO_USER}/${FORGEJO_REPO}/avatar
} }
function fixture_repo_avatars_assert_s3() { function fixture_repo_avatars_assert_s3() {

View file

@ -26,7 +26,7 @@ IP=$(hostname -I | cut -f1 -d' ')
# #
# Forgejo releases for which a branch exists (7.0/forgejo etc.) # Forgejo releases for which a branch exists (7.0/forgejo etc.)
# #
RELEASE_NUMBERS="7.0 8.0" RELEASE_NUMBERS="7.0 8.0 9.0"
PREFIX=============== PREFIX===============
export DIR=/tmp/forgejo-end-to-end export DIR=/tmp/forgejo-end-to-end

View file

@ -31,9 +31,7 @@ function test_storage_stable_s3() {
local work_path=$DIR/forgejo-work-path local work_path=$DIR/forgejo-work-path
local s3_backend=${1:-minio} local s3_backend=${1:-minio}
log_info "See also https://codeberg.org/forgejo/forgejo/issues/1338" for version in $RELEASE_NUMBERS_AND_DEV; do
for version in 1.21 $RELEASE_NUMBERS_AND_DEV; do
log_info "Forgejo $version & $s3_backend" log_info "Forgejo $version & $s3_backend"
stop stop
storage_reset stable-s3 storage_reset stable-s3