Commit graph

170 commits

Author SHA1 Message Date
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
Earl Warren
713a5d019d
example-artifacts must run in a single workflow
otherwise the status will be success before all status are actually
complete and create confusion
2023-10-04 21:20:02 +02:00
Earl Warren
15a46373fb
forgejo-runner.sh reload must wait for the daemon to stop 2023-10-04 21:20:02 +02:00
Earl Warren
65714b4555
better verbosity for integration tests 2023-10-04 21:20:02 +02:00
Earl Warren
eaecaaa2e6
run all tests for v1.21 in one go 2023-10-04 21:19:45 +02:00
earl-warren
3117f64380 Merge pull request 'upgrade runner 3.0.1' (#53) from earl-warren/setup-forgejo:wip-test-runner-act into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/53
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-10-04 15:44:49 +00:00
Earl Warren
78e5741fba
v3.0.0 and above have a different naming scheme 2023-10-04 17:04:00 +02:00
Earl Warren
96cc7b4991
default runner is v3.0.1 2023-10-04 16:54:14 +02:00
Earl Warren
2657043de5
upgrade tests to v1.21.0-2-rc0 2023-10-04 16:21:07 +02:00
Earl Warren
5cf6f35778
add tests for actions/checkout 2023-10-04 15:34:19 +02:00
Earl Warren
7f23c0bd5f
upgrade go v1.21.1 2023-10-04 15:33:35 +02:00
earl-warren
c2b00566d0 Merge pull request 'add example of artifact usage' (#51) from earl-warren/setup-forgejo:wip-artifacts into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/51
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-09-29 22:38:18 +00:00
Earl Warren
3b72d00aad
dedicated environment for the non-trivial tests 2023-09-30 00:30:06 +02:00
Earl Warren
64e3b2e23e
show all statuses on failure 2023-09-30 00:30:02 +02:00
Earl Warren
fdd4ccf4c3
use vars to control the jobs 2023-09-29 22:44:24 +02:00
Earl Warren
06709db2c5
use code.forgejo.org/oci as an OCI registry 2023-09-29 22:44:24 +02:00
Earl Warren
cafd1de763
cron will linger, give it an insolated run 2023-09-29 17:56:11 +02:00
Earl Warren
fc548f5117
add example of artifact usage 2023-09-29 16:35:59 +02:00
earl-warren
658c3ba60d Merge pull request 'example: pull-request events' (#50) from earl-warren/setup-forgejo:wip-pull-request into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/50
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-09-27 21:36:38 +00:00
Earl Warren
356d879c4d
example: pull-request events 2023-09-27 22:34:59 +02:00
earl-warren
a80989ce28 Merge pull request 'add example of cron task' (#49) from earl-warren/setup-forgejo:wip-cron into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/49
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-09-24 20:22:37 +00:00
Earl Warren
7e8c8064af
add example of cron task 2023-09-24 22:04:19 +02:00
earl-warren
b081450249 Merge pull request 'include forgejo-curl.sh' (#48) from earl-warren/setup-forgejo:wip-forgejo-curl into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/48
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-09-24 16:32:55 +00:00
Earl Warren
d25f704446
include forgejo-curl.sh 2023-09-24 18:16:04 +02:00
earl-warren
f93d932cf0 Merge pull request 'forgejo.sh test for 1.21.0-0-rc0' (#46) from earl-warren/setup-forgejo:wip-v1.21 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/46
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-09-23 19:07:23 +00:00
Earl Warren
5e489b9595
forgejo.sh test for 1.21.0-0-rc0 2023-09-23 17:00:36 +02:00
earl-warren
db910eb6ef Merge pull request 'add 'if' examples' (#45) from earl-warren/setup-forgejo:wip-if into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/45
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-09-02 15:13:45 +00:00
Earl Warren
aa61aec528
add 'if' examples 2023-09-02 17:03:55 +02:00
Earl Warren
0d8bc04d72
tests: support example workflows expected to fail 2023-09-02 16:53:35 +02:00
earl-warren
bc4139d0b1 Merge pull request 'upgrade to runner 2.5.0' (#44) from earl-warren/setup-forgejo:wip-test-runner-act into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/44
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-08-23 18:12:41 +00:00
Earl Warren
ba426d53f9
upgrade to runner v2.5.0 2023-08-23 16:55:07 +02:00
Earl Warren
197ed34d91
the current forgejo version is 1.20.3-0 2023-08-23 15:38:47 +02:00
dachary
a28c1aa9dc Merge pull request 'Upgrade default runner version to 2.4.0' (#42) from gmem/setup-forgejo:upgrade-runner-2.4.0 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/42
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-08-15 08:47:52 +00:00
dachary
13b596c720 Merge pull request 'Use Go 1.21, refactor Go setup function' (#41) from gmem/setup-forgejo:go-version-1.21 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/41
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-08-15 08:47:27 +00:00
Gabriel Simmer
f648227f28
Upgrade default runner version to 2.4.0 2023-08-15 09:36:05 +01:00
Gabriel Simmer
ca54077433
Use Go 1.21, refactor Go setup function 2023-08-14 18:02:29 +01:00
earl-warren
1045b2e3a3 Merge pull request 'add tests for 1.20.1-0 and make it the default' (#38) from earl-warren/setup-forgejo:wip-1.20 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/38
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-07-27 18:59:40 +00:00
Earl Warren
6f46ba7d49
add tests for 1.20.1-0 and make it the default 2023-07-27 20:51:40 +02:00
earl-warren
a716fb8639 Merge pull request 'jobs.<id>.service.<id>.ports is a noop' (#37) from earl-warren/setup-forgejo:wip-actions into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/37
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-07-14 06:31:58 +00:00