Commit Graph

133 Commits

Author SHA1 Message Date
Mikhail Koliada
e16b5524ff [macOS] distinguish Arm64/M1 in the template (#9075) 2023-12-28 11:19:26 +01:00
Erik Bershel
d16bc5f120 Fix SBOM workflow first step name (#9065) 2023-12-26 11:26:20 +01:00
Erik Bershel
0e46595f81 Update release variable to use ID instead of branch (#8990) 2023-12-11 12:52:28 +01:00
Erik Bershel
62fab6e78a Update SBOM generation workflow (#8975) 2023-12-11 11:58:55 +01:00
Shamil Mubarakshin
ed911223ab Remove ci-cleanup.yml (#8939) 2023-12-01 14:42:07 +01:00
Shamil Mubarakshin
d919a375b3 Add PR_HEAD_REF env variable to ci-cleanup.yml (#8916)
* Add PR_HEAD_REF env variable to ci-cleanup.yml

* Fix quotes around env var
2023-11-30 17:37:37 +01:00
Erik Bershel
50625a842a Fix SBOM workflow logic (#8848)
* Fix SBOM workflow logic

* Revert SYFT pinning for Windows
2023-11-20 18:18:40 +01:00
Shamil Mubarakshin
5d40b1e213 [Ubuntu] Implement new directories hierarchy (#8627) 2023-11-15 11:36:04 +01:00
Vasilii Polikarpov
d1f2c9a3be [Windows] Implement new directories hierarchy (#8616) 2023-11-15 11:24:45 +01:00
Shamil Mubarakshin
23ff0d7468 Add GitHub ci workflows (#8464) 2023-10-06 15:51:08 +02:00
Mikhail Koliada
3f3600e029 Remove images GitHub Actions CI from repo (#8131) 2023-08-22 10:35:20 +02:00
Alexey-Ayupov
27d2a9eb47 Remove pull_request_target trigger and condition (#7983) 2023-07-26 16:04:32 +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
Alexey-Ayupov
c0ed5f679e Remove cron job from CI (#7977) 2023-07-25 18:16:30 +02:00
Shamil Mubarakshin
a5632eb5f2 [windows] Temporarily pin syft version for SBOM report (#7953) 2023-07-21 16:26:19 +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
UncertainBadg3r
e2d7e61adf Fix minor typo in workflow file (#7931) 2023-07-20 12:22:09 +02:00
Shamil Mubarakshin
dc38839721 [macos] Cleanup xcversion leftovers (#7911) 2023-07-14 09:39:01 +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
Vasilii Polikarpov
508ad6524a Add CI job to remove skipped CI runs (#7736) 2023-06-30 12:23:01 +02:00
Shamil Mubarakshin
7d99ce2cad Update SBOM report workflow's version-check job (#7793) 2023-06-26 19:44:27 +02:00
Shamil Mubarakshin
2fdd5e58c2 [macos] Add sudo to SBOM generation (#7759) 2023-06-21 10:16:01 +02:00
Vasilii Polikarpov
d6aaf8d481 Update conditions for CI jobs (#7714) 2023-06-14 10:17:42 +02:00
Shamil Mubarakshin
afd68edefb [macos] add cookie based installation for Xcode (#7666) 2023-06-03 18:15:48 +02:00
Vasilii Polikarpov
7042fdacbc [macOS] Add XCode 14.3.1 for macOS 13 (#7631) 2023-05-24 15:28:29 +02:00
Alexey-Ayupov
dbd131cc88 Update actions labels (#7614) 2023-05-18 12:17:34 +02:00
Vasilii Polikarpov
4ca86478ee Separate VM resizing and moving into two different scripts (#7584) 2023-05-17 16:42:02 +02:00
Alexey-Ayupov
69acda60ec Update labels for CI pipelines (GH actions) (#7598) 2023-05-15 15:20:01 +02:00
ilia-shipitsin
0b558a470e [macos] add macOS-13 to issue template (#7515) 2023-04-29 09:21:12 +02:00
Alexey-Ayupov
265af52853 Remove variable mask, add repo secrets (#7462) 2023-04-19 10:49:36 +02:00
Alexey-Ayupov
46f5d5470a Update CI actions according to demands (#7395) 2023-04-06 14:40:05 +02:00
ilia-shipitsin
869adbbd1c hide builds using dedicated runners from forks (#7377) 2023-04-05 14:02:45 +02:00
Shamil Mubarakshin
e72606ffb6 Cleanup ubuntu1804 image references (#7388) 2023-04-04 12:36:53 +02:00
ilia-shipitsin
e8faa6254e [macos] temporarily shift MacOS 11 image generation schedule (#7335) 2023-03-27 16:24:12 +02:00
Erik Bershel
964b509df0 Update SBOM workflow to use syft with bash shell for macOS (#7322) 2023-03-22 08:49:54 +01:00
Alexey-Ayupov
6980b00031 Add GitHub actions for image generation (#7182) 2023-02-28 21:11:41 +01:00
Maxim Lobanov
4aeccc7b5b Implement tests for software-report-module (#6815)
* Minor improvements

* fix typos

* fix brew rendering

* add temp test

* Implement tests

* Add arguments validation

* ToMarkdown()

* Use before-All and helpers

* Get rid of arrays

* Add validation, no new nodes after header

* Fix naming

* add workflow

* Revisit comments + tiny improvements

* Fix tables

* Fix html table indent

* remove comment

* attemp to break test - testing CI

* revert breaking test

* fix nitpicks
2022-12-21 10:58:27 +01:00
Erik Bershel
34c4d37ff0 Fix use of invalid characters in artifact name (#6788) 2022-12-16 17:05:17 +01:00
Erik Bershel
d171f5b873 Revert "Testing of event payload (#6786)" (#6787)
This reverts commit 5a583f4918.
2022-12-16 15:15:48 +01:00
Erik Bershel
5a583f4918 Testing of event payload (#6786) 2022-12-16 13:38:31 +01:00
Erik Bershel
ad0880f33b Update SBOM-gen add artifact upload + bugfix (#6779) 2022-12-15 19:02:05 +01:00
Mikhail Koliada
43d8adc717 Do not include macOS-10.15 into templates (#6748) 2022-12-12 12:40:55 +01:00
Erik Bershel
0810b54837 Update SBOM-workflow with new variable agentSpec (#6742) 2022-12-12 10:48:30 +01:00
Erik Bershel
b4d939bd38 Add workflows to create SBOM and upload it to release asset (#6655) 2022-12-01 12:52:02 +01:00
Austin Vazquez
ab0d910edc Update GitHub actions/checkout package to v3 (#6474)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2022-10-26 10:17:19 +02:00
Dusko Dobranic
4aae7a0129 Add 'Larger Runners' option (#6359) 2022-10-06 09:52:08 +02:00
Sam Tran
3f917ab018 update codeowners to the right team for PR reviews (#6236) 2022-09-14 07:03:52 +03:00