docs: managing legacy tests and cutting branches
This commit is contained in:
parent
449890d712
commit
456dab5002
1 changed files with 12 additions and 2 deletions
14
README.md
14
README.md
|
@ -3,13 +3,23 @@
|
||||||
A series of tests scenarios and assertions covering
|
A series of tests scenarios and assertions covering
|
||||||
[Forgejo](https://codeberg.org/forgejo/forgejo) and the [Forgejo
|
[Forgejo](https://codeberg.org/forgejo/forgejo) and the [Forgejo
|
||||||
runner](https://code.forgejo.org/forgejo/runner). They partially rely
|
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
|
specifically for testing such as
|
||||||
[setup-forgejo](https://code.forgejo.org/actions/setup-forgejo).
|
[setup-forgejo](https://code.forgejo.org/actions/setup-forgejo).
|
||||||
|
|
||||||
They are designed to run using Forgejo releases and development
|
They are designed to run using Forgejo releases and development
|
||||||
versions compiled from designated repositories.
|
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
|
# Hacking
|
||||||
|
|
||||||
docker and sudo must be installed with insecure registries allowed in
|
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
|
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
|
## Running actions locally
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue