Add Azure DevOps task to copy blobs between Azure Storage accounts

This commit is contained in:
2026-02-24 22:42:35 +01:00
parent b02dc6d165
commit f738483416
11 changed files with 1442 additions and 189 deletions

View File

@@ -2,13 +2,20 @@
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
TASK_DIR="$ROOT_DIR/task/AzureFederatedAuth"
BUILD_DIR="$ROOT_DIR/build"
cd "$TASK_DIR"
rm -rf dist node_modules
npm ci
npm run build
for TASK_DIR in "$ROOT_DIR"/task/*; do
if [[ -f "$TASK_DIR/package.json" && -f "$TASK_DIR/tsconfig.json" ]]; then
cd "$TASK_DIR"
rm -rf dist node_modules
if [[ -f package-lock.json ]]; then
npm ci
else
npm install --no-audit --fund=false
fi
npm run build
fi
done
cd "$ROOT_DIR"
mkdir -p "$BUILD_DIR"