Skip to content

Commit

Permalink
feat: switch to PGVector 16 as main postgres db
Browse files Browse the repository at this point in the history
  • Loading branch information
puehringer authored Dec 2, 2024
1 parent 4dee350 commit 2f9e81f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/actions/build-node-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ runs:
pip --version
uv --version
shell: bash
- name: Install pgvector
if: inputs.enable_python == 'true'
run: |
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
sudo apt-get install postgresql-16-pgvector
# General
- name: Git config
if: inputs.github_ro_token != ''
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-node-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:

services:
postgres:
image: postgres:14
image: pgvector/pgvector:pg16
env:
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
Expand Down Expand Up @@ -340,7 +340,7 @@ jobs:

services:
postgres:
image: postgres:14
image: pgvector/pgvector:pg16
env:
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
Expand Down

0 comments on commit 2f9e81f

Please sign in to comment.