Commit graph

258 commits

Author SHA1 Message Date
Earl Warren
13e4980952
as of runner 3.1.0 self-hosted is no longer implicitly lxc 2023-11-09 16:03:53 +01:00
Earl Warren
4e7e5d2dd5
use the latest go version 1.21.4 2023-11-09 16:02:08 +01:00
Earl Warren
11e55d29d0
test with Forgejo 1.21.0-7-rc2 2023-11-09 16:01:56 +01:00
Earl Warren
daaa7f064d
default runner is v3.1.0 2023-11-09 16:00:33 +01:00
earl-warren
36311a582a Merge pull request 'docs: sudo scope is obsolete, remove it' (#92) from earl-warren/setup-forgejo:wip-cascade-end-to-end into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/92
2023-11-08 16:43:45 +00:00
Earl Warren
f6d72d6565
docs: sudo scope is obsolete, remove it 2023-11-08 17:27:26 +01:00
Earl Warren
44e227e7b3
no need to checkout when cascading 2023-11-08 17:23:18 +01:00
Earl Warren
4f1763752a
end-to-end user is replaced with the cascading-pr user 2023-11-07 17:35:16 +01:00
Earl Warren
a7894236f5
no need for access to secrets in integration-nested 2023-11-05 15:27:34 +01:00
Earl Warren
4359f14f18
checkout the branch 2023-11-04 17:49:00 +01:00
Earl Warren
1535c75993
install the runner in /usr/local/bin
* when downloaded
* when built from sources
2023-11-04 17:48:23 +01:00
earl-warren
dede81c801 Merge pull request 'upgrade tests to 1.21.0-6-rc2' (#78) from earl-warren/setup-forgejo:wip-experimental-test into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/78
2023-11-03 23:54:50 +00:00
earl-warren
8c3c90b5cf Merge pull request 'cascading-pr from https://code.forgejo.org/forgejo/forgejo-curl/pulls/5' (#79) from cascading-pr/setup-forgejo:forgejo/forgejo-curl-5 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/79
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2023-11-03 23:54:32 +00:00
cascading-pr
f9010a64e9 cascading-pr update 2023-11-03 23:12:32 +00:00
Earl Warren
bcd7ec07cd
upgrade tests to 1.21.0-6-rc2 2023-11-01 18:56:07 +01:00
Earl Warren
e306c53760
open the cascade PR in a forked repository 2023-11-01 17:41:42 +01:00
earl-warren
f1d828841c Merge pull request 'the HACKING section moved to end-to-end' (#77) from earl-warren/setup-forgejo:wip-cascade-end-to-end into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/77
2023-10-29 17:09:49 +00:00
Earl Warren
6884521975 the HACKING section moved to end-to-end 2023-10-29 16:09:59 +00:00
Earl Warren
f695aa51ff
end-to-end is in the forgejo organization 2023-10-29 17:06:52 +01:00
earl-warren
6e64c34d26 Merge pull request 'cascade end-to-end' (#76) from earl-warren/setup-forgejo:wip-cascade-end-to-end into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/76
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-29 15:57:49 +00:00
Earl Warren
7c1b8121f7
cascade end-to-end 2023-10-29 16:53:14 +01:00
Earl Warren
688d28fa41
there are no secrets, pull_request is ok 2023-10-29 00:52:53 +02:00
earl-warren
93c25a145c Merge pull request 'integration tests moved to end-to-end' (#75) from earl-warren/setup-forgejo:wip-end-to-end into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/75
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-28 22:51:10 +00:00
Earl Warren
34d0f8d26e
integration tests moved to end-to-end 2023-10-29 00:37:25 +02:00
earl-warren
a521fd2935 Merge pull request 'implement install-only' (#74) from earl-warren/setup-forgejo:wip-install-only into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/74
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-28 21:58:29 +00:00
Earl Warren
434114e8f1
implement install-only 2023-10-28 23:47:47 +02:00
Earl Warren
a580cb63b6
only run CI on main or v* branches + pull_request_target 2023-10-15 17:59:57 +02:00
earl-warren
63eec0e8f3 Merge pull request 'automatically build from source if the version is @branch' (#66) from earl-warren/setup-forgejo:wip-version into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/66
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-15 14:28:21 +00:00
Earl Warren
40950130a5
automatically build from source if the version is @branch 2023-10-14 23:22:19 +02:00
earl-warren
0e868f6735 Merge pull request 'error if trying to push a self action that has uncommitted changes' (#64) from earl-warren/setup-forgejo:wip-diff-self-ache into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/64
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-12 16:26:00 +00:00
Earl Warren
8744b5c5cf
error if trying to push a self action that has uncommitted changes
otherwise it will not push these changes and this is not what is
intended during development
2023-10-12 16:03:16 +02:00
earl-warren
6821c1eaf7 Merge pull request 'cleanup the runner cache when uploading self action' (#63) from earl-warren/setup-forgejo:wip-runner-cache into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/63
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-12 14:01:41 +00:00
Earl Warren
87d8b85700
cleanup the runner cache when uploading self action
if the cache is not cleared, the action that was just uploaded
with the latest changes won't be used, the cached version will.
2023-10-12 15:47:32 +02:00
earl-warren
9774672bc7 Merge pull request 'set the queue types to immediate' (#61) from earl-warren/setup-forgejo:wip-immediate into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/61
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-11 17:14:19 +00:00
earl-warren
5f4cd47bff Merge pull request 'forgejo.sh test cover 1.21.0-3-rc0 & 1.20.5-0' (#62) from earl-warren/setup-forgejo:wip-experimental-test into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/62
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-11 17:14:03 +00:00
Earl Warren
e1fd9cabc8
forgejo.sh test cover 1.21.0-3-rc0 & 1.20.5-0 2023-10-11 18:45:44 +02:00
dachary
96bb506e92 Merge pull request 'upgrade tests to 1.21.0-3-rc0' (#60) from earl-warren/setup-forgejo:wip-experimental-test into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/60
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-11 16:42:42 +00:00
Earl Warren
9e6e1c679b
set the queue types to immediate
Similar to what is done in the configuration of integration tests, it
helps reduce asynchronous events that require retries and increase
delays.
2023-10-11 18:40:44 +02:00
Earl Warren
89763b9572
upgrade tests to 1.21.0-3-rc0 2023-10-11 18:31:18 +02:00
earl-warren
3085b274f0 Merge pull request 'make forgejo-runner.sh run out of the source directory' (#59) from earl-warren/setup-forgejo:wip-runner-config into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/59
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-11 16:29:38 +00:00
Earl Warren
a2d04e1ca5
make forgejo-runner.sh run out of the source directory
it needs to find the default config file
2023-10-11 15:44:25 +02:00
earl-warren
37e5096b0d Merge pull request 'example-push-cancel: test that pushing to a branch cancels workflows' (#57) from earl-warren/setup-forgejo:wip-example-cancel into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/57
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-07 22:28:02 +00:00
Earl Warren
7243566bce
example-service: only one workflow to avoid breakage 2023-10-08 00:15:32 +02:00
Earl Warren
fccbd1ce6b
example-push-cancel: test that pushing to a branch cancels workflows 2023-10-08 00:07:05 +02:00
Earl Warren
44400632c5
document variable controlled debug loop 2023-10-07 23:39:35 +02:00
Earl Warren
0fc67c08f7
example-checkout: only one workflow to avoid breakage
aggregated statuses are confusing
2023-10-07 23:39:35 +02:00
Earl Warren
7b5b59d821
do not rely on a hacky way to obtain the sha of the branch 2023-10-07 23:39:35 +02:00
earl-warren
179856df25 Merge pull request 'restore workflows accidentally removed' (#56) from earl-warren/setup-forgejo:wip-tests into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/56
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-07 15:36:22 +00:00
Earl Warren
48958da231
restore workflows accidentally removed
resurected from https://code.forgejo.org/actions/setup-forgejo/pulls/54/files
2023-10-06 07:45:13 +02:00
earl-warren
15a24e808e Merge pull request 'fix transient errors in tests' (#54) from earl-warren/setup-forgejo:wip-artifacts into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/54
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-04 19:33:24 +00:00