Skip to content

Commit

Permalink
Merge branch 'refactor_server_wrapper' of https://github.com/semaphor…
Browse files Browse the repository at this point in the history
…eui/semaphore into refactor_server_wrapper
  • Loading branch information
fiftin committed Oct 24, 2024
2 parents 6168924 + c9700af commit 850efac
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
8 changes: 0 additions & 8 deletions deployment/docker/debug/server-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,6 @@ EOF
fi
fi

if test -f "${SEMAPHORE_CONFIG_PATH}/packages.txt"; then
echoerr "Installing additional system dependencies"
apk add --no-cache --upgrade \
$(cat "${SEMAPHORE_CONFIG_PATH}/packages.txt" | xargs)
else
echoerr "No additional system dependencies to install"
fi

if test -f "${SEMAPHORE_CONFIG_PATH}/requirements.txt"; then
echoerr "Installing additional python dependencies"
pip3 install --upgrade \
Expand Down
8 changes: 0 additions & 8 deletions deployment/docker/runner/runner-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ echoerr() { printf "%s\n" "$*" >&2; }
export SEMAPHORE_CONFIG_PATH="${SEMAPHORE_CONFIG_PATH:-/etc/semaphore}"
export SEMAPHORE_TMP_PATH="${SEMAPHORE_TMP_PATH:-/tmp/semaphore}"

if test -f "${SEMAPHORE_CONFIG_PATH}/packages.txt"; then
echoerr "Installing additional system dependencies"
apk add --no-cache --upgrade \
$(cat "${SEMAPHORE_CONFIG_PATH}/packages.txt" | xargs)
else
echoerr "No additional system dependencies to install"
fi

if test -f "${SEMAPHORE_CONFIG_PATH}/requirements.txt"; then
echoerr "Installing additional python dependencies"
pip3 install --upgrade \
Expand Down
9 changes: 0 additions & 9 deletions deployment/docker/server/server-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,6 @@ EOF
fi


if test -f "${SEMAPHORE_CONFIG_PATH}/packages.txt"; then
echoerr "Installing additional system dependencies"
apk add --no-cache --upgrade \
$(cat "${SEMAPHORE_CONFIG_PATH}/packages.txt" | xargs)
else
echoerr "No additional system dependencies to install"
fi


#
# Install additional python dependencies
#
Expand Down

0 comments on commit 850efac

Please sign in to comment.