🗃️ Committing everything that changed 🗃️

rootfs/tmp/etc/act_runner/cache_server.yaml
rootfs/tmp/etc/act_runner/default_config.yaml
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
casjay
2024-09-02 15:40:42 -04:00
parent bac7b665ab
commit 8f627d680a
3 changed files with 4 additions and 7 deletions

View File

@@ -486,6 +486,7 @@ __post_execute() {
fi
if [ -f "$CACHE_CONFIG_FILE" ]; then
mkdir -p "$DATA_DIR/cache"
__replace "REPLACE_RUNNER_CACHE_PORT" "$RUNNER_CACHE_PORT" "$CACHE_CONFIG_FILE"
act_runner cache-server --config $CACHE_CONFIG_FILE -s 0.0.0.0 -p $RUNNER_CACHE_PORT 2>>/dev/stderr | tee -a -p "$LOG_DIR/cache.log" &
execPid=$!
if sleep 5 && ps ax | awk '{print $1}' | grep -v grep | grep -q "$execPid$"; then