Skip to content

Commit

Permalink
fix in comments
Browse files Browse the repository at this point in the history
Signed-off-by: xieydd <xieydd@gmail.com>
  • Loading branch information
xieydd committed Nov 25, 2024
1 parent 1d8a9e1 commit 6188712
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 63 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,39 @@ jobs:
TARGETARCH=amd64
PGVECTOR=0.8.0
tags: modelzai/vchord-cnpg:${{ matrix.version }}-v${{ env.SEMVER }}

test:
name: Run tests
runs-on:
- ubuntu-latest
needs: ["semver", "build", "docker"]
strategy:
matrix:
version: [14, 15, 16]
platform: ["amd64"]
container:
image: modelzai/vchord-cnpg:${{ matrix.version }}-v${{ needs.semver.outputs.SEMVER }}
options: --user root
credentials:
username: ${{ secrets.DOCKERIO_MODELZ_USERNAME }}
password: ${{ secrets.DOCKERIO_MODELZ_TOKEN }}
env:
PGHOST: "localhost"
PGPORT: "5432"
PGDATABASE: "postgres"
PGUSER: "postgres"
PGPASSWORD: "postgres"
POSTGRES_PASSWORD: "password"
PGDATA: "/var/lib/postgresql/data2"

steps:
- name: Install all extensions in registry
# Entrypoint is overwritten by GitHub Action. We need to execute it manually in order to start Postgres.
# More information here https://github.com/actions/runner/issues/1964
run: |
bash /usr/local/bin/docker-entrypoint.sh postgres &
sleep 5
curl https://registry.pgtrunk.io/extensions/all | jq -r ".[] | .name" > /tmp/extensions.txt
trunk-install.sh | tee /tmp/output.txt
cat /tmp/output.txt
63 changes: 0 additions & 63 deletions .github/workflows/trunk-install-test.yml

This file was deleted.

0 comments on commit 6188712

Please sign in to comment.