streamd: optional keys, per-stream proxy, auto deps; agent module.yaml sync; RTE AutoPlay; Telegram release announces
- streamd: MPD-only start, proxy field, ffmpeg/NRE/mp4decrypt auto-install - GET/PUT /api/modules for module.yaml sync; agent sync_modules - RTE Live-tab AutoPlay fixes; modules zip named bbc/rte/tg4.zip - Telegram notify scripts wired into Forgejo release workflows
This commit is contained in:
parent
f9c28be3f1
commit
ac8701b5a6
36 changed files with 1460 additions and 143 deletions
|
|
@ -41,18 +41,18 @@ for name in "${MODULES[@]}"; do
|
|||
go build -trimpath -ldflags='-s -w' -o "$bin" . )
|
||||
done <<< "$(printf '%s\n' "${TARGETS[@]}")"
|
||||
|
||||
# Ship module.yaml only (= publish template renamed; no secrets, no module-publish.yaml).
|
||||
cp "$publish" "$stage/module.yaml"
|
||||
cp "$publish" "$stage/module-publish.yaml"
|
||||
cat > "$stage/README.md" <<EOF
|
||||
# module-$name ($VERSION)
|
||||
# $name ($VERSION)
|
||||
|
||||
Drop into \`modules/$name/\`. Edit \`module.yaml\` for secrets. Copy
|
||||
Unpack into \`modules/$name/\`. Edit \`module.yaml\` for secrets. Copy
|
||||
\`.bin/<goos>-<goarch>/$name\` to \`.bin/$name\` for your OS, or rebuild with Go.
|
||||
|
||||
\`module.yaml\` in this zip is \`module-publish.yaml\` renamed (universal values).
|
||||
This zip's \`module.yaml\` is the published universal template (secrets empty).
|
||||
EOF
|
||||
|
||||
zip_path="$OUT/module-${name}-${VERSION}.zip"
|
||||
zip_path="$OUT/${name}.zip"
|
||||
rm -f "$zip_path"
|
||||
( cd "$stage" && zip -qr "$zip_path" . )
|
||||
built+=("$zip_path")
|
||||
|
|
@ -65,4 +65,4 @@ for z in "${built[@]}"; do
|
|||
( cd "$(dirname "$z")" && sha256sum "$(basename "$z")" ) >> "$sums"
|
||||
done
|
||||
echo "DONE modules release $VERSION → $OUT"
|
||||
ls -la "$OUT"/module-* 2>/dev/null || true
|
||||
ls -la "$OUT"/bbc.zip "$OUT"/rte.zip "$OUT"/tg4.zip 2>/dev/null || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue