Commit graph

97 commits

Author SHA1 Message Date
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
username 5cdebe65db
actions/example-cron: verify the type of the event 2024-01-18 18:06:08 +00:00
Earl Warren 4879daf24a
update hacking instructions 2024-01-18 17:46:08 +00:00
earl-warren 6e3976b17c Merge pull request 'actions: add example-tag' (#67) from earl-warren/end-to-end:wip-event into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/67
2024-01-13 18:36:47 +00:00
Earl Warren 6236202f09
actions: CASCADE_DOCS_FORCE_VERSION can force generating a version 2024-01-13 18:21:50 +01:00
Earl Warren dcc61603a2
actions: add example-tag 2024-01-13 18:21:50 +01:00
earl-warren d1d87511f1 Merge pull request 'actions: push: paths' (#65) from earl-warren/end-to-end:wip-event into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/65
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-01-13 17:02:14 +00:00
Earl Warren f9e93647fb
update hacking instructions 2024-01-13 17:57:29 +01:00
Earl Warren 9222919990
actions: push: paths 2024-01-13 17:38:04 +01:00
earl-warren d3eb40ac8b Merge pull request 'actions: add example-push' (#64) from earl-warren/end-to-end:wip-event into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/64
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-01-13 16:19:18 +00:00
Earl Warren 465538429e
actions: add example-push 2024-01-12 17:15:47 +01:00
earl-warren 746826e3e6 Merge pull request 'actions: use volumes: instead of options:' (#63) from earl-warren/end-to-end:wip-context into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/63
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-01-10 21:04:28 +00:00