Skip to content

Commit be87e24

Browse files
committed
Disable ollama
1 parent 0ff948a commit be87e24

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/ci-chat-server.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: actions/checkout@v4
2323

2424
- name: Ollama cache
25+
if: false # ollama disabled in this branch
2526
uses: actions/cache@v4
2627
with:
2728
path: ./chat-server/.ollama
@@ -42,4 +43,5 @@ jobs:
4243
run: ./gradlew build --no-daemon
4344

4445
- name: Ollama cache permissions
46+
if: false # ollama disabled in this branch
4547
run: sudo chown -R $USER:$USER ./chat-server/.ollama

chat-server/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ services:
1010

1111
ollama:
1212
image: ollama/ollama:0.6.5
13+
profiles:
14+
- disabled # ollama disabled in this branch
1315
volumes:
1416
- ./.ollama:/root/.ollama
1517
ports:

chat-server/src/test/kotlin/com/rogervinas/ChatServerApplicationTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class ChatServerApplicationTest {
4848
val container = ComposeContainer(File("docker-compose.yml"))
4949
.withLocalCompose(true)
5050
.withExposedService("vectordb", 5432, forLogMessage(".*database system is ready to accept connections.*", 1))
51-
.withExposedService("ollama", 11434, forLogMessage(".*inference compute.*", 1))
51+
// .withExposedService("ollama", 11434, forLogMessage(".*inference compute.*", 1))
5252
}
5353

5454
@Autowired

0 commit comments

Comments
 (0)