Source: immutable lab5 snapshot f88e9ba43cdfd7eb6a5a7ae5feb4247b4e820071; forward the allowed diff from 64d5c67. Carry SQLAlchemy, Alembic, reliability fixes, versioned jobs, infrastructure and student tests without changing protected coursework files. Validation: make check, validate, lint; 515 student tests passed with one Linux-only skip; public smoke with telemetry enabled and repeat migration passed. Stop the owned stack and retain volumes. Preserve the existing OTel work in progress; grade implementation remains a separate phase.
9 lines
295 B
Bash
Executable File
9 lines
295 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
umask 077
|
|
mkdir -p secrets
|
|
[ -s secrets/grafana_admin_password ] || od -An -N24 -tx1 /dev/urandom | tr -d ' \n' > secrets/grafana_admin_password
|
|
chmod 644 secrets/grafana_admin_password
|
|
echo "secrets/grafana_admin_password is ready (value not printed)"
|