mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
chore: remove pipecat version check from docker build process
This commit is contained in:
parent
c7e75819f4
commit
d55205fd67
7 changed files with 181 additions and 103 deletions
24
scripts/get_pipecat_commit.sh
Executable file
24
scripts/get_pipecat_commit.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# get_pipecat_commit.sh
|
||||
#
|
||||
# Gets the current pipecat submodule commit SHA.
|
||||
# Used by Docker build process to ensure Dockerfile always uses the correct version.
|
||||
#
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Get the directory where this script is located
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
|
||||
# Check if pipecat submodule exists
|
||||
if [ ! -d "$PROJECT_ROOT/pipecat/.git" ]; then
|
||||
echo "ERROR: pipecat submodule not initialized at $PROJECT_ROOT/pipecat" >&2
|
||||
echo "Run: git submodule update --init --recursive" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get the commit SHA from the submodule
|
||||
cd "$PROJECT_ROOT/pipecat"
|
||||
git rev-parse HEAD
|
||||
Loading…
Add table
Add a link
Reference in a new issue