|
55 | 55 | strategy: |
56 | 56 | fail-fast: false |
57 | 57 | matrix: |
58 | | - db: [pgvector, redis, elastic, qdrant] |
| 58 | + db: [pgvector, redis, elastic, qdrant, mssql] |
59 | 59 |
|
60 | 60 | steps: |
61 | 61 | - uses: actions/checkout@v4 |
|
69 | 69 | - name: Load Docker image |
70 | 70 | run: docker load -i image.tar |
71 | 71 |
|
| 72 | + - name: Log in to registry for SQL-vector preview |
| 73 | + if: matrix.db == 'mssql' |
| 74 | + uses: docker/login-action@v3 |
| 75 | + with: |
| 76 | + registry: ${{ secrets.MSSQL_VECTOR_REGISTRY }} |
| 77 | + username: ${{ secrets.MSSQL_VECTOR_USERNAME }} |
| 78 | + password: ${{ secrets.MSSQL_VECTOR_PASSWORD }} |
| 79 | + |
| 80 | + - name: Pull preview SQL Server-vector image |
| 81 | + if: matrix.db == 'mssql' |
| 82 | + run: | |
| 83 | + docker pull ${{ secrets.MSSQL_VECTOR_REGISTRY }}/mssql-sql2025-ctp1-3-release/mssql-server-rhel9:17.0.400.5_4 |
| 84 | +
|
| 85 | + - name: Start SQL Server-vector |
| 86 | + if: matrix.db == 'mssql' |
| 87 | + run: | |
| 88 | + docker run -d --name mssql-vector-test \ |
| 89 | + -e ACCEPT_EULA=Y \ |
| 90 | + -e MSSQL_SA_PASSWORD=StrongPreviewPass1! \ |
| 91 | + -p 1433:1433 \ |
| 92 | + ${{ secrets.MSSQL_VECTOR_REGISTRY }}/mssql-sql2025-ctp1-3-release/mssql-server-rhel9:17.0.400.5_4 |
| 93 | +
|
72 | 94 | - name: Start PGVector |
73 | 95 | if: matrix.db == 'pgvector' |
74 | 96 | run: | |
@@ -115,7 +137,7 @@ jobs: |
115 | 137 | test-image:${{ needs.build.outputs.image_tag }} |
116 | 138 |
|
117 | 139 | release: |
118 | | - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') |
| 140 | + if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) && github.event.repository.fork == false |
119 | 141 | runs-on: ubuntu-latest |
120 | 142 | needs: [lint, build, test] |
121 | 143 | steps: |
|
0 commit comments