Commit graph

137 commits

Author SHA1 Message Date
earl-warren 56110cffcc Merge pull request 'logs: show logs, not just the .out files' (#147) from earl-warren/end-to-end:wip-logs into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/147
2024-04-06 09:58:04 +00:00
Earl Warren 4a6ed59cb6
logs: show logs, not just the .out files 2024-04-06 11:08:05 +02:00
earl-warren 922508d1b5 Merge pull request 'Revert "actions: workaround for possible 404 transient bug on artifacts"' (#145) from earl-warren/end-to-end:wip-fixes into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/145
2024-04-06 07:11:17 +00:00
Earl Warren e3a6e1fd8a
Revert "actions: workaround for possible 404 transient bug on artifacts"
Refs: https://code.forgejo.org/forgejo/end-to-end/issues/144

This reverts commit 191976a836.
2024-04-05 05:24:04 +02:00
earl-warren 4f34b12bb2 Merge pull request 'add pprof upload test' (#141) from thefox/end-to-end:pprof_upload_test into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/141
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-04-02 18:54:52 +00:00
TheFox0x7 4a82c559b9
run pprof test on test build 2024-04-02 20:15:57 +02:00
earl-warren dd768c648e Merge pull request 'actions: workaround for possible 404 transient bug on artifacts' (#142) from earl-warren/end-to-end:wip-artifacts into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/142
2024-04-02 09:43:11 +00:00
Earl Warren 191976a836
actions: workaround for possible 404 transient bug on artifacts
Refs: https://codeberg.org/forgejo/forgejo/issues/2949
2024-04-02 07:40:08 +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
earl-warren 9a1a91333e Merge pull request 'the forgejo development branch is now 8.0' (#139) from earl-warren/end-to-end:wip-8.0 into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/139
2024-03-30 14:26:15 +00:00
Earl Warren 6be26d2a69
the forgejo development branch is now 8.0 2024-03-30 14:44:43 +01:00
earl-warren 0afc6ee868 Merge pull request 'various minor fixes' (#134) from earl-warren/end-to-end:wip-fixes into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/134
2024-03-26 16:48:36 +00:00
Earl Warren cd377ddbad
actions: push-cancel: fix typo 2024-03-26 09:21:32 +01:00
Earl Warren d8673b8c0b
actions: pull-request: squash main/setup functions 2024-03-26 08:35:16 +01:00
Earl Warren 36456ee74f
actions: pull-request: assert the existence of contexts
and not the existence of tokens
2024-03-26 08:31:26 +01:00
earl-warren 8b6609ac4b Merge pull request 'tests: the development branch requires go 1.22 to build' (#131) from earl-warren/end-to-end:wip-go-1.22 into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/131
2024-03-25 18:09:32 +00:00
Earl Warren f3ec6704ba
tests: the development branch requires go 1.22 to build 2024-03-25 18:26:07 +01:00
earl-warren d69a12b4af Merge pull request 'actions: services: cover the case when no container is specified' (#127) from earl-warren/end-to-end:wip-regression into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/127
2024-03-24 11:03:25 +00:00
Earl Warren be033071a4
actions: services: cover the case when no container is specified
When the container for running the steps is specificied, it is setup
differently than when it is implicit. This test adds coverage for both
instead of running all examples with an explicitly specified container
image.
2024-03-24 10:51:02 +01:00
earl-warren 4f3e03b917 Merge pull request 'actions: Forgejo 7.0 is equivalent to 7.0-test and run artifacts v4' (#124) from earl-warren/end-to-end:wip-artifacts-v4 into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/124
2024-03-21 17:02:05 +00:00
Earl Warren 13f18f9f47
actions: Forgejo 7.0 is equivalent to 7.0-test and run artifacts v4 2024-03-21 17:16:05 +01:00
Earl Warren a9a46b7b7d
actions: display the runner version 2024-03-21 15:34:38 +01:00
earl-warren 73ef53dce5 Merge pull request 'actions: test {upload,download}-artifacts@v4 support' (#121) from earl-warren/end-to-end:wip-artifacts-v4 into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/121
2024-03-21 14:16:04 +00:00
Earl Warren e1fd4cbc0f
actions: test {upload,download}-artifacts@v4 support
If Forgejo version is >= 7.0 and Forgejo runner > 3.3.0 artifacts@v4
are tested to work with a forked modified version that claims to be
compatible.
2024-03-21 14:25:28 +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 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
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
earl-warren 8c9d1ff068 Merge pull request 'versions must be strings' (#113) from twenty-panda/end-to-end:wip-actions into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/113
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-03-20 14:37:57 +00: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
earl-warren ee1b082c3f Merge pull request 'Add E2E test for Alpine package with noarch architecture' (#110) from twenty-panda/end-to-end:wip-alpine into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/110
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-03-17 20:46:14 +00: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 b563e5cd19 packages: Add E2E test for Alpine package with noarch
Refs: https://code.forgejo.org/forgejo/end-to-end/pulls/75
2024-03-17 21:08:13 +01:00
earl-warren 5bb5e037ce Merge pull request 'add editorconfig to help with Forgejo space display' (#92) from earl-warren/end-to-end:wip-editorconfig into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/92
2024-03-17 19:04:35 +00:00
earl-warren 8034186267 Merge pull request 'split tests into upgrades, storages and packages' (#108) from twenty-panda/end-to-end:wip-versions into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/108
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-03-17 18:21:25 +00: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 51f7263dee hide expected errors so they are not confused with actual errors 2024-03-17 17:56:03 +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
earl-warren 62f75aa56f Merge pull request 'unify packages & upgrades' (#107) from twenty-panda/end-to-end:wip-lib into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/107
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-03-15 13:15:00 +00:00
Twenty Panda 2bb546d366 upgrades: run on LXC to allow for running docker 2024-03-15 19:54:34 +07:00
Twenty Panda f321bf5d5e upgrades: test_successful_upgrades must stop lingering Forgejo 2024-03-15 19:54:34 +07:00