Commit Graph

51 Commits

Author SHA1 Message Date
Vasilii Polikarpov e62bcae84b Add template for minimal image and update tutorial (#7461) 2023-05-11 19:58:03 +02:00
Vasilii Polikarpov e2166f086d Fix issue where json encoding is wrong in PS5 (#7538) 2023-05-09 17:15:03 +02:00
Vasilii Polikarpov 3220eb4c1b Fix failure when tags are set for Ubuntu 22 generation (#7417) 2023-04-12 14:32:59 +02:00
Vasilii Polikarpov 5777d37af1 Fix ip address whiltelist value for hcl2 templates (#7409) 2023-04-10 14:14:48 +02:00
Shamil Mubarakshin e72606ffb6 Cleanup ubuntu1804 image references (#7388) 2023-04-04 12:36:53 +02:00
Maxim Lobanov 1a44d9343c Small improvements for software generator module (#6833) 2022-12-23 21:02:07 +01:00
Maxim Lobanov 71e1acd1b0 Minor fixes for Calculate-ImagesDifference.ps1 (#6826) 2022-12-22 12:22:26 +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
Maxim Lobanov 2f83bbaa50 rename nodes in software report (#6763) 2022-12-14 10:24:47 +01:00
Maxim Lobanov 6033af8dd1 Improve table and tool versions comparison for new Software Report module (#6729) 2022-12-13 16:54:41 +01:00
Maxim Lobanov 6eaa5b44cf Implement Software Report Base Module (#6707)
* Implement first version

* fix tables rendering

* Fix scripts

* update test files

* implement calculate image diff script

* Polish code and make e2e validation

* remove test files

* render add and removed firstly
2022-12-07 14:20:14 +01:00
Casper da Costa-Luis 4994130a96 virtual-environments => runner-images (#6033)
* virtual-environments => runner-images

- as per https://github.blog/changelog/2022-08-08-github-actions-runner-images-repository-refresh

* revert readme changes

- as per https://github.com/actions/runner-images/pull/6033#discussion_r941173809
2022-08-10 14:55:34 +02:00
Aleksandr Chebotov 8c24b03a8d Remove Windows Server 2016 related code from the repository (#5994) 2022-08-01 16:35:36 +03:00
Aleksandr Chebotov 86e4ccb246 Fix az cli warnings (#5803) 2022-06-23 13:58:16 +03:00
Blake f61057f208 fix script (#5644) 2022-05-30 23:41:16 +02:00
jeffpuckett 520f852a21 Add option to auto clean up packer resources if there is an error during packer image creation (#5635)
* Add option to auto clean up packer resources if there is an error during packer image creation

* Add option to auto clean up packer resources if there is an error during packer image creation

* Add option to auto clean up packer resources if there is an error during packer image creation

Co-authored-by: Jeff Puckett <jpuckett@yprime.com>
2022-05-30 14:40:06 +02:00
Aleksandr Chebotov 12cbf387ca Update allowed_inbound_ip_addresses default condition (#5602) 2022-05-24 19:40:15 +03:00
Aleksandr Chebotov c3fb682f73 [ImageGen] Fix allowed_inbound_ip_addresses error (#5597)
* Fix allowed_inbound_ip_addresses error

* Add space
2022-05-24 14:30:13 +03:00
Mikhail Koliada 1996a78b43 fix Ubuntu 22.04 template extension (#5591) 2022-05-23 15:04:06 +03:00
alex-3sr 66359f61ec Add new feature for permit azure tags (#5467) 2022-05-12 13:49:15 +03:00
Aleksandr Chebotov f2c7e4b929 Cleanup AD principal resources (#5481) 2022-05-10 11:26:57 +03:00
Aleksandr Chebotov a27099b057 Add Ubuntu2204 ImageType (#5476)
* Add Ubuntu2204 ImageType

* Update json path
2022-05-04 12:19:49 +03:00
Teemu Tapanila 5da7f5bd60 Limit storageaccount name length to 24 characters (#5396)
* Limit storageaccount name length to 24 characters

* Check if the length of storageAccountName is more than 24
2022-04-13 11:57:22 +03:00
Jacob Blanco 2269ded856 FIX: Write-Host Incorrect calls to variables. (#5102) 2022-02-18 10:22:33 +03:00
alex-3sr 99772f4c61 Add EnableHttpsTrafficOnly for storage (#4789) 2021-12-22 09:11:44 +03:00
Aleksandr Chebotov 54bf98dc42 Update the script to support MSGraph (#4701) 2021-12-10 09:56:11 +03:00
Bob Arnson 881dbcfda3 Fix typo in helpers/GenerateResourcesAndImage.ps1. (#4449) 2021-11-09 19:31:20 +03:00
Zachary Cook c4eeb9c782 Optional passthru of AllowBlobPublicAccess (#4425) 2021-11-08 14:45:41 +03:00
Dibir Magomedsaygitov 2d46e3f4d9 [Ubuntu] Remove Ubuntu16 related code from the VE repository (#4336) 2021-10-26 15:30:59 +03:00
Darleev 9d76ecf422 added logs verbosity (#3964) 2021-08-26 15:30:52 +03:00
Sujith Quintelier 4143d0cc7b Update GenerateResourcesAndImage.ps1 (#3616)
Ubuntu2004 is also a valid option for parameter ImageType
2021-06-21 14:06:00 +03:00
Howard Jones 0cca9be107 Make CreateAzureVMFromPackerTemplate friendlier (#3209)
* Don't assume JSON output

Specify JSON output, since it's required. The default can be changed.

* Make actions easier to track

To make cleanup easier, use the same GUID for all components and report at the end on what was created.
2021-05-05 12:04:44 +03:00
Daniel f109d39c83 Securing packer builds via allowed_inbound_ip_addresses (#3193)
* Trying to handover additional parameters

* Make restriction to agent ip configurable

* Added additional parameter to all other packer files

* Added note about new parameter's incompatibility with other parameters to command line help

* Added line break for better readability

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-05-04 11:39:55 +03:00
Darii Nurgaleev 575108f5a1 Remove GithubFeedToken build parameter (#3184) 2021-04-15 13:05:57 +03:00
Daniel 160f5bedb0 Allow authentication of resource generator script via service principal (#2622)
* Allow authentication of resource generator script via service principal

* Re-use the given service principal in case of parametric authentication

* Updated variable names

* Renamed parameter and variable from AzureTenant to AzureTenantId

* Added Azure DevOps pipeline to build an agent

* Added link to azure pipeline to instructions

* Fixed typo in link

* Removed unnecessary / double brackets

* Untangled credential instantiation to make it more readable

* Removed example yaml file

* Removed unnecessary variable assignment
2021-03-10 23:21:35 +03:00
Maxim Lobanov d8b4ad7284 Update GenerateResourcesAndImage.ps1 2020-10-19 18:53:17 +03:00
Maxim Lobanov 6dd01800ff Update GenerateResourcesAndImage.ps1 2020-10-19 18:51:09 +03:00
Hutson Betts 5282793d8b refactor(windows): consistent file naming
Use the same file naming scheme for Windows as is used for Ubuntu, where
the file name includes the Operating System name and release, but
not the target platform.

This also encourages downstream consumers to re-use the same files with
alternative targets by extending the `builders` section and using the
`-only` command line option with Packer to specify the build target.

Closes #1636
2020-10-07 23:11:54 -05:00
Vladimir Safonkin 745e5b45ff Fix code style 2020-09-25 15:00:21 +03:00
Vladimir Safonkin e12653fe98 Fix credentials in GenerateResourcesAndImage.ps1 2020-09-25 14:08:34 +03:00
zaanposni 3a47b604fd fixes #1633 , using azure module, adjusted documentation 2020-09-22 09:46:15 +02:00
Maksim Petrov f97706e248 Add current commit into logs for custom builds (#1419)
* Show latest commit for custom repos

* Remove unused variables from templates

* Add Get-LatestCommit function

* Fix in synopsis

* Remove SSH_Password variables from Windows Images

* Rename download-customrepo

* Fix in synopsis
2020-08-24 12:31:51 +03:00
Damon Barry 1989cb28bc Use full resource IDs and clean up output (#1370) 2020-08-14 14:14:28 +03:00
Maksim Petrov bedcc8513e Improve documentation (#1321)
* Improve documentation

* Move documentation to CreateImageAndAzureResources.md

Co-authored-by: Alejandro Pauly <alepauly@github.com>
2020-08-04 20:32:35 +03:00
Dmitry Shibanov 5480c49649 fix output 2020-01-24 10:55:32 +03:00
Dmitry Shibanov 87a3b79da5 minor changes 2020-01-24 10:49:02 +03:00
Dmitry Shibanov 5e897e989e update docs and pass github access token 2020-01-23 14:14:05 +03:00
Alejandro Pauly dd28dfa585 Fix scripts to avoid using hosted term which is ambiguous in this context. 2020-01-08 07:56:32 -05:00
Shady Ibraheem 1dcd276b1e Another mop up commit to add missing changes from the last mop-up. 2019-12-13 11:57:37 -05:00
Shady Ibraheem 56f09d567a Get repository up to speed. 2019-12-11 14:58:32 -05:00