Skip to content

Commit 9b0a4f7

Browse files
committed
Merge branch 'main' into diar-5
2 parents 67cfede + dededcd commit 9b0a4f7

161 files changed

Lines changed: 17186 additions & 5844 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/advanced-docker-compose-build.yml‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,24 @@ jobs:
106106
echo ".env not found; continuing"
107107
fi
108108
109+
- name: Free Disk Space
110+
run: |
111+
echo "Freeing disk space..."
112+
df -h
113+
sudo rm -rf /usr/share/dotnet
114+
sudo rm -rf /usr/local/lib/android
115+
sudo rm -rf /opt/ghc
116+
sudo rm -rf /usr/share/swift
117+
docker system prune -a -f
118+
df -h
119+
120+
- name: Initialize OpenMemory cache
121+
run: |
122+
echo "Initializing OpenMemory cache..."
123+
cd ../../extras/openmemory-mcp
124+
chmod +x init-cache.sh
125+
./init-cache.sh
126+
109127
- name: Determine version
110128
id: version
111129
run: |
@@ -116,6 +134,7 @@ jobs:
116134
else
117135
VERSION="sha-${GITHUB_SHA::7}"
118136
fi
137+
119138
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
120139
121140
- name: Build, tag, and push services sequentially with version
@@ -177,6 +196,9 @@ jobs:
177196
docker image rm -f "$target_image" || true
178197
docker image rm -f "$latest_image" || true
179198
echo "::endgroup::"
199+
200+
# Aggressive cleanup to save space
201+
docker system prune -af || true
180202
done
181203
182204
# Build and push parakeet-asr with CUDA variants (cu121, cu126, cu128)
@@ -205,6 +227,9 @@ jobs:
205227
docker image rm -f "$target_image" || true
206228
docker image rm -f "$latest_image" || true
207229
fi
230+
231+
# Aggressive cleanup to save space
232+
docker system prune -af || true
208233
done
209234
cd - > /dev/null
210235
echo "::endgroup::"
@@ -237,6 +262,9 @@ jobs:
237262
docker image rm -f "$target_image" || true
238263
docker image rm -f "$latest_image" || true
239264
fi
265+
266+
# Aggressive cleanup to save space
267+
docker system prune -af || true
240268
done
241269
cd - > /dev/null
242270
echo "::endgroup::"

‎.github/workflows/integration-tests.yml‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,25 @@ jobs:
2727
steps:
2828
- name: Checkout code
2929
uses: actions/checkout@v4
30-
30+
31+
- name: Verify required secrets
32+
env:
33+
DEEPGRAM_API_KEY: ${{ secrets.DEEPGRAM_API_KEY }}
34+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
35+
run: |
36+
echo "Verifying required secrets..."
37+
if [ -z "$DEEPGRAM_API_KEY" ]; then
38+
echo "❌ ERROR: DEEPGRAM_API_KEY secret is not set"
39+
exit 1
40+
fi
41+
if [ -z "$OPENAI_API_KEY" ]; then
42+
echo "❌ ERROR: OPENAI_API_KEY secret is not set"
43+
exit 1
44+
fi
45+
echo "✓ DEEPGRAM_API_KEY is set (length: ${#DEEPGRAM_API_KEY})"
46+
echo "✓ OPENAI_API_KEY is set (length: ${#OPENAI_API_KEY})"
47+
echo "✓ All required secrets verified"
48+
3149
- name: Set up Docker Buildx
3250
uses: docker/setup-buildx-action@v3
3351

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
2+
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Build job
26+
build:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v5
33+
- name: Build with Jekyll
34+
uses: actions/jekyll-build-pages@v1
35+
with:
36+
source: ./
37+
destination: ./_site
38+
- name: Upload artifact
39+
uses: actions/upload-pages-artifact@v3
40+
41+
# Deployment job
42+
deploy:
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
49+
- name: Deploy to GitHub Pages
50+
id: deployment
51+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)