mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
feat: explain how to start PostgreSQL (#4909)
This commit is contained in:
@@ -33,6 +33,21 @@ function Get-SqlPackageVersion {
|
||||
return "SqlPackage $sqlPackageVersion"
|
||||
}
|
||||
|
||||
function Build-PostgreSqlSection {
|
||||
$output = ""
|
||||
|
||||
$output += New-MDHeader "PostgreSQL" -Level 4
|
||||
$output += New-MDList -Style Unordered -Lines @(
|
||||
(Get-PostgreSqlVersion ),
|
||||
"PostgreSQL Server (user:postgres)"
|
||||
)
|
||||
$output += New-MDCode -Lines @(
|
||||
"PostgreSQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start postgresql.service'"
|
||||
)
|
||||
|
||||
return $output
|
||||
}
|
||||
|
||||
function Build-MySQLSection {
|
||||
$output = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user