Commit graph

45 commits

Author SHA1 Message Date
Earl Warren
77e6412295
fix(actions): documentation update matrix needs prepare_dockerd
It runs all actions tests to collect artefacts relevant to the
documentation and has the same dependencies as running the actions
tests in a pull request.
2024-11-27 10:26:17 +00:00
Earl Warren
33749f5a5e
actions: runner [container].docker_host variations
* automount
* "" or "-"
* unix:///var/run/docker.sock
* tcp://127.0.0.1:2375
2024-11-27 09:33:08 +00:00
Renovate Bot
4f84eefa62
Update actions/setup-go action to v5 2024-11-21 13:01:22 +00:00
Earl Warren
33f3e7eb65
fix: update the docs branches
Closes forgejo/end-to-end#188
2024-11-10 12:09:05 +01: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
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
Earl Warren
9b6442bfcf
federation: stub that checks the nodeinfo of the two instances 2024-06-04 16:38:32 +02:00
Earl Warren
f3ec6704ba
tests: the development branch requires go 1.22 to build 2024-03-25 18:26:07 +01:00
earl-warren
c461ace62b Merge pull request 'lib: ORGANIZATIONS ordered list' (#118) from twenty-panda/end-to-end:wip-actions into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/118
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-03-20 19:14:52 +00:00
Twenty Panda
4e517fb4df outputs do not cross local actions 2024-03-20 19:44:15 +01:00
Twenty Panda
f4c266f6b2 actions: add step to show logs 2024-03-20 19:44:00 +01:00
Earl Warren
dd5d55f032
upgrade to cascading-pr@v2.1
Closes: https://code.forgejo.org/forgejo/end-to-end/issues/114
2024-03-20 16:53:29 +01:00
Twenty Panda
473c9820c9 versions must be strings 2024-03-20 14:54:17 +01:00
Twenty Panda
8d8994f7ea always cache minio & garage binaries
they are sometime very slow to download and it does not help to do it
five times for each workflow
2024-03-20 14:54:17 +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
554d2b48c0 split storage & ugprade and separate fixtures 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
2bb546d366 upgrades: run on LXC to allow for running docker 2024-03-15 19:54:34 +07:00
Twenty Panda
8f0f6537c6 upgrades: use setup-forgejo as a helper to setup docker & user 2024-03-15 19:54:34 +07:00
Twenty Panda
9ff495254a packages: simplify the setup to use the same as upgrades
the packages tests control which Forgejo version they run against so
they can test a feature on version X+1 and not on version X
2024-03-15 19:54:34 +07:00
earl-warren
cff067a118 Merge pull request 'Forgejo v1.22 will actually be Forgejo v7.0' (#91) from earl-warren/end-to-end:wip-alpine into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/91
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-02-28 17:07:43 +00:00
Earl Warren
78027e672d
Forgejo v1.22 will actually be Forgejo v7.0 2024-02-28 17:38:31 +01:00
Earl Warren
0f6708163f
packages: support vars.VERBOSE to see what's happening
and debug false positives
2024-02-28 17:09:44 +01:00
Earl Warren
9daf947453
tests: set the name of the packages jobs
actions is a copy/paste from the action workflow and packages is
better.

It also solves a name clash problem as the commit status is based on
the job name.
2024-02-27 17:15:05 +01:00
Earl Warren
74d11b5eaf
packages: add alpine test cases 2024-02-03 19:14:03 +01:00
Earl Warren
6236202f09
actions: CASCADE_DOCS_FORCE_VERSION can force generating a version 2024-01-13 18:21:50 +01:00
Earl Warren
9d4becce06
docs: enable updates 2024-01-10 16:05:41 +01:00
Earl Warren
793c91b254
event cascading-prs need branches built out of the version
each version for which events are collected need a different branch in
the destination repository because they will open pull requests for
each of the versions.
2024-01-09 21:44:00 +01:00
Earl Warren
cb4932192a
documentation updates is half done, disable it for now 2024-01-08 00:43:26 +01:00
Earl Warren
921ed6f481
actions: update the documentation with context examples 2024-01-08 00:07:40 +01:00
Earl Warren
f0570182b8
do not hardcode the full version 2024-01-07 18:45:15 +01:00
username
d772474759
actions/example-cron: branch creation must not impact the default 2023-12-26 10:06:52 +01:00
Earl Warren
665da23a48
actions: rework to use binaries instead of docker images 2023-12-20 23:40:33 +01:00
username
0766584f6c
Forgejo v1.21 was published, used the latest point release for testing 2023-11-27 19:41:46 +01:00
Earl Warren
0e258265c9
upgrade v1.21.0-7-rc2 2023-11-08 14:25:29 +01:00
Earl Warren
8fbb5b0e0f
run tests on pull requests 2023-11-01 17:44:53 +01:00
Earl Warren
7ccbeb7a46
Fogejo Actions tests 2023-10-29 00:03:57 +02:00
Earl Warren
aa967be51a
trigger on push 2023-10-27 00:46:22 +02:00
Earl Warren
4201713606
build from sources 2023-10-26 23:39:08 +02:00
Earl Warren
6c5da9ae9c
install gettext-base 2023-10-26 21:31:06 +02:00
Earl Warren
4dcb75f7fe
install dependencies 2023-10-26 21:27:04 +02:00
Earl Warren
9fe0f95dbf
only run on main 2023-10-26 21:25:59 +02:00
Earl Warren
df5e49fbc1
import from forgejo 2023-10-26 21:21:20 +02:00