feat: Makes runner timeout configurable
This commit is contained in:
parent
a909f2f1e7
commit
88e3f93768
@ -5,6 +5,8 @@ CACHE_ENABLED=false
|
||||
# Defines the number of concrurrent tasks to be run
|
||||
RUNNER_CAPACITY=1
|
||||
|
||||
RUNNER_TIMEOUT=3h
|
||||
|
||||
# Set to 'host', to use the host network. When left empty it creates a temporary
|
||||
# network for each container.
|
||||
#CONTAIER_NETWORK
|
||||
|
2
abra.sh
2
abra.sh
@ -1,4 +1,4 @@
|
||||
export RUNNER_CONF_VERSION=v7
|
||||
export RUNNER_CONF_VERSION=v8
|
||||
export ENTRYPOINT_VERSION=v9
|
||||
|
||||
register_runner() {
|
||||
|
@ -17,7 +17,7 @@ runner:
|
||||
# The timeout for a job to be finished.
|
||||
# Please note that the Forgejo instance also has a timeout (3h by default) for the job.
|
||||
# So the job could be stopped by the Forgejo instance if it's timeout is shorter than this.
|
||||
timeout: 3h
|
||||
timeout: {{ env "RUNNER_TIMEOUT" }}
|
||||
# Whether skip verifying the TLS certificate of the Forgejo instance.
|
||||
insecure: false
|
||||
# The timeout for fetching the job from the Forgejo instance.
|
||||
|
Loading…
Reference in New Issue
Block a user