Commit graph

204 commits

Author SHA1 Message Date
Earl Warren
05c2b60cc5
helper to compile from source 2023-04-05 16:45:41 +02:00
Earl Warren
e97991ef78
do not try to install the runner if it already available 2023-04-05 16:45:30 +02:00
earl-warren
f66ab11375 Merge pull request 'use the runner binary instead of building from source' (#8) from earl-warren/setup-forgejo:wip-use-binary into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/8
2023-04-04 13:06:42 +00:00
Earl Warren
ae0922ec64
use the runner binary instead of building from source 2023-04-04 15:00:54 +02:00
Earl Warren
9b17c14d9d
forgejo helper does not copy .git
it will create a new git repo from scratch
2023-04-03 09:07:46 +02:00
Earl Warren
22ff5f4704
add api function to the forgejo helper 2023-04-02 16:02:16 +02:00
Earl Warren
3d6675b7ba
no need to check the token unless there is an action 2023-04-02 15:30:29 +02:00
Earl Warren
0600dc375d
rename forgejo forgejo-dependencies.sh for clarity 2023-04-01 18:22:40 +02:00
earl-warren
eb11100b06 Merge pull request 'restart forgejo when docker restarts' (#5) from earl-warren/setup-forgejo:wip-container into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/5
2023-04-01 14:17:51 +00:00
Earl Warren
6bba87e804
restart forgejo when docker restarts 2023-04-01 16:04:42 +02:00
earl-warren
50da263fad Merge pull request 'wip-container' (#4) from earl-warren/setup-forgejo:wip-container into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/4
2023-04-01 13:08:50 +00:00
Earl Warren
244f6688db
run tests on pull requests 2023-04-01 14:52:42 +02:00
Earl Warren
8fd60b424d
add inputs.container that defaults to forgejo 2023-04-01 14:51:42 +02:00
Earl Warren
8fbab2d77d
LICENSE is MIT 2023-04-01 11:08:06 +02:00
Earl Warren
42078f52f6
documentation and sanity check for tokens 2023-03-30 16:52:28 +02:00
Earl Warren
b9dd7fd700
set FORGEJO_TOKEN in test workflows 2023-03-30 16:17:19 +02:00
Earl Warren
870dc58266
FORGEJO_URL because github.server_url is empty 2023-03-30 09:11:45 +02:00
Earl Warren
073db9062f
add lxc-ip-prefix 2023-03-30 01:02:38 +02:00
Earl Warren
70be187923
echo the sha in the output 2023-03-29 23:34:55 +02:00
Earl Warren
62f8a3c3f3
verify outputs.token is not empty 2023-03-29 18:46:49 +02:00
Earl Warren
ed3687d21a
do not try to replace SELF if there are not workflows 2023-03-29 17:03:14 +02:00
Earl Warren
5e74823706
refactor and publish forgejo-test-helper.sh 2023-03-29 16:12:44 +02:00
Earl Warren
202709a555
daemonize forgejo-runner 2023-03-27 23:34:17 +02:00
Earl Warren
03450c69a0
show what the runner is about while waiting for the result 2023-03-27 21:48:43 +02:00
Earl Warren
e9c25f1577
pass through the runner inputs 2023-03-27 21:41:58 +02:00
Earl Warren
0bc6cdef11
add the runner-logs output 2023-03-27 17:36:59 +02:00
Earl Warren
e6bb54498c
add host-port to the output 2023-03-27 17:10:51 +02:00
Earl Warren
aefd5f2538
do not set ROOT_URL, override DOMAIN instead
because ROOT_URL gets reset on restart from the evironment variables
2023-03-26 19:02:38 +02:00
Earl Warren
2ddaa24d8f
cleanup test directory 2023-03-26 19:02:26 +02:00
Earl Warren
ba6467a698
add scope to the admin token 2023-03-26 19:02:06 +02:00
Earl Warren
c63c206b24
document the dependency 2023-03-26 00:34:51 +01:00
Earl Warren
786f5e83e5
add documentation 2023-03-26 00:16:39 +01:00
Earl Warren
9e530416d7
do not pollute the checked out repository 2023-03-25 23:25:16 +01:00
Earl Warren
f68182a239
add user/password inputs 2023-03-25 23:15:29 +01:00
Earl Warren
d479e59b59
improve testing & reduce noise 2023-03-25 23:07:01 +01:00
Earl Warren
579d09787e
add parameters 2023-03-25 22:53:12 +01:00
Earl Warren
9279b526cd
nested LXC need different IP ranges 2023-03-25 19:14:55 +01:00
Earl Warren
8b2ff23fc0
setup the path of the action 2023-03-25 19:07:46 +01:00
Earl Warren
115f9016a9
debug 2023-03-25 19:03:25 +01:00
Earl Warren
ecd262e0fa
actual workload for the Forgejo instance 2023-03-25 18:41:38 +01:00
Earl Warren
39d3d68c3d
author order is not right 2023-03-25 18:35:31 +01:00
Earl Warren
e13126282a
reset git otherwise shallow update not allowed 2023-03-25 18:31:38 +01:00
Earl Warren
f429ed3bf3
use a different range of IP for LXC 2023-03-25 18:23:43 +01:00
Earl Warren
3e607698b4
invert dependencies to avoid race on network setup 2023-03-25 18:21:44 +01:00
Earl Warren
e716e12a71
reorganize dependencies installation 2023-03-25 17:36:27 +01:00
Earl Warren
e39c635a02
reference itself 2023-03-25 17:23:25 +01:00
Earl Warren
f608518e87
push self 2023-03-25 16:57:11 +01:00
Earl Warren
844a9cd4ff
push self to the test forgejo instance 2023-03-25 16:20:38 +01:00
Earl Warren
c92246a058
integration 2023-03-25 16:06:50 +01:00
Earl Warren
6ee8ee9999
remove dead script 2023-03-25 14:44:02 +01:00