Commit Graph
59 Commits
Author SHA1 Message Date
ilia-shipitsin 73b4a8a4f2 helpers/GenerateResourcesAndImage.ps1: check for interactive mode (#8326)
* helpers/GenerateResourcesAndImage.ps1: check for interactive mode

when RG already exists, we asked user whether to delete it, however it
is only possible in interactive mode

* mention -ReuseResourceGroup as an option, add back new line
2023-09-22 11:34:04 +02:00
ilia-shipitsin e3723b394a [windows] fix openssl package condition (#8347)
we intend to install full package, not light.
accidently condition was incorrect
2023-09-21 11:46:14 +02:00
ilia-shipitsin 609078e377 [windows] clarify Install-AzureModules description (#8273) 2023-09-18 18:37:14 +02:00
ilia-shipitsin cd9413ee05 [windows] fix openssl installation (#8313) 2023-09-18 18:11:13 +02:00
ilia-shipitsin 27777e9f10 [windows] disabling windows defender scheduled task (#8285)
it turned out that windows defender creates deleted tasks.
proper way of disabling is

Set-MpPreference -ScanScheduleDay 8
2023-09-14 22:17:45 +02:00
ilia-shipitsin 5ffd15d845 [macos] suppress xcodebuild output (#8276) 2023-09-13 11:45:19 +02:00
ilia-shipitsin 117712f38f [windows] implement checksum validation for OpenSSL (#8257) 2023-09-12 12:57:25 +02:00
ilia-shipitsin f5bbdcbe4f [windows] implement checksum validation for docker-wincred (#8256) 2023-09-12 10:05:26 +02:00
ilia-shipitsin 9a4861b4ee [windows] switch to Powershell Gallery when preparing Azure modules (#8264) 2023-09-12 10:04:14 +02:00
ilia-shipitsin 1410e7c1f1 [macos] introduce additional runtimes for XCode (#8254) 2023-09-11 13:39:00 +02:00
ilia-shipitsin acd00737c6 [windows] implement checksum validation for Powershell Core (#8247) 2023-09-08 10:48:51 +02:00
ilia-shipitsin bd1f57a2d3 [windows] introduce user warmup (#8225)
some User warmup may be transferred to C:\Users\Default to speedup
provisioning. Especially, this is important for large runners
2023-09-05 14:34:09 +02:00
ilia-shipitsin 0f35a386c1 [macos] disable VS Tests on macos-13 (#8227) 2023-09-05 10:19:03 +02:00
ilia-shipitsin d500bc8758 [macos] macos 13: retire VS Mac (#8213)
due to official retirement of Visual Studio for Mac, let us drop it
from macos-13
2023-09-04 14:02:01 +02:00
ilia-shipitsin 1a30e20713 [ubuntu] pin podmanm, add testcase for podman networking (#7763)
Related: https://github.com/actions/runner-images/issues/7753
2023-09-04 10:50:30 +02:00
ilia-shipitsin 0a6c637b3f macos: drop Hardware_Accelerated_Execution_Manager (#8216) 2023-09-01 22:06:41 +02:00
ilia-shipitsin 587a8c8e6f [windows] cleanup DotNETSdk install script (#8200)
* [win] some cleanup of DonetSDK installer

FixPublish workaround not needed anymore, we do not install 3.1
C:\Temp not needed as well
2023-09-01 11:44:00 +02:00
ilia-shipitsin e7ad9c5de4 [macos] update XCode 15 to Beta 8 (#8194) 2023-08-30 17:57:24 +02:00
ilia-shipitsin 49ea494d52 [macos] cleanup Homebrew cache after image generation (#8182) 2023-08-29 15:21:37 +02:00
ilia-shipitsin a4f3c433b4 [macos] check exit code in Invoke-SSHPassCommand (#8156) 2023-08-25 11:29:01 +02:00
ilia-shipitsin a689812865 [macos] update XCode 15 to Beta 7 (#8165) 2023-08-25 09:27:10 +02:00
ilia-shipitsin 5ff59cadc4 [macos] use mist-cli for downloading OS distribution when generating anka clean vm (#8141) 2023-08-24 15:15:31 +02:00
ilia-shipitsin 6bf51e6351 [macos] move license accept out of parallel ForEach (#8120) 2023-08-22 10:01:24 +02:00
ilia-shipitsin 5487dbaad9 use "license accept timeout" only on MacOS-13 (#8084) 2023-08-15 15:23:02 +02:00
ilia-shipitsin 9f81916bc7 macos-13: update XCode-15 to Beta 6 (#8076) 2023-08-11 17:29:06 +02:00
ilia-shipitsin 4780184e3d Unpin veertu packer (#8061) 2023-08-09 14:17:01 +02:00
ilia-shipitsin 8b4ff6aec2 [macos] suppress swiftc warnings regarding deprecated API (#7989)
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:21:5: warning: 'SecKeychainSetPreferenceDomain' was deprecated in macOS 10.10: SecKeychain is deprecated
==> veertu-anka-vm-clone.template:     SecKeychainSetPreferenceDomain(SecPreferencesDomain.system)
==> veertu-anka-vm-clone.template:     ^
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:22:5: warning: result of call to 'deleteCertificateFromKeyChain' is unused
==> veertu-anka-vm-clone.template:     deleteCertificateFromKeyChain(certificateLabel)
==> veertu-anka-vm-clone.template:     ^                            ~~~~~~~~~~~~~~~~~~
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:36:9: warning: initialization of variable 'status' was never used; consider replacing with assignment to '_' or removing it
==> veertu-anka-vm-clone.template:     var status = SecTrustSettingsSetTrustSettings(certificate, SecTrustSettingsDomain.admin, nil)
==> veertu-anka-vm-clone.template:     ~~~~^~~~~~
==> veertu-anka-vm-clone.template:     _
2023-08-09 12:09:34 +02:00
ilia-shipitsin 4ec9fdae13 [macos] use unxip if available for XCode unpacking (#7992) 2023-08-07 11:53:07 +02:00
ilia-shipitsin 55a4c8c33c Macos 13 xcode 15 beta5 (#8037) 2023-08-04 19:39:13 +02:00
ilia-shipitsinandMiguel Nieto e1d1163c15 [win] specify accept header when downloading mysql meta (#8009)
as reported in https://github.com/actions/runner-images/issues/8004
dev.mysql.com behaviour has changed, it requires "Accept: text/html"
for download page

Co-authored-by: Miguel Nieto <[email protected]>
2023-08-03 10:19:29 +02:00
ilia-shipitsin 67f9c37eee [macos] enable simulators for XCode-15 (#8001)
test on simulators is really weird, after deep investigation we
deviced to disable it for a while
2023-08-01 10:01:30 +02:00
ilia-shipitsin 52b92ff310 [macos] supress nonsignificant powershell warning (#7985)
veertu-anka-vm-clone.template: Installing Xcode versions...
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2023-07-26 17:41:57 +02:00
ilia-shipitsin f7d3e12c85 second attempt to switch to run_id for release number generation (#7981) 2023-07-26 13:37:10 +02:00
ilia-shipitsin 089b401607 temporarily revert PR7941 (#7952) 2023-07-21 14:39:00 +02:00
ilia-shipitsin d63b6a7793 [ubuntu, windows] cast "run_id" to 32 bit unsigned to match BuildId (#7950)
* [ubuntu, windows] cast "run_id" to 32 bit unsigned to match BuildId
restriction

  ./images.CI/linux-and-win/create-release.ps1 `
    -BuildId 5621210575 `
    -Organization *** `
    -DefinitionId *** `
    -Project *** `
    -ImageName ubuntu2204 `
    -AccessToken ***
  shell: /usr/bin/pwsh -command ". '{0}'"
  env:
    CHECKOUT_TYPE: pull_request
    TemplatePath: /home/vsts/Agents/image-generation/_work/runner-images/runner-images/images/linux/ubuntu2204.pkr.hcl
    TemplateDirectoryPath: /home/vsts/Agents/image-generation/_work/runner-images/runner-images/images/linux
    ImageType: ubuntu2204
create-release.ps1: /home/vsts/Agents/image-generation/_work/_temp/ee00e9c3-e508-4c8d-b369-ffe3e2afcbc9.ps1:3
Line |
   3 |    -BuildId 5621210575 `
     |             ~~~~~~~~~~
     | Cannot process argument transformation on parameter 'BuildId'. Cannot
     | convert value "5621210575" to type "System.UInt32". Error: "Value was
     | either too large or too small for a UInt32."

* cast another occurence to UInt32 MaxValue
2023-07-21 14:01:03 +02:00
ilia-shipitsin 64d9f90220 use unique run_id instead of repeative run_number for VM releases (#7941) 2023-07-21 10:02:53 +02:00
ilia-shipitsin f0ea46b3ff [windows] add SQL Server Integration Services Projects 2022 (#7930) 2023-07-19 15:41:03 +02:00
ilia-shipitsin 0f7d7a82ca [macos] download XCode installer with retries (#7898) 2023-07-18 17:47:39 +02:00
ilia-shipitsin c5579bd0e9 [macos] temporarily disable simulators on XCode-15 (#7880) 2023-07-07 22:46:36 +02:00
ilia-shipitsin 2ccef4f100 [macos] fix XCode simulator install behaviour (#7878)
* [macos] fix XCode simulator install behaviour

in https://github.com/actions/runner-images/commit/3929bc9f6e249a4731ad86b7b11793af9fec2d03
was introduced regression: simulators were installed only for latest
XCode-14 instance. However, they should be installed for all XCode-14
instances.

let us revert that behaviour

* improve code readability by moving version comparison outside loop

* rework brew installation for ARM64
2023-07-07 16:24:33 +02:00
ilia-shipitsin 2b8425307d [macos] add workaround for homebrew/core, homebrew/cask (#7866)
it was found that "git clone --depth 1 .." followed by "brew tap.."
actually works even if some git index accidently broken
2023-07-06 16:36:33 +02:00
ilia-shipitsin 073c513015 [macos] propagate XCode install variables to github image generation (#7865) 2023-07-06 14:23:25 +02:00
ilia-shipitsin 63b7bc4bde [macos] refactor XCode installation approach (#7858)
* [macos] refactor XCode installation approach

xcversion does not work anymore, we are switching to storing
XCode installers in intermediate Azure storage

* remove xcode_install_user, xcode_install_password

* rename xcode_install_storage --> xcode_install_storage_url

* mark xcode installation variables sensitive

* remove xcversion_auth_cookie variable

* renamed forgotten xcode_install_storage --> xcode_install_storage_url

* remove leftover xcode_install_user
2023-07-06 11:36:08 +02:00
ilia-shipitsin a9bb38099f [macos] add pkg-config to macos-13 image (#7719) 2023-06-20 13:43:50 +02:00
ilia-shipitsin 40fd970a62 [macos] add XCode 15 to MacOS 13 images (#7693) 2023-06-09 17:17:49 +02:00
ilia-shipitsin 84a71166b8 [windows] warmup VisualStudio for vdproj (#7649)
it takes up to several minutes to run devenv for the first time on
vdproj.
2023-06-08 12:48:45 +02:00
ilia-shipitsin 9d9b3a110d [macos] add reties for dotnet download (#7601) 2023-05-18 17:08:04 +02:00
ilia-shipitsin f2b1fa1399 [macos] enable python3 (and pipx) on macOS13 (#7599) 2023-05-18 09:21:55 +02:00
ilia-shipitsin efe07e28c1 [macos] systeminfo.txt: remove debug leftover (#7592) 2023-05-15 12:24:20 +02:00
ilia-shipitsin 0b558a470e [macos] add macOS-13 to issue template (#7515) 2023-04-29 09:21:12 +02:00
ilia-shipitsin 869adbbd1c hide builds using dedicated runners from forks (#7377) 2023-04-05 14:02:45 +02:00
ilia-shipitsin 88c18714c9 [ubuntu] remove go 1.17 (#7349) 2023-03-29 17:09:46 +02:00
ilia-shipitsin 6b75f9c486 [macos] temporarily shift MacOS 11 image generation schedule (#7352) 2023-03-28 13:07:42 +02:00
ilia-shipitsin 078d815ad5 [windows] remove go 1.17 (#7348) 2023-03-28 09:29:33 +02:00
ilia-shipitsin 7c4a229fbc [macos] remove go 1.17 (#7347) 2023-03-28 09:27:26 +02:00
ilia-shipitsin e8faa6254e [macos] temporarily shift MacOS 11 image generation schedule (#7335) 2023-03-27 16:24:12 +02:00
ilia-shipitsin f0e54bbe9f [macos] VMWare host selection: do not count "vmkdump" folder as possible vm name when choosing available datastore (#7301) 2023-03-17 16:51:49 +01:00
ilia-shipitsinandIlia Shipitsin 0d3ef08d6f [ubuntu] aws session manager plugin 1.2.458.0 fix (#7291)
Co-authored-by: Ilia Shipitsin <[email protected]>
2023-03-15 15:04:45 +01:00
ilia-shipitsinandIlia Shipitsin 6704e26553 [macos] remove gcc9 from MacOS-11 (#7257)
Co-authored-by: Ilia Shipitsin <[email protected]>
2023-03-10 11:54:48 +01:00