Commit Graph

82 Commits

Author SHA1 Message Date
Leonid Lapshin
86adee10d0 [MacOS] Build VM packer spec changed (#2359)
* scheduling condition added and changed VMs specs for macos

* typo

* changed conditions order

* fixed an error

* added spec parameters that use pipeline variables values

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 17:46:17 +03:00
Darii Nurgaleev
0a9570b623 [macOS] change Invoke-Pester function (#2261)
* [macOS] change Invoke-Pester function

* added new logic

* try another approach.

* invoke-tests change

* added a little bunch of tests.

* remove import from browsers

* added source for all tests covered scripts.

* run all tests.

* added proper module import

* RunAll-Tests.ps1 changes.

* added shebang

* added new approach for tests.

* the first line should be shebang

* fixed nitpicks
2020-12-17 15:37:19 +03:00
Mikhail Timofeev
52a29b9213 fix templatepath and image variables (#2230) 2020-12-10 13:25:37 +03:00
Mikhail Timofeev
b392aa60bd set parameters explicitly (#2221) 2020-12-09 10:11:53 +03:00
Maxim Lobanov
8d6d64a04e Implement script to parse provisioners duration from packer diagnostic logs (#2137)
* testing

* Update image-generation.yml

* Update image-generation.yml

* fix comments

* Update measure-provisioners-duration.ps1
2020-11-27 10:50:54 +03:00
Maxim Lobanov
cb4022de26 Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-17 11:59:19 +03:00
Aleksandr Chebotov
7fe3cd21ca move up the readme stage 2020-11-16 10:12:38 +03:00
Maxim Lobanov
d4cee3bfaa Merge branch 'main' of https://github.com/actions/virtual-environments into v-malob/xcode 2020-11-13 20:37:18 +03:00
Aleksandr Chebotov
9ef75097cf pick up a random datastore by condition (#2057) 2020-11-13 18:00:58 +03:00
Maxim Lobanov
49aab970c1 Update download-repo.ps1 2020-11-03 22:31:54 +03:00
Maxim Lobanov
0ecd928d5e Merge pull request #1795 from Darleev/v-danurg/lint_shebang_ubuntu
Shebang lint for Ubuntu/MacOS
2020-10-27 20:31:07 +03:00
Mikhail Timofeev
47eaa69646 [macOS] Improve select datastore script (#1892)
* modify script to set tages

* add vmname

* nitpicks

* add remove tag
2020-10-26 14:37:18 +03:00
Darii Nurgaleev
d31e289dc6 Merge remote-tracking branch 'upstream/main' into v-danurg/lint_shebang_ubuntu 2020-10-24 23:22:16 +07:00
Andrey Mishechkin (GITHUB INC)
39b79427d6 minor bugfixing 2020-10-22 12:35:09 +04:00
Andrey Mishechkin (GITHUB INC)
de3f459f1a Nitpic changes 2020-10-22 12:00:39 +04:00
Andrey Mishechkin (GITHUB INC)
a80592397f nitpick changes 2020-10-22 11:59:11 +04:00
Andrey Mishechkin (GITHUB INC)
81ad74e827 if($Vm.PowerState -ne "PoweredOff") condition has been added 2020-10-21 21:06:52 +04:00
Andrey Mishechkin (GITHUB INC)
2a693f9e18 Power off and renaming the failed VM has been addded to move-vm.ps1 2020-10-21 18:42:43 +04:00
Maxim Lobanov
478e20cb4a Update image-generation.yml 2020-10-19 10:28:59 +03:00
Maxim Lobanov
3a35583182 Update image-generation.yml 2020-10-19 09:47:10 +03:00
Maxim Lobanov
9229296dd2 fix build number 2020-10-19 09:39:11 +03:00
Maxim Lobanov
52ce3618d5 fix build number 2020-10-19 09:18:41 +03:00
Maxim Lobanov
7f7c287c04 Update image-generation.yml 2020-10-16 12:42:54 +03:00
Maxim Lobanov
6423cb0f32 Update image-generation.yml 2020-10-16 12:30:42 +03:00
Darii Nurgaleev
b3a337ea8a returned return 2020-10-14 02:04:32 +07:00
Darii Nurgaleev
8786b3e436 added corrected things 2020-10-13 21:39:12 +07:00
Darii Nurgaleev
dcfa420873 Merge remote-tracking branch 'upstream/main' into v-danurg/lint_shebang_ubuntu 2020-10-13 21:37:13 +07:00
Darii Nurgaleev
d237f71482 added intendation 2020-10-13 21:36:03 +07:00
Darii Nurgaleev
955aec5bef added new linter 2020-10-13 21:32:58 +07:00
Darii Nurgaleev
be8eba42a1 added error to linter 2020-10-13 21:26:48 +07:00
Darii Nurgaleev
dfa109e3b6 added additional logging 2020-10-13 21:21:37 +07:00
Darii Nurgaleev
b6357f0e00 removed relative path 2020-10-13 21:02:57 +07:00
Darii Nurgaleev
d2fc140343 removed dummy line 2020-10-13 20:49:07 +07:00
Darii Nurgaleev
f4b59cee6f ok 2020-10-13 20:47:35 +07:00
Darii Nurgaleev
6238508a21 added relative path instead of fullpath 2020-10-13 20:02:18 +07:00
Darii Nurgaleev
01e2f948f6 added latest changes. 2020-10-13 18:31:14 +07:00
Darii Nurgaleev
a191335ab6 last comments resolved. 2020-10-13 18:06:14 +07:00
Mikhail Timofeev
d8857768e9 [macOS] Switch image generation to faster datastores (#1801)
* select datastore script

* add debug message

* add move-vm and helpers

* add error action

* formatting the script

* nits

* add missing quotes

* add synopsis
2020-10-13 13:56:37 +03:00
Darii Nurgaleev
e88c5b8f09 added all changes. 2020-10-13 17:55:00 +07:00
Darii Nurgaleev
4f08343661 added comments 2020-10-13 17:25:30 +07:00
Darii Nurgaleev
fe4def7739 resolve comments. 2020-10-13 17:24:06 +07:00
Darii Nurgaleev
374bf8e5cd resolve comments 2020-10-13 17:10:22 +07:00
Darii Nurgaleev
a766bb164b added linter for ubuntu 2020-10-13 02:45:29 +07:00
Aleksandr Chebotov
cb16dfc174 [images.CI] Delete macOS VMs on build canceling (#1742)
* destroy vm

* destroy vm

* check clone status

* fix vm state

* remove exit 1

* fix params

* suppress stop-vm output

* replace or -> Or

* rename doc terms
2020-10-08 15:27:39 +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
Dmitry Shibanov
9a48139d0e add attempts 2020-09-22 12:54:47 +03:00
Dmitry Shibanov
0d663601b6 Check environment variables 2020-09-22 11:25:51 +03:00
MaksimZhukov
a8a908b63e Implement public CI for MacOS builds 2020-09-16 19:44:58 +03: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
Maxim Lobanov
bb03b541e0 Switch from master to main branch (#1248) 2020-07-16 16:01:44 +03:00