Earl Warren
f9e20e7770
actions: add automerge example
2024-05-27 20:57:40 +02:00
Earl Warren
f6da41ec8e
lib: retry git fetch a few times (take 2)
...
Wrap the failure in a if statement. Otherwise it will fail the first
time because the script runs under -e
2024-05-20 01:54:22 +02:00
Earl Warren
872e4632bf
lib: retry git fetch a few times
...
The instance hosting the forgejo repository may be down or very slow
while the build tries to fetch from it, retry a few times instead of
giving up immediately.
A total retry time of 3 * 60 seconds is probably sufficient since
Forgejo startup time is lower than this, even on large instances.
2024-05-19 09:16:55 +02:00
thefox
90e5b72123
Merge pull request 'logs: always prefix with the file name' ( #149 ) from earl-warren/end-to-end:wip-logs into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/149
Reviewed-by: thefox <thefox@noreply.code.forgejo.org>
2024-05-13 19:09:54 +00:00
Earl Warren
d9fc5cee11
fix(lib): explicitly set the page limit for releases
...
otherwise it is subject to limitations imposed by the server and as
the number of releases grow, the older ones will no longer be found.
2024-05-03 07:40:34 +01:00
Earl Warren
4bff22bc37
lib: sort releases in version order
...
If sorted in alphabetical order v1.21.11 will be lower than v1.21.8
2024-04-19 16:36:38 +02:00
Earl Warren
3bd723d6b8
upgrades: gitea 1.21.10 -> forgejo 7.0.0
2024-04-13 16:41:24 +02:00
Earl Warren
74294d14f0
logs: always prefix with the file name
...
otherwise it is difficult to figure out where the runner logs end and
where the forgejo logs start.
2024-04-13 12:09:41 +02:00
Earl Warren
05341f1ae0
Revert "temporarily skip 8.0-test"
...
This reverts commit 174cb37ac9
.
2024-04-07 07:45:05 +02:00
Earl Warren
174cb37ac9
temporarily skip 8.0-test
...
because 7.0-dev contains a migration that is ahead of 8.0 which should
not happen but does today because a PR was backported. The last one.
2024-04-06 16:15:12 +02:00
Earl Warren
4a6ed59cb6
logs: show logs, not just the .out files
2024-04-06 11:08:05 +02:00
Earl Warren
6be26d2a69
the forgejo development branch is now 8.0
2024-03-30 14:44:43 +01:00
Twenty Panda
02d263e212
lib: ORGANIZATIONS ordered list
...
they determine the order in which Forgejo binaries will be looked
up. It is moved to a file so it can be overriden to change the order.
2024-03-20 19:49:21 +01:00
earl-warren
b8c71e7201
Merge pull request 'merge actions test into end-to-end.sh' ( #112 ) from twenty-panda/end-to-end:wip-actions into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/112
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-03-20 13:18:28 +00: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
81eebc10d8
show the full logs in a separate step for forensic analysis
2024-03-17 21:19:13 +01:00
Twenty Panda
21920b10d9
upgrades: add LFS assert
2024-03-17 18:22:22 +01:00
Twenty Panda
51f7263dee
hide expected errors so they are not confused with actual errors
2024-03-17 17:56:03 +01:00
Twenty Panda
bf689a2478
refactor end-to-end.yml workflow to use a top-level end-to-end.sh
2024-03-17 16:27:35 +01:00
Twenty Panda
dd35a9f1a8
lib: import generic helpers from upgrades
2024-03-15 19:54:34 +07:00
Twenty Panda
8347d9e040
upgrades; move SUDO and verbosity control to lib
2024-03-15 13:17:01 +07:00
Earl Warren
74d11b5eaf
packages: add alpine test cases
2024-02-03 19:14:03 +01:00