File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ jobs:
37
37
Set-Service -InputObject $serviceName -StartupType Automatic
38
38
Start-Service -InputObject $serviceName
39
39
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;"
47
47
displayName: Install postgresql and set up database
48
48
49
49
- task : UsePythonVersion@0
You can’t perform that action at this time.
0 commit comments