mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 01:59:46 +08:00
PostgreSQL install on Ubuntu/Windows. (#636)
* added windows installation script for postgresql * removed if from Start-PostreSQL * added script to packar template. * changed postgresql.sh for ubuntu. * postgresql stop and disalbe services. * change name of the functions * Stop postgreSQL after validation instead of start. * added validation and re-work installation prcoedur * remove redundunt code from psql * correct intendation * path to Path * added PostgreSQL validation procedure. * Removed useless last line. * redundunt parameter passed in function call. * removed repeated part of code. * removed Stop function since it was useless. * spaces * spaces = * Update Windows2019-Azure.json * resolve confictls * added validate and install postgresql * added password to choco install and variables. * add new system variables. * added --params flag * added correct quotas * added logging for PostgreSQL install Co-authored-by: Dariy.Nurgaleev <d.nurgaleev@trueengineering.ru>
This commit is contained in:
@@ -621,6 +621,12 @@
|
||||
"{{ template_dir }}/scripts/Installers/Install-Vcpkg.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Install-PostgreSQL.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
@@ -944,6 +950,12 @@
|
||||
"{{ template_dir }}/scripts/Installers/Validate-Vcpkg.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Validate-PostgreSQL.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
|
||||
Reference in New Issue
Block a user