earl-warren
2374e25593
Merge pull request 'fix: attempt to avoid database timeouts due to locking' ( #295 ) from Kwonunn/end-to-end:avoid-db-timeout into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/295
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-10-21 06:40:25 +00:00
Kwonunn
3875197a1b
fix: attempt to avoid database timeouts due to locking
2024-10-17 11:48:22 +02:00
earl-warren
2db3b373bb
Merge pull request 'actions: logs-compression check depends on echo' ( #292 ) from earl-warren/end-to-end:wip-logs-compression into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/292
2024-10-15 12:05:19 +00:00
Earl Warren
f7d1900c5b
actions: logs-compression check depends on echo
...
There is no guarantee that a test will not reset the actions logs from a
previous test. Since logs-compression depends on the logs from the
echo test, make that dependency explicit.
2024-10-15 13:02:02 +02:00
earl-warren
800cfcc0a8
Merge pull request 'Add test for schedule not being cancelled' ( #289 ) from Kwonunn/end-to-end:schedule-noncancel-test into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/289
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-10-14 05:46:12 +00:00
Kwonunn
222313181f
Add schedule-noncancel test to 9.0 suite
2024-10-13 13:57:07 +02:00
Kwonunn
c3eb8918b4
implement waiting based on a file
2024-10-13 12:45:19 +02:00
Kwonunn
631055d190
rewrite schedule cancelling test
2024-10-12 15:11:22 +02:00
Kwonunn
f48fa02916
WIP: Add test for schedule not being cancelled
2024-10-09 15:50:17 +02:00
earl-warren
54f810c1df
Merge pull request 'README: update local testing instructions' ( #288 ) from earl-warren/end-to-end:wip-readme into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/288
2024-10-06 15:30:39 +00:00
Earl Warren
294ca18400
README: update local testing instructions
2024-10-06 06:22:58 +02:00
earl-warren
09819336a1
Merge pull request 'v10.0 development cycle started' ( #282 ) from earl-warren/end-to-end:wip-10.0 into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/282
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-09-25 15:16:48 +00:00
Earl Warren
94289bc80d
v10.0 development cycle started
2024-09-25 14:12:49 +02:00
earl-warren
26eefbf61b
Merge pull request 'lib: reduce GitLab noise' ( #267 ) from limiting-factor/end-to-end:wip-noise into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/267
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-09-02 10:20:13 +00:00
limiting-factor
1f2f98fb21
lib: reduce GitLab noise
...
The absence of the test-gitlab container will display
Error response from daemon: No such container: test-gitlab
which can be mistaken as an actual error where in fact it should be
ignored.
2024-09-02 11:45:26 +02:00
earl-warren
4df9a89f4e
Merge pull request 'tests: upgrade setup-forgejo to v2.0.2' ( #258 ) from earl-warren/end-to-end:wip-explicit-version into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/258
2024-08-26 06:47:28 +00:00
Earl Warren
427d9ed267
tests: upgrade setup-forgejo to v2.0.2
2024-08-24 08:23:23 +02:00
earl-warren
d3bce65195
Merge pull request 'actions: feature: compression: do not hardcode the log path' ( #259 ) from earl-warren/end-to-end:wip-compression into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/259
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-08-23 15:30:37 +00:00
Earl Warren
75503c5396
actions: feature: compression: do not hardcode the log path
...
The log path depends on the previous actions run and may not always
be 01/1.log.zst. Assuming it is makes this test fragile as it is
influenced by which previous tests are run and what they do.
2024-08-23 16:53:03 +02:00
earl-warren
812385a18c
Merge pull request 'actions: verify the log compression feature' ( #246 ) from earl-warren/end-to-end:wip-actions-log into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/246
2024-08-15 05:15:36 +00:00
Earl Warren
8636471d63
actions: verify the log compression feature
...
If running Forgejo >= v9.0, verify the logs are compressed by default
2024-08-11 16:47:14 +02:00
earl-warren
5ad828b7a2
Merge pull request 'lib: source build replace the matching release' ( #239 ) from earl-warren/end-to-end:wip-optimize into main
...
Reviewed-on: https://code.forgejo.org///forgejo/end-to-end/pulls/239
2024-08-08 16:09:23 +00:00
Earl Warren
149c6a545c
lib: source build replace the matching release
...
Instead of having an explicit vX.Y-dev version to be referenced
explicitly, a binary built from source replaces the matching
version. For instance, if forgejo/build-from-sources contains v9.0,
* the development branch is compiled from source
* the v9.0 artifact is uploaded
* prior to running any test, the artificat is downloaded and used
* the v9.0 binary is not downloaded from
forgejo/experimental/integration because it is already present
The vX.Y release is built daily and the end-to-end tests run on it. If
a regression is introduced, it will be spotted within 24h.
Compiling from source is used when the Forgejo runs the end-to-end
suite on a specific pull request.
2024-08-08 17:46:04 +02:00
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
996373c707
Merge pull request 'Forgejo v1.21 is EOL & add v9.0' ( #238 ) from earl-warren/end-to-end:wip-9.0 into main
...
Reviewed-on: https://code.forgejo.org///forgejo/end-to-end/pulls/238
2024-08-08 14:37:12 +00:00
Earl Warren
6224249696
upgrade: test pprof against the two active stable releases
2024-08-07 11:49:17 +02:00
Earl Warren
0f4173555f
forgejo: fix sources Gitea compatibility
...
It is cosmetic, keep it accurate.
2024-08-07 11:42:22 +02:00
Earl Warren
af9305b221
README: link to v7.0 documentation instead of v1.21
2024-08-07 11:42:22 +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
497a5d76bb
actions: trim v1.20 & v1.21 specific comment
2024-08-07 11:42:22 +02:00
Earl Warren
f46d01885f
packages: alpine: verify supported versions
...
v8.0-dev should be supported too but it is not LTS: only care for
9.0-dev which is not different for Alpine.
2024-08-07 11:42:22 +02:00
Earl Warren
50c5908a91
Forgejo v1.21 is EOL, v9.0 is dev
2024-08-07 11:42:22 +02:00
earl-warren
47a6f7ee78
Merge pull request 'shfmt -w globally' ( #237 ) from earl-warren/end-to-end:wip-shfmt into main
...
Reviewed-on: https://code.forgejo.org///forgejo/end-to-end/pulls/237
Reviewed-by: thefox <thefox@noreply.code.forgejo.org>
2024-08-07 08:20:51 +00:00
Earl Warren
d5f66e4c0a
shfmt -w globally
2024-08-07 08:31:33 +02:00
earl-warren
4e207414d4
Merge pull request 'forgejo: add 9.0' ( #225 ) from earl-warren/end-to-end:wip-9.0 into main
...
Reviewed-on: https://code.forgejo.org///forgejo/end-to-end/pulls/225
2024-07-18 08:43:08 +00:00
Earl Warren
2bc5c804ef
forgejo: add 9.0
2024-07-18 08:41:26 +02:00
earl-warren
de08b8c0f5
Merge pull request 'federation: wait for the asynchronous star to land' ( #223 ) from earl-warren/end-to-end:wip-federation into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/223
2024-07-08 08:17:50 +00:00
Earl Warren
ad5790b566
federation: wait for the asynchronous star to land
...
The check races with the propagation of the star from one forge to the
other. It must wait for it to land instead.
2024-07-08 08:29:20 +02:00
earl-warren
631262b3b9
Merge pull request 'actions: add an example for workflow-dispatch' ( #220 ) from earl-warren/end-to-end:wip-workflow-dispatch into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/220
2024-07-05 10:21:59 +00:00
Earl Warren
05a341e201
actions: add an example for workflow-dispatch
...
/repos/{owner}/{repo}/actions/workflows/{workflowname}/dispatches
* fails if the required inputs are not provided
* sets defaults to inputs that are not provided
The type of inputs are only used for building the web UI interface,
not for validation. All values are strings.
2024-07-05 07:16:35 +02:00
Earl Warren
64489247aa
actions: run in development mode for debug purposes
2024-07-04 20:15:10 +02:00
earl-warren
63df181d7a
Merge pull request 'Revert "actions: use Forgejo runner v3.5.0"' ( #218 ) from earl-warren/end-to-end:wip-runner into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/218
2024-07-02 19:26:50 +00:00
Earl Warren
87df9095b9
Revert "actions: use Forgejo runner v3.5.0"
...
Do not force the runner version, use whatever default setup-forgejo
provides.
Forcing the version will break the cascading-pr workflow. It will
attempt to download a version that does not exist instead of building
it from sources.
This reverts commit dca3641cf3
.
2024-07-02 20:54:27 +02:00
earl-warren
ec9543a6b6
Merge pull request 'lib: enable ActivityPub in GitLab' ( #215 ) from twenty-panda/end-to-end:wip-gitlab into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/215
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-06-29 09:29:02 +00:00
Twenty Panda
b43cfb6e0c
cleanup(gitlab): move hardcoded strings to variables [skip ci]
2024-06-25 18:55:19 +02:00
earl-warren
e4fa6d814f
Merge pull request 'lib: start & stop GitLab' ( #207 ) from twenty-panda/end-to-end:wip-gitlab into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/207
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-06-23 08:26:40 +00:00
earl-warren
148b7ca98c
Merge pull request 'test: make it easier to comment out tests' ( #209 ) from twenty-panda/end-to-end:wip-test into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/209
2024-06-23 08:26:01 +00:00
earl-warren
d99352c80e
Merge pull request 'test: upgrade actions/cache@v4' ( #208 ) from twenty-panda/end-to-end:wip-cache into main
...
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/208
2024-06-23 08:25:43 +00:00
Twenty Panda
76ac081fb9
lib: start & stop GitLab
...
The image is saved to disk and cached because it is over 1GB, to save bandwidthc.
2024-06-23 09:16:25 +02:00