Commit graph

267 commits

Author SHA1 Message Date
earl-warren
380e74ca1f Merge pull request 'Update code.forgejo.org/oci/alpine Docker tag to v3.20' (#230) from renovate/minor-3.20-alpine-packages into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/230
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-24 11:31:11 +00:00
earl-warren
faec73efd3 Merge pull request 'Replace actions/cascading-pr action with actions/cascading-pr v1.0.1' (#248) from renovate/actions-cascading-pr-replacement into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/248
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-21 10:52:55 +00: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
b9fbc13867
Update code.forgejo.org/oci/alpine Docker tag to v3.20 2024-12-09 09:31:47 +00:00
earl-warren
a9085d880c Merge pull request 'Update actions/checkout action to v4' (#220) from renovate/actions-checkout-4.x into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/220
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-08 07:41:03 +00:00
Renovate Bot
d571b3c234
Update actions/checkout action to v4 2024-12-07 14:01:14 +00:00
Michael Kriese
dbe62fdc04 Merge pull request 'Update dependency forgejo-lxc to v12' (#223) from renovate/forgejo-lxc-12.x into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/223
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-07 13:42:12 +00:00
earl-warren
25ac7375c8 Merge pull request 'fix: missing runner labels' (#221) from feat/additional-runner-labels into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/221
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2024-12-07 08:39:46 +00:00
Renovate Bot
65b9b05cdb
Update dependency forgejo-lxc to v12 2024-12-06 17:11:41 +00:00
Michael Kriese
73dd2153fd
feat: additional runner labels 2024-12-06 18:05:18 +01:00
earl-warren
44a618a78f Merge pull request 'upgrade the default runner to 5.0.3' (#206) from earl-warren/setup-forgejo:wip-runner into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/206
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-27 10:19:26 +00:00
Earl Warren
65e0adf345
upgrade the default runner to 5.0.3 2024-11-27 09:50:55 +00:00
Michael Kriese
3a25b33a01 Merge pull request 'Configure Renovate' (#198) from renovate/configure into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/198
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2024-11-22 09:11:58 +00:00
Renovate Bot
520bba980d
Add renovate.json 2024-11-20 13:31:15 +00:00
earl-warren
b8db1b1dd4 Merge pull request 'upgrade the default runner to 3.5.1' (#145) from earl-warren/setup-forgejo:wip-runner into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/145
2024-08-24 05:53:29 +00:00
Earl Warren
815fd6cae5
upgrade the default runner to 3.5.1 2024-08-23 23:33:22 +02:00
earl-warren
86a6b71996 Merge pull request 'upgrade the default runner to 3.5.0' (#130) from earl-warren/setup-forgejo:wip-runner into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/130
2024-07-05 17:39:17 +00:00
Earl Warren
6607c6d8a5
upgrade the default runner to 3.5.0 2024-07-02 20:58:19 +02:00
earl-warren
9e77470959 Merge pull request 'upgrade the default runner to 3.4.1' (#124) from earl-warren/setup-forgejo:wip-runner-config into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/124
2024-03-24 15:58:50 +00:00
Earl Warren
2fb5bf5c1d
upgrade the default runner to 3.4.1 2024-03-24 13:59:21 +01:00
earl-warren
db41d64409 Merge pull request 'upgrade the default runner to 3.4.0' (#122) from earl-warren/setup-forgejo:wip-runner-config into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/122
2024-03-21 20:16:50 +00:00
Earl Warren
5077c2181f
upgrade the default runner to 3.4.0 2024-03-21 16:46:45 +01: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
5ff43f6662 Merge pull request 'do not display confusing error message if logs do not exist' (#115) from earl-warren/setup-forgejo:wip-verbose into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/115
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-02-08 10:38:55 +00:00
Earl Warren
82ae462c78
do not display confusing error message if logs do not exist
it is expected but the user does not know that and will incorrectly
think it is an error
2024-02-08 10:55:50 +01:00
earl-warren
9511dbeb90 Merge pull request 'forgejo app.ini ENABLE_PUSH_CREATE_ORG = true' (#114) from earl-warren/setup-forgejo:wip-org into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/114
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2024-02-06 20:52:36 +00:00
Earl Warren
403c7e3253
forgejo app.ini ENABLE_PUSH_CREATE_ORG = true 2024-02-06 18:09:02 +01:00
Earl Warren
9fcc5f5d46
apt-get update before installing 2023-12-29 16:46:31 +01:00
Earl Warren
c14cb08fbf
forgejo-runner: use the installed binary to display the version 2023-12-21 15:07:14 +01:00
earl-warren
46df17e2c6 Merge pull request 'document the difference between v1 and v2' (#111) from earl-warren/setup-forgejo:wip-readme into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/111
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-12-21 13:49:21 +00:00
Earl Warren
c260ee4301
document the difference between v1 and v2 2023-12-20 23:26:18 +01:00
earl-warren
0720d52456 Merge pull request 'forgejo-runner needs an IP, not localhost for the artifacts server' (#110) from earl-warren/setup-forgejo:wip-cleanup into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/110
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-12-20 21:47:49 +00:00
Earl Warren
05385ad75e
do not override the DOT variable from forgejo-curl.sh 2023-12-20 22:24:48 +01:00
Earl Warren
65957effd9
avoid confusing message about non error during teardown 2023-12-20 22:24:23 +01:00
Earl Warren
b51343081a
forgejo-runner needs an IP, not localhost for the artifacts server 2023-12-20 22:22:58 +01:00
Earl Warren
418489ad4f
no longer use /usr/local/bin 2023-12-20 22:22:14 +01:00
Earl Warren
f147de9c79
use the same directory for teardown and setup 2023-12-19 18:38:38 +01:00
Earl Warren
bfec7083d7
remove redundant removal of logs 2023-12-19 18:24:28 +01:00
Earl Warren
372b23108c
re-use forgejo-url 2023-12-19 18:07:00 +01:00
Earl Warren
82e6d3ec27
adduser --gecos is universal not --comment 2023-12-19 18:06:45 +01:00
earl-warren
c7106eb215 Merge pull request 'forgejo-binary.sh instead of always running from OCI' (#108) from earl-warren/setup-forgejo:wip-binary into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/108
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-12-19 15:53:37 +00: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
b2ce91a593
use alpine image instead of the heavier default for testing 2023-12-17 23:32:21 +01:00
Earl Warren
c18ce57fad
forgejo-binary runs forgejo from binary instead of OCI 2023-12-17 23:32:21 +01:00
Earl Warren
0dee755317
ensure all files are created in a designated directory
for backward compatibility DIR defaults to $(pwd)

also create the additional convenience files:

* forgejocli
* forgejo-url
* forgejo-auth-url which includes the user and password
2023-12-17 22:24:51 +01:00
Earl Warren
02ca9d26bf
.forgejo/workflows/forgejo.sh is deadcode 2023-12-17 22:24:51 +01:00
Earl Warren
03cebf0f41
forgejo-runner-lib.sh -> forgejo-lib.sh
take stop_daemon from forgejo-runner.sh
take retry from forgejo.sh
2023-12-17 22:24:50 +01:00
Earl Warren
9d5363f5f7
upgrade tests to use node:20-bookworm instead of node:16-buster 2023-12-17 16:53:51 +01:00
earl-warren
c4b783e8cb Merge pull request 'upgrade runner v3.3.0 and add IPv6 tests' (#107) from cascading-pr/setup-forgejo:forgejo/runner-129 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/107
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
2023-12-04 18:58:48 +00:00