Commit graph

17 commits

Author SHA1 Message Date
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
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
9e6e1c679b
set the queue types to immediate
Similar to what is done in the configuration of integration tests, it
helps reduce asynchronous events that require retries and increase
delays.
2023-10-11 18:40:44 +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
6f46ba7d49
add tests for 1.20.1-0 and make it the default 2023-07-27 20:51:40 +02:00
Earl Warren
6a27a460b5
version 1.19 is >= 1.19.0-3 2023-04-05 23:27:33 +02: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
6bba87e804
restart forgejo when docker restarts 2023-04-01 16:04: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
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
ba6467a698
add scope to the admin token 2023-03-26 19:02:06 +02:00
Earl Warren
f0275c27d4
remove dead function 2023-03-25 14:40:35 +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