Skip to content

Commit fd8bf79

Browse files
committed
google auth + test-output + minot fixes
1 parent e34ffaf commit fd8bf79

File tree

22 files changed

+46
-49
lines changed

22 files changed

+46
-49
lines changed

test/tts/components-rust/test-tts/golem.yaml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ components:
1010
profiles:
1111
# DEBUG PROFILES
1212
deepgram-debug:
13-
files:
14-
- sourcePath: ../../test-audio-files/
15-
targetPath: /test-audio-files/
16-
permissions: read-write
1713
build:
1814
- command: cargo component build --no-default-features --features deepgram
1915
sources:
@@ -37,10 +33,6 @@ components:
3733

3834
# RELEASE PROFILES
3935
deepgram-release:
40-
files:
41-
- sourcePath: ../../test-audio-files/
42-
targetPath: /test-audio-files/
43-
permissions: read-write
4436
build:
4537
- command: cargo component build --release --no-default-features --features deepgram
4638
sources:
@@ -64,10 +56,6 @@ components:
6456

6557
# POLLY PROFILES
6658
polly-debug:
67-
files:
68-
- sourcePath: ../../test-audio-files/
69-
targetPath: /test-audio-files/
70-
permissions: read-write
7159
build:
7260
- command: cargo component build --no-default-features --features polly
7361
sources:
@@ -90,10 +78,6 @@ components:
9078
- src/bindings.rs
9179

9280
polly-release:
93-
files:
94-
- sourcePath: ../../test-audio-files/
95-
targetPath: /test-audio-files/
96-
permissions: read-write
9781
build:
9882
- command: cargo component build --release --no-default-features --features polly
9983
sources:
@@ -118,9 +102,9 @@ components:
118102
# GOOGLE PROFILES
119103
google-debug:
120104
files:
121-
- sourcePath: ../../test-audio-files/
122-
targetPath: /test-audio-files/
123-
permissions: read-write
105+
- sourcePath: /workspace/golem-ai-test-477218-f86a2a726938.json
106+
targetPath: /workspace/golem-ai-test-477218-f86a2a726938.json
107+
permissions: read-only
124108
build:
125109
- command: cargo component build --no-default-features --features google
126110
sources:
@@ -144,9 +128,9 @@ components:
144128

145129
google-release:
146130
files:
147-
- sourcePath: ../../test-audio-files/
148-
targetPath: /test-audio-files/
149-
permissions: read-write
131+
- sourcePath: /workspace/golem-ai-test-477218-f86a2a726938.json
132+
targetPath: /workspace/golem-ai-test-477218-f86a2a726938.json
133+
permissions: read-only
150134
build:
151135
- command: cargo component build --release --no-default-features --features google
152136
sources:
@@ -170,10 +154,6 @@ components:
170154

171155
# ELEVENLABS PROFILES
172156
elevenlabs-debug:
173-
files:
174-
- sourcePath: ../../test-audio-files/
175-
targetPath: /test-audio-files/
176-
permissions: read-write
177157
build:
178158
- command: cargo component build --no-default-features --features elevenlabs
179159
sources:
@@ -196,10 +176,6 @@ components:
196176
- src/bindings.rs
197177

198178
elevenlabs-release:
199-
files:
200-
- sourcePath: ../../test-audio-files/
201-
targetPath: /test-audio-files/
202-
permissions: read-write
203179
build:
204180
- command: cargo component build --release --no-default-features --features elevenlabs
205181
sources:

test/tts/get

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22

33
# Find the latest test-audio-files directory in /tmp and copy all files to the destination
44

5+
provider="$1"
6+
7+
if [ -z "$provider" ]; then
8+
echo "Usage: $0 <provider>"
9+
exit 1
10+
fi
11+
12+
513
# Destination directory
6-
DEST_DIR="/workspace/golem-ai/test/tts/test-audio-files/polly"
14+
DEST_DIR="/workspace/golem-ai/test/tts/test-audio-files/${provider}"
715

816
# Create destination directory if it doesn't exist
917
mkdir -p "$DEST_DIR"
221 KB
Binary file not shown.
182 KB
Binary file not shown.
25.9 KB
Binary file not shown.
31.1 KB
Binary file not shown.
157 KB
Binary file not shown.
Binary file not shown.
305 KB
Binary file not shown.
356 KB
Binary file not shown.

0 commit comments

Comments
 (0)