mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 04:37:09 +00:00
[Ubuntu] Remove apt sources for Postgresql, Mongodb, Heroku (#3091)
This commit is contained in:
committed by
GitHub
parent
1a3945d52c
commit
f29cc02bef
@@ -1,11 +1,13 @@
|
||||
function Get-PostgreSqlVersion {
|
||||
$postgreSQLVersion = psql --version | Take-OutputPart -Part 2
|
||||
return "Postgre SQL $postgreSQLVersion"
|
||||
$aptSourceRepo = Get-AptSourceRepository -PackageName "postgresql"
|
||||
return "Postgre SQL $postgreSQLVersion (apt source repository: $aptSourceRepo)"
|
||||
}
|
||||
|
||||
function Get-MongoDbVersion {
|
||||
$mongoDBVersion = mongod --version | Select-Object -First 1 | Take-OutputPart -Part 2 -Delimiter "v"
|
||||
return "MongoDB $mongoDBVersion"
|
||||
$aptSourceRepo = Get-AptSourceRepository -PackageName "mongodb"
|
||||
return "MongoDB $mongoDBVersion (apt source repository: $aptSourceRepo)"
|
||||
}
|
||||
|
||||
function Get-SqliteVersion {
|
||||
|
||||
Reference in New Issue
Block a user