Commit graph

31 commits

Author SHA1 Message Date
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 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
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 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 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 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
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 78027e672d
Forgejo v1.22 will actually be Forgejo v7.0 2024-02-28 17:38:31 +01:00
username 5cdebe65db
actions/example-cron: verify the type of the event 2024-01-18 18:06:08 +00:00
Earl Warren dcc61603a2
actions: add example-tag 2024-01-13 18:21:50 +01:00
Earl Warren 9222919990
actions: push: paths 2024-01-13 17:38:04 +01:00
Earl Warren 465538429e
actions: add example-push 2024-01-12 17:15:47 +01:00
Earl Warren b648c1cd50
actions: use volumes: instead of options:
for test coverage purposes
2024-01-10 21:38:05 +01:00
Earl Warren 3a47977c68
actions: context: add github. 2024-01-10 16:12:47 +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
Earl Warren 4768908489
actions: add context example 2024-01-05 23:17:38 +01:00
Earl Warren c5cccca38d
actions: service: upgrade node:20-bookworm 2024-01-05 19:37:32 +01:00
Earl Warren 66b125cffa
actions: container: upgrade alpine 3.19 2024-01-05 19:37:32 +01:00
Earl Warren b63144cb0d
always allow workflows to mount /srv/example
because it is generally useful to store informations about how the
workflow ran
2024-01-05 19:37:32 +01:00
username d772474759
actions/example-cron: branch creation must not impact the default 2023-12-26 10:06:52 +01:00
Earl Warren 8358ff2372
actions/example-pull-request: cleanup /srv/example-pull-request 2023-12-20 23:40:34 +01:00
Earl Warren 13283ea0c3
actions/example-cron: fix for local usage 2023-12-20 23:40:34 +01:00
Earl Warren 665da23a48
actions: rework to use binaries instead of docker images 2023-12-20 23:40:33 +01:00
username 600dee1abf
actions/example-pull-request: checkout gets the default branch 2023-11-08 16:04:35 +01:00
username ee4a08f2b5
actions/example-pull-request: move is-forked to its own step 2023-11-08 16:04:34 +01:00
Earl Warren 618c53c682
remove the hashFile() test that has always failed 2023-11-07 18:58:20 +01:00
Earl Warren 7ccbeb7a46
Fogejo Actions tests 2023-10-29 00:03:57 +02:00