diff --git a/.github/workflows/app-tests.yaml b/.github/workflows/app-tests.yaml index 1e67a97..5c6784a 100644 --- a/.github/workflows/app-tests.yaml +++ b/.github/workflows/app-tests.yaml @@ -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 diff --git a/infra/main.bicep b/infra/main.bicep index 6fc222f..65795e3 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -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')