Some checks are pending
offline / test (push) Waiting to run
Docs match current modules: public portal is access-web /portal/, IAM and keep are listed, edge is loopback. Bootstrap clones every Forgejo repo and installs deps per server type. Fleet starts IAM and staff-session. NS1 all-in-one uses edge :13000 because :3000 is taken; archive workers stay with keep.
12 lines
358 B
Bash
Executable file
12 lines
358 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
TYPE="${1:-}"
|
|
LIST="$ROOT/repos.txt"
|
|
if [[ -n "$TYPE" ]]; then
|
|
LIST="$ROOT/types/$TYPE/repos.txt"
|
|
[[ -f "$LIST" ]] || { echo "unknown type $TYPE" >&2; exit 1; }
|
|
fi
|
|
bash "$ROOT/scripts/clone.sh" "$LIST"
|
|
bash "$ROOT/scripts/install-deps.sh"
|
|
echo "fetch done type=${TYPE:-all}"
|