mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Merge pull request #2077 from vsafonkin/v-vlsafo/macos-remove-announcements-from-generation
[macOS] Remove announcements from generation process
This commit is contained in:
@@ -34,14 +34,6 @@ $juliaVersion = Run-Command "julia --version" | Take-Part -Part 0,2
|
||||
|
||||
$markdown = ""
|
||||
|
||||
# Get announcements
|
||||
if ($env:ANNOUNCEMENTS) {
|
||||
$markdown += $env:ANNOUNCEMENTS
|
||||
$markdown += New-MDNewLine
|
||||
$markdown += "***"
|
||||
$markdown += New-MDNewLine
|
||||
}
|
||||
|
||||
# OS info
|
||||
$markdown += Build-OSInfoSection
|
||||
$markdown += New-MDList -Style Unordered -Lines ("Image Version: {0}" -f $ImageName.Split('_')[1])
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
"github_feed_token": null,
|
||||
"xcode_install_user": null,
|
||||
"xcode_install_password": null,
|
||||
"image_os": "macos1013",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
"image_os": "macos1013"
|
||||
},
|
||||
"builders": [
|
||||
{
|
||||
@@ -195,9 +194,6 @@
|
||||
"inline": [
|
||||
"pwsh -File \"$HOME/image-generation/software-report/SoftwareReport.Generator.ps1\" -OutputDirectory \"$HOME/image-generation/output/software-report\" -ImageName {{user `build_id`}}",
|
||||
"pwsh -File \"$HOME/image-generation/tests/Run-Tests.ps1\" -WorkingDirectory \"$HOME/image-generation/tests\" -OutputFile \"$HOME/image-generation/output/tests/test-results.xml\""
|
||||
],
|
||||
"environment_vars": [
|
||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
"github_feed_token": null,
|
||||
"xcode_install_user": null,
|
||||
"xcode_install_password": null,
|
||||
"image_os": "macos1014",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
"image_os": "macos1014"
|
||||
},
|
||||
"builders": [
|
||||
{
|
||||
@@ -215,9 +214,6 @@
|
||||
"inline": [
|
||||
"pwsh -File \"$HOME/image-generation/software-report/SoftwareReport.Generator.ps1\" -OutputDirectory \"$HOME/image-generation/output/software-report\" -ImageName {{user `build_id`}}",
|
||||
"pwsh -File \"$HOME/image-generation/tests/Run-Tests.ps1\" -WorkingDirectory \"$HOME/image-generation/tests\" -OutputFile \"$HOME/image-generation/output/tests/test-results.xml\""
|
||||
],
|
||||
"environment_vars": [
|
||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
"github_feed_token": null,
|
||||
"xcode_install_user": null,
|
||||
"xcode_install_password": null,
|
||||
"image_os": "macos1015",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
"image_os": "macos1015"
|
||||
},
|
||||
"builders": [
|
||||
{
|
||||
@@ -214,9 +213,6 @@
|
||||
"inline": [
|
||||
"pwsh -File \"$HOME/image-generation/software-report/SoftwareReport.Generator.ps1\" -OutputDirectory \"$HOME/image-generation/output/software-report\" -ImageName {{user `build_id`}}",
|
||||
"pwsh -File \"$HOME/image-generation/tests/Run-Tests.ps1\" -WorkingDirectory \"$HOME/image-generation/tests\" -OutputFile \"$HOME/image-generation/output/tests/test-results.xml\""
|
||||
],
|
||||
"environment_vars": [
|
||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
"github_feed_token": null,
|
||||
"xcode_install_user": null,
|
||||
"xcode_install_password": null,
|
||||
"image_os": "macos11",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
"image_os": "macos11"
|
||||
},
|
||||
"builders": [
|
||||
{
|
||||
@@ -210,9 +209,6 @@
|
||||
"inline": [
|
||||
"pwsh -File \"$HOME/image-generation/software-report/SoftwareReport.Generator.ps1\" -OutputDirectory \"$HOME/image-generation/output/software-report\" -ImageName {{user `build_id`}}",
|
||||
"pwsh -File \"$HOME/image-generation/tests/Run-Tests.ps1\" -WorkingDirectory \"$HOME/image-generation/tests\" -OutputFile \"$HOME/image-generation/output/tests/test-results.xml\""
|
||||
],
|
||||
"environment_vars": [
|
||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user