Skip to content

Commit

Permalink
chore: review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanh committed Jan 18, 2024
1 parent 344a0a3 commit 0cd5751
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
id-token: "write"
services:
postgres:
image: postgres:15.4
# Image is pinned to v15, OK since it's just for testing
image: ankane/pgvector
# This env variables must be the same in the file PARABOL_BUILD_ENV_PATH
env:
POSTGRES_PASSWORD: "temppassword"
Expand Down
3 changes: 1 addition & 2 deletions packages/server/email/MailManagerDebug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ export default class MailManagerDebug extends MailManager {
Subject: ${subject}
Body: ${body}`)

let toStr = to
if (Array.isArray(to)) toStr = to.join(',')
const toStr = to.toString()

const {html} = options
// limit filename length so it does not exceed filesystem limits
Expand Down
4 changes: 3 additions & 1 deletion packages/server/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ RUN apt-get update && apt-get install -y \
git

RUN cd /extensions/postgres-json-schema && make install && make installcheck
RUN cd /extensions/pgvector && make install
RUN git clone --branch v0.5.0 \
https://github.com/pgvector/pgvector.git /extensions/pgvector && \
cd extensions/pgvector && make clean && make && make install

RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

Expand Down
20 changes: 0 additions & 20 deletions packages/server/postgres/extensions/pgvector/Makefile

This file was deleted.

0 comments on commit 0cd5751

Please sign in to comment.