Commit graph

38 commits

Author SHA1 Message Date
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
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
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
13e4980952
as of runner 3.1.0 self-hosted is no longer implicitly lxc 2023-11-09 16:03:53 +01:00
Earl Warren
1535c75993
install the runner in /usr/local/bin
* when downloaded
* when built from sources
2023-11-04 17:48:23 +01:00
Earl Warren
40950130a5
automatically build from source if the version is @branch 2023-10-14 23:22:19 +02:00
Earl Warren
87d8b85700
cleanup the runner cache when uploading self action
if the cache is not cleared, the action that was just uploaded
with the latest changes won't be used, the cached version will.
2023-10-12 15:47:32 +02: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
15a46373fb
forgejo-runner.sh reload must wait for the daemon to stop 2023-10-04 21:20:02 +02: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
06709db2c5
use code.forgejo.org/oci as an OCI registry 2023-09-29 22:44:24 +02:00
Earl Warren
ba426d53f9
upgrade to runner v2.5.0 2023-08-23 16:55:07 +02:00
Gabriel Simmer
f648227f28
Upgrade default runner version to 2.4.0 2023-08-15 09:36:05 +01:00
Earl Warren
fff66aaed9
upgrade runner to v2.3.0 by default 2023-07-13 22:53:40 +02:00
Earl Warren
e7018d0d91
run service example in the CI 2023-07-08 14:23:25 +02:00
Earl Warren
45ca5972d0
upgrade runner to v2.1.0 by default 2023-07-03 23:15:27 +02:00
Earl Warren
efb633bec9
replace ubuntu-latest with docker for clarity 2023-05-30 15:16:16 +02:00
Earl Warren
bf7851a1c5
split integration tests (nested or not) 2023-05-29 17:19:09 +02:00
Earl Warren
da1b7e32c7
default to bridge network mode for backward compatibility 2023-05-22 11:33:53 +02:00
Earl Warren
639acf0b68
upgrade runner to 2.0.0 2023-05-22 11:28:02 +02:00
Earl Warren
53a82a2321
upgrade runner to 1.8.1 2023-05-22 01:38:47 +02:00
Earl Warren
894556e7a2
upgrade the runner to v1.7.0 2023-05-01 00:36:05 +02:00
Earl Warren
acff2f0697
filter enviornment variables when launching the runner 2023-04-30 23:01:42 +02:00
Earl Warren
ee631a8bd7
Forgejo v1.19.2-0 has generate-runner-token 2023-04-30 09:27:57 +02:00
Earl Warren
eea48337e5
upgrade runner to 1.6.0 2023-04-05 17:16:00 +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
ae0922ec64
use the runner binary instead of building from source 2023-04-04 15:00:54 +02:00
Earl Warren
8fbab2d77d
LICENSE is MIT 2023-04-01 11:08:06 +02:00
Earl Warren
202709a555
daemonize forgejo-runner 2023-03-27 23:34:17 +02:00
Earl Warren
e9c25f1577
pass through the runner inputs 2023-03-27 21:41:58 +02:00
Earl Warren
c92246a058
integration 2023-03-25 16:06:50 +01:00
Earl Warren
d2336cb7ef
basic integration 2023-03-25 14:35:17 +01:00
Earl Warren
9628aaca86
move scripts one directory up 2023-03-24 22:43:06 +01:00