fix: pin Tasker deploy runner compose project
This commit is contained in:
@@ -4,6 +4,7 @@ set -euo pipefail
|
||||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PLATFORM_REPO="$(cd -- "${SCRIPT_DIR}/../.." && pwd)"
|
||||
NAS_ROOT="${NAS_ROOT:-/Volumes/docker/nodedc-platform}"
|
||||
DEPLOY_ROOT="${DEPLOY_ROOT:-$(cd -- "${NAS_ROOT}/.." && pwd)/nodedc-deploy}"
|
||||
LAUNCHER_REPO="${LAUNCHER_REPO:-}"
|
||||
TASKER_REPO="${TASKER_REPO:-}"
|
||||
TASKER_SYNC_SOURCE="${TASKER_SYNC_SOURCE:-0}"
|
||||
@@ -45,6 +46,12 @@ rsync -av "${RSYNC_METADATA_ARGS[@]}" \
|
||||
"${PLATFORM_REPO}/infra/synology/clear-authentik-brand-css.sh" \
|
||||
"${NAS_ROOT}/platform/"
|
||||
|
||||
mkdir -p "${DEPLOY_ROOT}/runner-install"
|
||||
rsync -av "${RSYNC_METADATA_ARGS[@]}" \
|
||||
"${PLATFORM_REPO}/infra/deploy-runner/nodedc-deploy" \
|
||||
"${DEPLOY_ROOT}/runner-install/nodedc-deploy"
|
||||
chmod 0755 "${DEPLOY_ROOT}/runner-install/nodedc-deploy"
|
||||
|
||||
mkdir -p "${NAS_ROOT}/platform/notification-core"
|
||||
rsync -av "${RSYNC_METADATA_ARGS[@]}" --delete \
|
||||
--exclude='node_modules/' \
|
||||
|
||||
Reference in New Issue
Block a user