Commit Graph

197 Commits

Author SHA1 Message Date
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
Mikhail Timofeev
021e7bc68b Add Ubuntu 20 image (#883)
* add ubuntu 20 yml

* add ubuntu 20.04

* add toolcache

* add config

* install ansible from oficial canonical repo

* remove azure-cli

* remove azure-devops-cli

* libcurl3 -> libcurl4

* libcurl4

* install python2

* install clang9 directly from apt-get

* remove swift

* fix libcurl in the right place

* remove docker-moby

* remove dotnetcore-sdk

* remove haskell

* remove azul jdk

* remove leingen

* remove php

* remove sbt

* fix lsb release

* remove mongodb

* remove >> for go installation

* install only python3

* remove pip version

* remove add-apt-repository -y ppa:apt-fast/stable

* remove android

* remove powershell

* remove python from tests

* add java back

* change heroku installation

* get back leingen

* get back android

* remove set -e from java installation

* get back apt-fast

* remove git-lfs install from packagecloud

* add pip installation for python2

* get back set -e to java-tools.sh

* change ansible installation

* add pip to python

* Revert "install clang9 directly from apt-get"

This reverts commit e7d965f5b4.

* Revert "change heroku installation"

This reverts commit 4fb3c0c3eb.

* Revert "remove php"

This reverts commit d64ce162b8.

* change CRLF to LF for php installation

* get back heroku to template

* get back haskell

* get back dotnet

* install pwsh via snap

* remove netcore 3.0 & 2.2

* add azpowershell

* Upgrade to Az 3.8

* Update Validate-AzureModules.ps1

* Fix formatting in doc-string for Rust for Windows-image.

Ensure output in ` images/win/Windows2019-Readme.md` looks proper.

[Live in master right now](https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md#rust-64-bit), it looks kinda bad.

* added workaround for default DNS

* revert changes

* Don\'t create backup sed file (#792)

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>

* Updated README with new rules of tool installation. (#793)

* Update README with new rules of tool installation.

* fixed typo

* fix notes

* another minor fix

* fixed articles

* fixed license line

* Add Python toolcache installation from Github releases for Ubuntu (#704)

Change logic to install Python to Ubuntu images to use GitHub releases from https://github.com/actions/python-versions

* Software list: "do not change" label. (#796)

* added_advises

* change place for hided stirng.

* changed to more direct message.

* Fail fast in image generation if not enough disk space for customers (#767)

* added checking free disk space
Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>

* Add FS-iSCSITarget-Server (#805)

* Updating readme file for win19 version 20200426.1

* Add Python tools installation from Github releases for Windows (#705)

* Add Toolset provision for Windows
Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>

* Updating readme file for macOS version 20200425.1 (#801)

* Updating readme file for win16 version 20200426.1

* change min free space to 18000Mb (#814)

* Added java 13 package in VM (#795)

* Added java 13 package in VM

* Fixed var name

* Make changes from 11 to 13

* added java 13 for validate-javatool

* Fix documentation for containertools

* pre-create .composer folder to preserve permission

* Fix minor glitch in installer message

echo "cmake is already installed"

* added workaround for default DNS (#819)

* workaround reverted

* Improve Windows provisioners stability (#733)

* Improve Install-CloudFoundryCli.ps1

* Improve Install-Go.ps1

* Improve Install-Kind.ps1

* Improve Install-MysqlCli.ps1

* Improve Install-Rust.ps1

* Improve Install-SQLPowerShellTools.ps1

* Improve Update-AndroidSDK.ps1

* Fix issue with resolve

* Improve Windows Visual Studio provisioners (#758)

* Add retries to DotnetSDK provisioner

* Improve VS provisioners

* Fixes in syntax

* Fixes in syntax

* Rename Install-VS function

* Remove bootstrapperName parameter from Install-VisualStudio

* Small fix

* Improve Windows browsers provisioners stability (#725)

* Improve Chrome provisioner

* Improve Edge provisioner

* Improve Firefox provisioner

* Resolve conflicts in Install-Chrome.ps1

* Add retry logic for javatools (#802)

* Add retry logic for javatools

* Add retry logic for Selenium server download (#807)

* Add retry logic for selenium

* Refactoring

* Add retries for Selenium release info

* Minor fix

* Fix kubectl installation (#799)

* Fix kubectl installation

* Fix kubectl installation

* Add --client flag

* Fix for ubuntu 16.04

* Move kubectl apt packages installation to basic.sh

* Combined separated scripts for kubectl installation to one

* Minor fix

* Remove apt-transport-https package from basic.sh

* Delete helm init

* Disable crash reporting (#826)

* disable jit debugger

* override settings asfter vs installation

* Fix maven environment variable (#831)

* Updating readme file for macOS version 20200430.1 (#846)

* Add nodejs toolcache for windows (#840)

* add installation of nodejs

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>

* Add nodejs tool cache for linux. (#839)

* add nodejs

* 4 node versions

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>

* Hide packages that are no longer required (#854)

* Updating readme file for macOS version 20200430.1

* hide AutomaticRemove info

* added SSDT workload to VS 2019 (#844)

* Install Go to hostedtoolcache directory on Ubuntu image (#848)

* Move go location to the toolcache

* Install Go to hostedtoolcache directory on Windows image (#849)

* Move installed go versions to toolcache directory

* Updating readme file for win19 version 20200430.2

* Updating readme file for ubuntu16 version 20200430.2

* Install Windows 10 SDK (10.0.14393.795) via standalone installer (#862)

* add win10 sdk 10.0.14393

* markdown changes

* Add msys2 installation and validation (#632)

* SQL Server Data-Tier Application Framework latest upgrade. (#863)

* DACFx_latest_version_install

* Fix the cleanup script. (#856)

* Fix the cleanup script.The result is not returned to the variable because of the output redirect

* Added the cancel timeout.

* Update Haskell tool Stack (#860)

* Update Haskell tool Stack

* Update haskell script to install stack from get.haskellstack.org

* Updating readme file for win16 version 20200505.1

* Updating readme file for ubuntu18 version 20200430.1

* Switch Expand-Archive to 7zip on Windows image generation (#861)

* switch expand-archive to 7zip on windows

* [Ubuntu] Add Azcopy10 (#871)

* Add azcopy10

* Add spaces after azcopy

* add condition to ansible

* deprecated software Ubuntu 20.04

* install powershell Ubuntu 20.04

* use function in ansible

* move preparemetadata.sh to installers folder

* update preimagedata.sh ubuntu20

* add confition for dotnetsdk

* scripts/installers/2004/android.sh

* python.sh ubuntu 20.04

* simplify conditions

* remove toolcache.json

* get back note in readme

* remove workaround for git-lfs

* Az 3.8.0 Ubuntu 20.04

* fix kubernetes-tools in template

* add helpers script to os.sh

* remove old android, old cabal

* remove platform tools

* remove java7 for ubuntu20

* stay only go 1.14 Ubuntu 20.04

* add helper to python.sh

* add os.sh helper to azpwsh and java

* remove apis from documented

* remove addons google-api

* Install Az latest module

* get back swift

* set java 11 as default

* change offer and sku

* Revert "change offer and sku"

This reverts commit d5d92a553a.

* Unite mercurial scripts

* combine basic scripts for ubuntu 18 & 20

* add os.sh to basic.sh

* Revert "set java 11 as default"

This reverts commit aada5b12b0.

* set Java11 by default, set Java8 for Androidsdk

* rework php script

* remove rid of php.sh files

* move installation to for loop

* add disk space validation

Co-authored-by: Christoph Bergmeister [MVP] <c.bergmeister@gmail.com>
Co-authored-by: Jostein Kjønigsen <jostein@kjonigsen.net>
Co-authored-by: Darii Nurgaleev <Darleev@github.com>
Co-authored-by: Sergey Dolin <v-sedoli@microsoft.com>
Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
Co-authored-by: Vladimir Safonkin <vsafonkin@gmail.com>
Co-authored-by: Dariy Nurgaleev <50947177+Darleev@users.noreply.github.com>
Co-authored-by: Nikita Bykov <49442273+nikita-bykov@users.noreply.github.com>
Co-authored-by: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com>
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Maksim Petrov <47208721+vmapetr@users.noreply.github.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: phozzy <arthur.fayzullin@gmail.com>
Co-authored-by: Jorgen Thelin <jthelin@microsoft.com>
Co-authored-by: Dmitry Shibanov <shibanov-1997@inbox.ru>
Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
Co-authored-by: cage200 <patruadrian@yahoo.com>
Co-authored-by: Junyoung Clare Jang <jjc9310@gmail.com>
Co-authored-by: Dibir Magomedsaygitov <61747324+dibir-magomedsaygitov@users.noreply.github.com>
Co-authored-by: Aleksandr Chebotov <v-aleche@microsoft.com>
2020-05-26 18:45:48 +03:00
Aleksandr Chebotov
521b0c5e28 Add flag validation diskspace and set false(skip) step by default (#909)
* flag validation diskspace

* display Available disk space

* update image.CI

* add image.CI flag

* update env RUN_VALIDATION_FLAG
2020-05-21 09:08:52 +03:00
cage200
ac5e5e3bbc Fix the cleanup script. (#856)
* Fix the cleanup script.The result is not returned to the variable because of the output redirect

* Added the cancel timeout.
2020-05-12 18:47:44 +03:00
Dariy.Nurgaleev
ad0ddd13e7 added credscan file to ignore SQL Express pass 2020-04-07 17:57:47 +07:00
Marco Mansi
9b2f575307 Fix error "NoProcessFoundForGivenName" when running Disable-InternetExplorerESC
The error happens because we try to stop the Explorer process which may not running,
so let's check first if the process is running.
2020-03-16 23:07:01 +01:00
Mikhail Timofeev
6d40dbd2e4 fix readme name (#557) 2020-03-14 12:34:27 +03:00
Nikita Bykov
0deb800ffa deleted the extra bracket 2020-03-11 12:24:38 +03:00
Nikita Bykov
c8fe3857b9 fixed inline script 2020-03-11 12:12:54 +03:00
Nikita Bykov
c7b3b38ac5 Added "Output Readme file content" step to Image generation 2020-03-10 17:23:36 +03:00
Maxim Lobanov
d92fbab650 Update image-generation.yml 2020-02-26 11:39:53 +03:00
Maxim Lobanov
c100b2846d resolve comments 2020-02-26 11:36:04 +03:00
Maxim Lobanov
f85d7ff275 enable scheduling 2020-02-25 19:32:18 +03:00
Maxim Lobanov
9cc623aaa9 Add explanation why we use Azure DevOps CI 2020-02-25 19:07:45 +03:00
Dmitry Shibanov
fb51ff3b1d Change image prefix (#14)
* add release step

* add creation release

* move file to another folder

* resolve comments

* minor changes

* change BuildNumber to BuildId
2020-02-21 11:34:07 +03:00
MaksimZhukov
883c1e3253 Update comment 2020-02-21 10:30:54 +03:00
MaksimZhukov
aa4c025a44 Add comment 2020-02-20 22:23:17 +03:00
MaksimZhukov
50cd92aade Fix github issue 2020-02-20 19:10:36 +03:00
Dmitry Shibanov
56bc08104e Add deployment step (#4)
* add release step

* add creation release

* move file to another folder

* resolve comments

* minor changes
2020-02-20 17:52:12 +03:00
MaksimZhukov
779cef9b67 Merge pull request #3 from akv-platform/v-mazhuk/download-custom-repository
Add ability to run CI build on custom repository
2020-02-19 20:59:56 +03:00
MaksimZhukov
68bde64222 Change step to PowerShell task 2020-02-19 14:30:44 +03:00
MaksimZhukov
82bdea2dfe Update variables names 2020-02-19 10:58:59 +03:00
MaksimZhukov
33a765dcc5 Change pwsh step to powershell step 2020-02-18 17:19:11 +03:00
MaksimZhukov
f4bd0f2a6a Minor update 2020-02-18 17:09:48 +03:00
MaksimZhukov
9c41221b9b Minor updates 2020-02-18 17:05:00 +03:00
MaksimZhukov
b1a3c37984 Add logs filter 2020-02-18 16:50:11 +03:00
MaksimZhukov
6aeaad42ea Add step with download custom repository 2020-02-18 15:37:23 +03:00
MaksimZhukov
60dc082e2f Minor update 2020-02-17 17:31:08 +03:00
MaksimZhukov
9b8fe11d2c Remove ValidateSet 2020-02-17 17:25:55 +03:00
MaksimZhukov
624b905bc9 Remove log messages 2020-02-17 13:48:05 +03:00
MaksimZhukov
0295b6f57e Move variables group 2020-02-15 20:52:05 +03:00
MaksimZhukov
78ce3a0bd3 Change the script steps to the PowerShell tasks 2020-02-14 19:44:06 +03:00
MaksimZhukov
9b52e4043f Configure yml files for the images 2020-02-14 19:09:09 +03:00