mirror of
https://github.com/actions/runner-images.git
synced 2026-01-04 17:18:52 +08:00
[ubuntu] Rename build scripts (#8866)
* [ubuntu] Rename build scripts * [ubuntu] Change reboot to inline shell * [ubuntu] Move disk space validation to pester tests * [ubuntu] Rename helper and tests files * [ubuntu] Changes to cleanup, post-deployment and r scripts
This commit is contained in:
committed by
GitHub
parent
410fd620be
commit
1bd9214f41
6
images/ubuntu/scripts/tests/System.Tests.ps1
Normal file
6
images/ubuntu/scripts/tests/System.Tests.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
Describe "Disk free space" {
|
||||
It "Image has more than 15GB free space" {
|
||||
$freeSpace = (Get-PSDrive "/").Free
|
||||
$freeSpace | Should -BeGreaterOrEqual 15GB
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user