From 456dab50024af4a47217776f84e0ea015b489583 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 25 Apr 2024 12:38:58 +0200 Subject: [PATCH] docs: managing legacy tests and cutting branches --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2b409da..39644c6 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,23 @@ A series of tests scenarios and assertions covering [Forgejo](https://codeberg.org/forgejo/forgejo) and the [Forgejo runner](https://code.forgejo.org/forgejo/runner). They partially rely -on [Forgejo actions](https://code.forgejo.org/actions) developped +on [Forgejo actions](https://code.forgejo.org/actions) developed specifically for testing such as [setup-forgejo](https://code.forgejo.org/actions/setup-forgejo). They are designed to run using Forgejo releases and development versions compiled from designated repositories. +# Removing legacy tests + +End to end tests cover the supported range of releases and when one of +them is EOL, it must be removed as well as the tests that target it +specifically. Otherwise the test suite would grow indefinitely. + +When a release is EOL, a branch is cut with a name following the +pattern `legacy/vX.Y-vA.B`. For instance when `v8.0` is published and +`v1.21` is EOL, the branch `legacy/v8.0-v1.21` is cut. + # Hacking docker and sudo must be installed with insecure registries allowed in @@ -46,7 +56,7 @@ make TAGS='bindata sqlite sqlite_unlock_notify' generate forgejo cp -a forgejo /srv/forgejo-binaries/forgejo-7.0-dev ``` -It will be used whenver the version `7.0-dev` is specified in a test. +It will be used whenever the version `7.0-dev` is specified in a test. ## Running actions locally