1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2025-03-14 22:27:01 +01:00
Commit graph

78 commits

Author SHA1 Message Date
limiting-factor
38dde0ea52
chore(renovate): normalize versions as a preliminary step (#317)
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/317
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: limiting-factor <limiting-factor@posteo.com>
Co-committed-by: limiting-factor <limiting-factor@posteo.com>
2025-02-27 18:08:35 +00:00
limiting-factor
844047d85d
fix: use code.forgejo.org by default instead of codeberg.org (#316)
It is more reliable.

Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/316
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: limiting-factor <limiting-factor@posteo.com>
Co-committed-by: limiting-factor <limiting-factor@posteo.com>
2025-02-22 15:42:53 +00:00
Earl Warren
e08f3910d3
chore(ci): skip cascade if [skip cascade] is found in the PR title (#313)
## Testing

This is a copy/paste of an existing pull request verified to work
https://code.forgejo.org/forgejo/runner/pulls/476

## Description

When there are multiple PRs in flight, using a var to disable the
cascading PR that eventually runs the end to end tests (for instance
because the change is about examples) is error prone.

Allowing each pull request to indivudually decide when it is relevant
or not is more practical and fine grain.

Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/313
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-01-30 21:12:40 +00:00
Michael Kriese
834d6ebe2a
ci: proper matrix job names (#310)
show better job names for easier targeting in branch protections

Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/310
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2025-01-30 12:27:19 +00:00
Earl Warren
4608e81deb
fix: example uses code.forgejo.org/oci
Otherwise it may get rate limited in the CI verifying it works
2025-01-15 12:36:05 +01:00
Renovate Bot
6b5fb23d0b
Replace actions/cascading-pr action with actions/cascading-pr v1.0.1 2024-12-18 00:00:47 +00:00
Renovate Bot
d571b3c234
Update actions/checkout action to v4 2024-12-07 14:01:14 +00:00
Renovate Bot
65b9b05cdb
Update dependency forgejo-lxc to v12 2024-12-06 17:11:41 +00:00
Earl Warren
fe36af9367
cascade: end-to-end usage of setup-forgejo moved to another workflow 2024-03-21 06:19:03 +01:00
Earl Warren
418489ad4f
no longer use /usr/local/bin 2023-12-20 22:22:14 +01:00
Earl Warren
6b89f49230
also test v1.20 binary 2023-12-17 23:35:54 +01:00
Earl Warren
6b431ecf9b
add nested test for action.yml binary support 2023-12-17 23:32:55 +01:00
Earl Warren
c18ce57fad
forgejo-binary runs forgejo from binary instead of OCI 2023-12-17 23:32:21 +01:00
Earl Warren
02ca9d26bf
.forgejo/workflows/forgejo.sh is deadcode 2023-12-17 22:24:51 +01:00
Earl Warren
875414b617
IPv6 tests 2023-12-04 18:06:06 +01:00
Earl Warren
e84be18f37
do not cascade if the CASCADE variable is no 2023-11-10 19:10:33 +01:00
Earl Warren
11e55d29d0
test with Forgejo 1.21.0-7-rc2 2023-11-09 16:01:56 +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
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
f695aa51ff
end-to-end is in the forgejo organization 2023-10-29 17:06:52 +01: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
34d0f8d26e
integration tests moved to end-to-end 2023-10-29 00:37:25 +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
40950130a5
automatically build from source if the version is @branch 2023-10-14 23:22:19 +02: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
Earl Warren
89763b9572
upgrade tests to 1.21.0-3-rc0 2023-10-11 18:31:18 +02:00
Earl Warren
44400632c5
document variable controlled debug loop 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
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
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
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
3b72d00aad
dedicated environment for the non-trivial tests 2023-09-30 00:30:06 +02:00
Earl Warren
fdd4ccf4c3
use vars to control the jobs 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
356d879c4d
example: pull-request events 2023-09-27 22:34:59 +02:00
Earl Warren
7e8c8064af
add example of cron task 2023-09-24 22:04:19 +02:00
Earl Warren
d25f704446
include forgejo-curl.sh 2023-09-24 18:16:04 +02:00
Earl Warren
5e489b9595
forgejo.sh test for 1.21.0-0-rc0 2023-09-23 17:00:36 +02:00
Earl Warren
0d8bc04d72
tests: support example workflows expected to fail 2023-09-02 16:53:35 +02:00
Earl Warren
197ed34d91
the current forgejo version is 1.20.3-0 2023-08-23 15:38:47 +02: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
4fcf694434
add the docker-action example & test
Refs: https://code.forgejo.org/forgejo/runner/issues/49
2023-07-12 14:35:56 +02:00
Earl Warren
d986bc3b3d
verify volume restrictions are enforced 2023-07-08 15:58:42 +02:00