03d5b39a4b
- Created ansible playbooks for setting up AMD ROCm container environment. - Added ROCm and AMD Graphics repositories in ansible tasks. - Installed necessary ROCm packages including rocm-dkms and developer tools. - Updated Dockerfile for Ollama to use version 0.13.4 and created a new Dockerfile for ROCm support. - Enhanced game station scripts for better performance and added MangoHud configuration. - Modified systemd service files to allow CPU core allocation. - Updated playbooks for Ollama and Qwen2 to include new configurations and environment variables. - Added Wake-on-LAN systemd service configuration. - Updated Terraform configurations to include secret management for the web UI. - Refactored Kubernetes deployment for open-webui to include secret handling and improved volume management.
30 lines
664 B
Bash
30 lines
664 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
LOGFILE="$HOME/.local/logs/steamos-select-branch.log"
|
|
|
|
log() { echo "[$(date --iso-8601=seconds)] $*" | tee -a "$LOGFILE"; }
|
|
|
|
if [[ $# -eq 1 ]]; then
|
|
case "$1" in
|
|
"-c")
|
|
log "Current branch requested"
|
|
echo "stable"
|
|
exit 0
|
|
;;
|
|
"-l")
|
|
log "Listing available branches"
|
|
exit 0
|
|
;;
|
|
"rel")
|
|
log "Legacy branch 'rel' requested"
|
|
exit 0
|
|
;;
|
|
"stable" | "rc" | "beta" | "bc" | "preview" | "pc" | "main" | "staging")
|
|
log "Branch '$1' requested"
|
|
exit 0
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
echo "Usage: steamos-select-branch <-c|-l|rel|rc|beta|bc|preview|pc|main>" 1>&2
|
|
|