Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/app-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ jobs:
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cd %TEMP%
git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git
git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git
cd pgvector
nmake /NOLOGO /F Makefile.win
nmake /NOLOGO /F Makefile.win install
sc config postgresql-x64-14 start=auto
net start postgresql-x64-14
sc config postgresql-x64-17 start=auto
net start postgresql-x64-17
"%PGBIN%/psql" -d postgres -c "CREATE EXTENSION vector"

- name: (Linux) Install pgvector and set password
Expand Down
60 changes: 60 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,66 @@ param name string

@minLength(1)
@description('Primary location for all resources')
// microsoft.insights/components has restricted regions
@allowed([
'eastus'
'southcentralus'
'northeurope'
'westeurope'
'southeastasia'
'westus2'
'uksouth'
'canadacentral'
'centralindia'
'japaneast'
'australiaeast'
'koreacentral'
'francecentral'
'centralus'
'eastus2'
'eastasia'
'westus'
'southafricanorth'
'northcentralus'
'brazilsouth'
'switzerlandnorth'
'norwayeast'
'norwaywest'
'australiasoutheast'
'australiacentral2'
'germanywestcentral'
'switzerlandwest'
'uaecentral'
'ukwest'
'japanwest'
'brazilsoutheast'
'uaenorth'
'australiacentral'
'southindia'
'westus3'
'koreasouth'
'swedencentral'
'canadaeast'
'jioindiacentral'
'jioindiawest'
'qatarcentral'
'southafricawest'
'germanynorth'
'polandcentral'
'israelcentral'
'italynorth'
'mexicocentral'
'spaincentral'
'newzealandnorth'
'chilecentral'
'indonesiacentral'
'malaysiawest'
])
@metadata({
azd: {
type: 'location'
}
})
param location string

@description('Whether the deployment is running on GitHub Actions')
Expand Down
Loading