Commit Graph

62 Commits

Author SHA1 Message Date
Subir Ghosh
fd1af56b4f Change URL for packages (#11997)
* fix:URL for packages

* chore Add co-author
>
> Co-authored-by: greg dryke <no-reply@github.com>

* chore: Incorporate Review comments

* fix: remove redundant initialization
2025-04-11 11:53:08 -06:00
Shamil Mubarakshin
7809601472 Remove deprecated parameters from GenerateResourcesAndImage helper (#11690) 2025-03-10 13:27:39 +01:00
Alexey-Ayupov
b28a1045e6 Add the ability to specify Packer Azure plugin version (#11587) 2025-02-13 16:46:42 +01:00
Shamil Mubarakshin
f27bce4030 Add Windows2025 to GenerateResourcesAndImage.ps1 (#11404) 2025-01-16 18:43:53 +01:00
Mikhail Koliada
4abf97ab13 Add ubuntu 24.04 to custom image scripts generator (#9868) 2024-05-16 19:12:29 +02:00
Shamil Mubarakshin
4d310f0a59 Cleanup json formatted packer template references (#9165) 2024-01-15 16:40:23 +01:00
Shamil Mubarakshin
a5519ebed0 [ubuntu] Change packer templates from json to hcl (#8991)
* [ubuntu] Change packer tempaltes from json to hcl

* Add packer init

* Fix variable types for Ubuntu20 template
2023-12-13 09:19:03 +01:00
Shamil Mubarakshin
ea64263b41 [windows] Change packer templates from json to hcl (#8999) 2023-12-13 09:17:44 +01:00
Vasilii Polikarpov
b0fc01efc6 Add deprecation warning to GenerateResourcesAndImage helper (#8958) 2023-12-06 13:56:10 +01:00
Stefano Di Nucci
ae6af1b8db Add support to client secret containing hyphens (#8927) 2023-11-30 19:10:31 +01:00
Vasilii Polikarpov
d7c36f2257 Fix issue where GetPackerTemplatePath fails in PS5 (#8852) 2023-11-21 10:38:18 +01:00
Shamil Mubarakshin
f2a3cad69a [ubuntu] Fix template names in GenerateResourcesAndImage.ps1 (#8815) 2023-11-15 19:58:19 +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
Vasilii Polikarpov
2094c7eb2c Escape quotes when running in PowerShell 7.0-7.2 (#8705) 2023-11-01 20:19:37 +01:00
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
Vasilii Polikarpov
8077d7b42b Switch to build managed image instead of VHD (#8167) (#8208) 2023-08-31 16:21:15 +02:00
Vasilii Polikarpov
5fca0f3f62 Rewrite helper script for image generation (#8065) 2023-08-11 14:31:07 +02:00
Vasilii Polikarpov
6ed173f0ad Fix issue where tags json is wrong in PS5 (#8058) 2023-08-09 11:50:49 +02:00
Tom Burgess
9215ea61f8 specify min tls for supporting stg acct - to support MS policy (#7920) 2023-07-24 10:48:38 +02:00
Shamil Mubarakshin
7e295782c3 Add double quote escaping and update documentation (#7613) 2023-05-18 09:26:10 +02:00
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
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
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
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
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