Commit graph

108 commits

Author SHA1 Message Date
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 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
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
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
Twenty Panda bf6ece0f52 README: v7.0.0-test is known as v7.0-test 2024-03-15 13:15:54 +07:00
Twenty Panda 3ead37ed37 upgrades: use the host IP instead of 0.0.0.0
otherwise it cannot be used when running from a LXC/docker container
2024-03-15 12:37:17 +07:00
earl-warren e0c4025af5 Merge pull request 'upgrades: remove ad-hoc code and use forgejo-curl.sh instead' (#106) from twenty-panda/end-to-end:wip-forgejo-curl into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/106
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-03-15 03:48:19 +00:00
Twenty Panda f4d0c03302 upgrades: remove ad-hoc code and use forgejo-curl.sh instead 2024-03-15 10:21:58 +07:00
earl-warren d7e067b418 Merge pull request 'run upgrades on the development version' (#103) from twenty-panda/end-to-end:wip-cidr into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/103
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-03-14 10:11:17 +00:00
Twenty Panda b011f038aa upgrades: split v1.20 & database v3 tests in separate files 2024-03-14 16:51:34 +07:00
Twenty Panda be86fe2e44 upgrade: RELEASE_NUMBERS is a variable with all known releases
the development branch is not build for v1.21 & v1.20 because they
pre-date the hard fork and near EOL
2024-03-14 16:51:34 +07:00
Twenty Panda aa83694fd7 upgrades: leftovers in the avatars storage is not important, ignore 2024-03-14 16:51:34 +07:00
Twenty Panda dcab318b4a upgrades: prefix the logs with the filename for debugging 2024-03-14 16:51:34 +07:00
Twenty Panda 8bc234e82f upgrades: verify S3 storage works on v1.21 & v7.0 2024-03-14 16:51:34 +07:00
Twenty Panda 1546793d0a upgrades: verify storage settings on the latest v1.21 & v7.0 2024-03-14 16:51:34 +07:00
Twenty Panda bc55c01cc6 upgrades: the X.Y version is equivalent to the latest patch release 2024-03-14 16:51:34 +07:00
Twenty Panda 4dc1068027 upgrade: fix the version number
FORGEJO_VERSION=$semver must be set for make backend
2024-03-14 16:51:34 +07:00
Twenty Panda 77b08e6e33 upgrades: fix path to test-upgrade.sh 2024-03-14 16:51:34 +07:00
Twenty Panda 67dcb074ea use CIDR in insecure-registries example 2024-03-14 16:51:34 +07:00
Earl Warren f1fa7c581f
add editorconfig to help with Forgejo space display 2024-02-28 18:49:46 +01: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 d885c84bbe Merge pull request 'tests: set the name of the packages jobs' (#88) from earl-warren/end-to-end:wip-event into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/88
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-02-27 22:17:40 +00: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 fa28ae8fbd Merge pull request 'packages: add alpine test cases' (#71) from earl-warren/end-to-end:wip-packages into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/71
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-02-26 09:01:41 +00:00
Earl Warren 985388b5b6
README: explain why setup-forgejo is needed for local debug 2024-02-26 09:13:26 +01:00
Earl Warren 74d11b5eaf
packages: add alpine test cases 2024-02-03 19:14:03 +01:00
earl-warren d825dac67e Merge pull request 'actions/example-cron: verify the type of the event' (#70) from earl-warren/end-to-end:wip-cron into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/70
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-01-18 18:28:26 +00:00