Commit graph

22 commits

Author SHA1 Message Date
Earl Warren
427c46dbf9
lib: remove RELEASE_NUMBERS_AND_DEV, use RELEASE_NUMBERS
In the lifecycle of vX.Y.Z, all tests are run against vX.Y-test
before it is published, including when the tag is pushed because the
automated release process now runs end-to-end before pushing the
release to forgejo-experimental.

Running end-to-end against vX.Y-dev is therefore redundant with at least
two other runs with exactly the same SHA (the one before the tag is
pushed and the one when the tag is pushed). There would be value in
doing that if it allowed to detect race conditions in Forgejo. But
such races were not found in the past six months and there is a lot
more scrutiny on commits merged in Forgejo which makes it even less
likely than it was before.

Running the tests on vX.Y instead of also including the built version
provide the same coverage and reduces the workload.
2024-08-08 17:46:04 +02:00
Earl Warren
6224249696
upgrade: test pprof against the two active stable releases 2024-08-07 11:49:17 +02:00
Earl Warren
944dd98727
test Gitea upgrades with v7.0 and v9.0
the upgrade path from Gitea v1.21 & v1.22 to v8.0 was tested before it
was published. The patch releases for v8.0 will only include bug fixes
and no database upgrades: they are the only kind of changes that could
cause a problem with upgrades.
2024-08-07 11:42:22 +02:00
Earl Warren
d872865242
test Forgejo upgrades starting with v7.0 instead of v1.21 2024-08-07 11:42:22 +02:00
Earl Warren
d5f66e4c0a
shfmt -w globally 2024-08-07 08:31:33 +02:00
Twenty Panda
c1ce4361b9 upgrades: add Gitea 1.22.0 & 1.21.11 to Forgejo 8.0-test 2024-06-22 12:42:19 +02:00
Earl Warren
b62866f3ae
lib: move forgejocli to the forgejo instance WORK_PATH
Instead of having it in $DIR so that there can be one forgejocli per
forgejo instance.
2024-06-04 15:29:00 +02:00
Earl Warren
4a19e9c90b
lib: get the base of WORK_PATH from app.ini
instead of hardcoding forgejo-work-path to be the base of WORK_PATH
relative to DIR, read it from the app.ini file. It will allow
multiple Forgejo instances to run simultaneously, each using a
different directory.
2024-06-04 12:00:42 +02:00
Earl Warren
c5a35b1ad5
fix(pprof): reset_forgejo before running it
it was working before because the previous tests did it. Now that it
is gone, it no longer worked because there was no app.ini.
2024-04-25 14:24:52 +02:00
Earl Warren
e80f12ace9
chore(cleanup): v1.20 is EOL, trim it 2024-04-25 14:24:50 +02:00
earl-warren
8260f4ac6f Merge pull request 'upgrades: gitea 1.21.10 -> forgejo 7.0.0' (#158) from earl-warren/end-to-end:wip-gitea-upgrade into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/158
2024-04-13 17:04:52 +00:00
Earl Warren
3bd723d6b8
upgrades: gitea 1.21.10 -> forgejo 7.0.0 2024-04-13 16:41:24 +02:00
thefox
9ca95cd19a add 7.0-test to pprof (#148)
Test backport of pprof to 7.0

Closes #143

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/148
Co-authored-by: thefox <thefox@noreply.code.forgejo.org>
Co-committed-by: thefox <thefox@noreply.code.forgejo.org>
2024-04-13 10:42:40 +00:00
TheFox0x7
4a82c559b9
run pprof test on test build 2024-04-02 20:15:57 +02:00
TheFox0x7
c00a5bfc9c
download profilecli 2024-04-01 19:25:11 +02:00
TheFox0x7
0b216e9851
actually add test to suite 2024-04-01 01:47:56 +02:00
TheFox0x7
5a5b461453
correct version to run against 2024-04-01 01:21:59 +02:00
TheFox0x7
fbe3c3c59c
add pprof test 2024-03-31 22:49:52 +02:00
Twenty Panda
96f91063c9 merge actions test into end-to-end.sh
* replace the high level test running actions tests with end-to-end.sh
* set DOMAIN to the IP instead of 127.0.0.1 for runner <-> forgejo communications
* move forgejo_cli from a function to a file so that it can be used by forgejo-runner.sh
* keep the documentation updates workflows separate because they need to open one PR per version
2024-03-20 13:42:44 +01:00
Twenty Panda
6bb5e947fb upgrades: run doctor check --all after each upgrade 2024-03-17 18:22:31 +01:00
Twenty Panda
21920b10d9 upgrades: add LFS assert 2024-03-17 18:22:22 +01:00
Twenty Panda
554d2b48c0 split storage & ugprade and separate fixtures 2024-03-17 17:56:03 +01:00