Skip to content

Commit cf6ba4c

Browse files
committed
fix: correct info.xml path + register command fixes
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent 2376535 commit cf6ba4c

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/integration-test-k8s.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ jobs:
6969
env:
7070
MYSQL_PORT: 4444
7171
PGSQL_PORT: 4445
72-
# use the same db for ccb and nextcloud
73-
CCB_DB_URL: postgresql+psycopg://root:rootpassword@localhost:4445/nextcloud
7472
HP_SHARED_KEY: test_shared_key_12345
7573

7674
services:
@@ -81,6 +79,7 @@ jobs:
8179
env:
8280
MYSQL_ROOT_PASSWORD: rootpassword
8381
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
82+
# use the same db for ccb and nextcloud
8483
postgres:
8584
image: pgvector/pgvector:pg17
8685
ports:
@@ -272,9 +271,12 @@ jobs:
272271
273272
- name: Register backend
274273
run: |
275-
sed -i 's;<image>.*</image>;<image>ccb-cpu</image>;' appinfo/info.xml
276-
sed -i 's;<image-tag>.*</image-tag>;<image-tag>latest</image-tag>;' appinfo/info.xml
277-
timeout 120 ./occ app_api:app:register context_chat_backend k8s_test --info-xml context_chat_backend/appinfo/info.xml
274+
sed -i 's;<image>.*</image>;<image>ccb-cpu</image>;' context_chat_backend/appinfo/info.xml
275+
sed -i 's;<image-tag>.*</image-tag>;<image-tag>latest</image-tag>;' context_chat_backend/appinfo/info.xml
276+
timeout 120 ./occ app_api:app:register context_chat_backend k8s_test \
277+
--info-xml context_chat_backend/appinfo/info.xml \
278+
--env EXTERNAL_DB="postgresql+psycopg://root:rootpassword@localhost:4445/nextcloud" \
279+
--wait-finish
278280
279281
- name: Run cron jobs
280282
run: |

0 commit comments

Comments
 (0)