Commit graph

72 commits

Author SHA1 Message Date
Earl Warren
178b7fa387
upgrade to go 1.20.4 2023-05-17 01:30:51 +02:00
Earl Warren
203f05100b
add lxc-helpers 2023-05-17 01:30:51 +02:00
earl-warren
fd145b4da2 Merge pull request 'upgrade the runner to v1.7.0' (#17) from earl-warren/setup-forgejo:wip-1.7.0 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/17
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-04-30 22:43:23 +00:00
Earl Warren
894556e7a2
upgrade the runner to v1.7.0 2023-05-01 00:36:05 +02:00
Earl Warren
ccc0561393
make it easier to spot the logs in the output 2023-05-01 00:36:05 +02:00
earl-warren
ee99134ef9 Merge pull request 'filter enviornment variables when launching the runner' (#16) from earl-warren/setup-forgejo:wip-environ into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/16
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-04-30 21:08:12 +00:00
Earl Warren
acff2f0697
filter enviornment variables when launching the runner 2023-04-30 23:01:42 +02:00
earl-warren
ae7f03683b Merge pull request 'Forgejo v1.19.2-0 has generate-runner-token' (#15) from earl-warren/setup-forgejo:wip-registration-token-admin into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/15
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-04-30 07:36:28 +00:00
Earl Warren
ee631a8bd7
Forgejo v1.19.2-0 has generate-runner-token 2023-04-30 09:27:57 +02:00
earl-warren
33c7a0c667 Merge pull request 'install dependencies before anything else' (#13) from earl-warren/setup-forgejo:wip-api into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/13
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-04-05 21:35:51 +00:00
Earl Warren
6a27a460b5
version 1.19 is >= 1.19.0-3 2023-04-05 23:27:33 +02:00
Earl Warren
60af48d02b
install dependencies before anything else 2023-04-05 23:18:02 +02:00
earl-warren
5d8a0e54b5 Merge pull request 'Forgejo >= v1.19.0-3 needs repo.actions' (#12) from earl-warren/setup-forgejo:wip-repo-actions into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/12
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-04-05 20:55:28 +00:00
Earl Warren
89ed6c5186
Forgejo >= v1.19.0-3 needs repo.actions
Fixes: https://code.forgejo.org/actions/setup-forgejo/issues/3
2023-04-05 17:50:28 +02:00
earl-warren
563dcf409d Merge pull request 'upgrade runner to 1.6.0' (#11) from earl-warren/setup-forgejo:wip-1.6.0 into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/11
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-04-05 15:24:43 +00:00
Earl Warren
eea48337e5
upgrade runner to 1.6.0 2023-04-05 17:16:00 +02:00
earl-warren
8c854211ba Merge pull request 'do not try to install the runner if it already available' (#9) from earl-warren/setup-forgejo:wip-use-binary into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/9
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
2023-04-05 15:07:31 +00:00
Earl Warren
1862690dde
document how to use build_runner for a short debug loop 2023-04-05 16:54:05 +02:00
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