mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Replace the logic to download/install PostgreSQL on Windows in the GitHub actions. Use stack builder instead of Chocolatey.
This commit is contained in:
parent
6ba9c192ce
commit
6f857bdbcb
4
.github/workflows/run-python-tests-pg.yml
vendored
4
.github/workflows/run-python-tests-pg.yml
vendored
@ -57,7 +57,9 @@ jobs:
|
|||||||
- name: Install platform dependencies on Windows
|
- name: Install platform dependencies on Windows
|
||||||
if: ${{ matrix.os == 'windows-latest' }}
|
if: ${{ matrix.os == 'windows-latest' }}
|
||||||
run: |
|
run: |
|
||||||
choco install -y postgresql${{ matrix.pgver }} --params "/Password:postgres /Port:59${{ matrix.pgver }}" --ia "--prefix C:\PostgreSQL\${{ matrix.pgver }} --datadir C:\PostgreSQL\${{ matrix.pgver }}\data --install_runtimes 0 --disable-components pgAdmin,stackbuilder --enable-components server,commandlinetools"
|
FOR /f "delims=" %%F IN ('python tools\get_sb_package.py "https://www.postgresql.org/applications-v2.xml" "postgresql_${{ matrix.pgver }}" "windows-x64"') DO SET INSTALLER_EXE=%%F
|
||||||
|
ECHO Running %INSTALLER_EXE%...
|
||||||
|
%INSTALLER_EXE% --prefix C:\PostgreSQL\${{ matrix.pgver }} --datadir C:\PostgreSQL\${{ matrix.pgver }}\data --serverport 59${{ matrix.pgver }} --superpassword postgres --install_runtimes 0 --mode unattended --unattendedmodeui none --disable-components pgAdmin, stackbuilder --enable-components server,commandlinetools"
|
||||||
choco install -y mitkerberos
|
choco install -y mitkerberos
|
||||||
|
|
||||||
REM Ignore error 3010 (reboot required)
|
REM Ignore error 3010 (reboot required)
|
||||||
|
Loading…
Reference in New Issue
Block a user