Skip to content

Commit 6e161ab

Browse files
author
Jacob Beck
committed
azure pipelines silently messing with $PATH again
1 parent 97c59f3 commit 6e161ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
Set-Service -InputObject $serviceName -StartupType Automatic
3838
Start-Service -InputObject $serviceName
3939
40-
createdb.exe -U postgres dbt
41-
psql.exe -U postgres -c "CREATE ROLE root WITH PASSWORD 'password';"
42-
psql.exe -U postgres -c "ALTER ROLE root WITH LOGIN;"
43-
psql.exe -U postgres -c "GRANT CREATE, CONNECT ON DATABASE dbt TO root WITH GRANT OPTION;"
44-
psql.exe -U postgres -c "CREATE ROLE noaccess WITH PASSWORD 'password' NOSUPERUSER;"
45-
psql.exe -U postgres -c "ALTER ROLE noaccess WITH LOGIN;"
46-
psql.exe -U postgres -c "GRANT CONNECT ON DATABASE dbt TO noaccess;"
40+
& $env:PGBIN\createdb.exe -U postgres dbt
41+
& $env:PGBIN\psql.exe -U postgres -c "CREATE ROLE root WITH PASSWORD 'password';"
42+
& $env:PGBIN\psql.exe -U postgres -c "ALTER ROLE root WITH LOGIN;"
43+
& $env:PGBIN\psql.exe -U postgres -c "GRANT CREATE, CONNECT ON DATABASE dbt TO root WITH GRANT OPTION;"
44+
& $env:PGBIN\psql.exe -U postgres -c "CREATE ROLE noaccess WITH PASSWORD 'password' NOSUPERUSER;"
45+
& $env:PGBIN\psql.exe -U postgres -c "ALTER ROLE noaccess WITH LOGIN;"
46+
& $env:PGBIN\psql.exe -U postgres -c "GRANT CONNECT ON DATABASE dbt TO noaccess;"
4747
displayName: Install postgresql and set up database
4848
4949
- task: UsePythonVersion@0

0 commit comments

Comments
 (0)