Commit Graph

652 Commits

Author SHA1 Message Date
Vladimir Safonkin
7f1a7b4177 [Ubuntu] Migrate tests for Android to Pester (#2313)
* Add Pester tests for Android on Ubuntu

* Minor fix

* Move Get-AndroidPackages to common helpers

* Minor fix

* Delete Android test name for invoke_tests script
2020-12-24 12:14:41 +03:00
Aleksandr Chebotov
ac87b63b13 [Ubuntu] Migrate PowerShell and Docker tests to Pester (#2317)
* PowerShell and Docker Pester tests

* no pester module

* import pester

* invoke docker with sudo

* remove native test

* add fix for az 1.0.0 module

* revert powershellget installation

* revert flag Force

* add $ProgressPreference = "SilentlyContinue"
2020-12-23 15:18:48 +03:00
Dibir Magomedsaygitov
a9a236f7e5 [Ubuntu] Migrate tests for common tools to Pester (part 1) (#2288)
* add common tools tests pt1

* fix tests

* fix erlang test

* resolve comments

* minor changes

* remove extra logging
2020-12-23 10:25:52 +03:00
Dibir Magomedsaygitov
90ecf07404 [Ubuntu] Migrate tests for CLI tools to Pester (#2289)
* add tests for cli tools to pester

* small fix

* remove extra commenting

* resolve issues

* fix vercel test

* remove extra logging
2020-12-21 23:35:22 +03:00
Dmitry Shibanov
4de7f89a42 Add PYPY_VERSION file to the images (#2285)
* add PYPY_VERSION file

* resolving comments

* fix output for windows

* add fix for windows
2020-12-21 15:07:19 +03:00
Dibir Magomedsaygitov
2b93b03377 [Ubuntu] Implement first Pester tests (#2270)
* implement first pester tests

* add comment for azcopy test

* remove extra importing and old function

* resolve comments

* fix typo
2020-12-17 09:52:09 +03:00
Aleksandr Chebotov
d7b5e5afb7 [Ubuntu] Fix add key in containers.sh script (#2196)
* fix add key

* fix apt-key add
2020-12-07 15:48:49 +03:00
Shivam Mathur
c899ed38f9 [Ubuntu] Add PHP 8.0 (#2162) 2020-12-03 18:32:57 +03:00
Dibir Magomedsaygitov
77db8c40a0 [Ubuntu] Fix Openshift-client installation (#2184)
* fix oc installation

* resolve issue
2020-12-02 19:28:36 +03:00
Darii Nurgaleev
a94b661b02 [Ubuntu] Additional verification for container's tools (#2175)
* Additional verification for container's tools

* changed verification according to other scripts.

* added for loop

* create array for tools.
2020-12-02 14:46:08 +03:00
Ewout ter Hoeven
a7287233bc [Ubuntu] Always install latest CMake version (#2131)
* [Ubuntu] Always install latest CMake version

Should fix #2129 and succeeds #2126 

Thanks to @unfor19 for [this solution](https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8#gistcomment-3459923)

Please test extensively.

* [Ubuntu] CMake.sh: Use jq instead of grep

* [Ubuntu] cmake.sh: Extract URL directly from API output

Co-authored by @al-cheb, thanks!
2020-12-02 12:57:05 +03:00
Leonid Lapshin
55d0c3bed6 [ubuntu] Improve dotnet SDKs installation (#2078)
* download dotnet sdk with retries

* url file doesnt exists

* changed background processes to gnu parallel

* moved scriptblock to function

* fixed path

* changed rsync to mv

* typo

* rsync with remove-source-files option

* minor function changes

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-01 10:26:50 +03:00
Dibir Magomedsaygitov
91c6620f2d replace http to https (#2133) 2020-11-30 18:22:41 +03:00
Dibir Magomedsaygitov
38b0a6005d [Ubuntu] Pre-cache Ruby binaries (#2084)
* precache ruby binaries

* remove github_feed_token

* fix logs
2020-11-27 10:52:00 +03:00
Ewout ter Hoeven
b170f4b6c6 [Ubuntu] Update CMake to 3.19.1 (#2126)
Update CMake from 3.17.0 to 3.19.1 on the Linux/Ubuntu images. Release notes: https://cmake.org/cmake/help/latest/release/index.html
2020-11-26 11:04:25 +03:00
Andy Mishechkin
61c1c8df4f gfortran-10 has been added (#2103)
* GFortran-10 has been added

* Checkin of Ubuntu version has been added
2020-11-25 10:13:17 +03:00
Vladimir Safonkin
a454d66e7f [Ubuntu] Add MS SQL Tools version (#2046)
* Add MS SQL Tools version

* Minor fix

* Move MS SQL tools installation to separated file

* Minor fix

* accept yula
2020-11-17 10:18:27 +03:00
Maxim Lobanov
8d330bd360 Merge pull request #2053 from akv-platform/al-cheb/add-ubuntu-pwsh71
[Ubuntu20] Swap Ubuntu-20.04 powershell installation from snap to official package
2020-11-13 14:45:53 +03:00
Aleksandr Chebotov
8c36184139 remove Az.Accounts=1.9.5 fix 2020-11-13 10:22:49 +03:00
Maxim Lobanov
a58a4d46c3 Merge pull request #1994 from dibir-magomedsaygitov/v-dimago/add-dotnet-5.0-ubuntu
[Ubuntu] Move list of .Net Core versions to install to toolset
2020-11-12 12:09:49 +03:00
Aleksandr Chebotov
baa945c304 swap snap to apt-get 2020-11-12 10:48:00 +03:00
Maxim Lobanov
9463890e1e Merge pull request #1945 from shivammathur/shivammathur-php
[Ubuntu] Add php-dev and php-pear
2020-11-10 15:36:59 +03:00
Shivam Mathur
25239b5156 Add php-dev and php-pear (#1944) 2020-11-06 10:35:05 +05:30
Leonid Lapshin
981df9e44f revert brew fix 2020-11-06 00:56:14 +03:00
Leonid Lapshin
45b33107cd Fix brew repository permissions to make it clean 2020-11-06 00:33:39 +03:00
Leonid Lapshin
76969aa236 Merge branch 'main' of https://github.com/actions/virtual-environments into v-llaphin/fix-path 2020-11-06 00:32:36 +03:00
Aleksandr Chebotov
567e92c4dc [Ubuntu] Freeze Az.Accounts module for Ubuntu 20 (#1993)
* add reboot for Ubuntu20

* freeze Az.Accounts 1.9.5
2020-11-05 23:01:06 +03:00
Leonid Lapshin
0269bec6f4 grep first entry of PATH 2020-11-05 22:08:19 +03:00
Dibir Magomedsaygitov
7f98841545 small rework 2020-11-05 19:35:43 +03:00
Dibir Magomedsaygitov
46520bfdb3 install dotnet-core 5.0 on ubuntu 2020-11-05 19:14:50 +03:00
Leonid Lapshin
31b11e1576 select last entry of PATH, respect eol 2020-11-05 15:38:26 +03:00
Leonid Lapshin
98731b3621 get PATH from /etc/environment 2020-11-05 10:36:01 +03:00
Aleksandr Chebotov
2842ad4c00 Revert "[Ubuntu] Install pwsh using dotnet tool" (#1979) 2020-11-04 14:29:44 +03:00
Leonid Lapshin
9d8d110fcf typo 2020-11-04 00:42:36 +03:00
Leonid Lapshin
09533dd5e9 fixed comment 2020-11-03 15:56:49 +03:00
Leonid Lapshin
9fe3134cd6 remove quotes on post-deployment step 2020-11-03 15:55:19 +03:00
Aleksandr Chebotov
8d270229b3 install pwsh using dotnet tool 2020-11-03 11:04:47 +03:00
Aleksandr Chebotov
c66d9d4e72 use toolset to install az module 2020-11-02 14:22:07 +03:00
Maxim Lobanov
4d10ad5ac9 Merge pull request #1912 from dibir-magomedsaygitov/v-dimago/clean-yarn-and-npm-cache-ubuntu
[Ubuntu] Clean yarn and npm cache
2020-10-28 12:15:06 +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
Dibir Magomedsaygitov
75112c4449 clean yarn and npm cache 2020-10-27 17:24:59 +03:00
Darii Nurgaleev
b6e1216543 [ubuntu] Disable automatic updates to avoid apt lock issue. (#1761)
* added shutdown-apt-service.sh script

* added logging

* added new status

* shutdown service check

* removed apy.daily from apt.sh

* Another way to disable automatic updates;

* fix deployment files.

* enable retry logic for apt

* add PowerShellGet installation before az modules

* fixed a comment

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-27 13:16:55 +03:00
Darii Nurgaleev
44d1f85e34 add missed shebang 2020-10-24 23:30:27 +07:00
Mikhail Timofeev
dee484a90c remove chmod 2020-10-22 10:49:07 +03:00
Leonid Lapshin
af562625fc added a swiftc symlink [Ubuntu] (#1832)
* added a swiftc symlink

* swiftc points to swiftc

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-20 11:45:08 +03:00
Aleksandr Chebotov
4d80b71225 do not install obsolete build-tools packages 2020-10-14 15:03:11 +03:00
Maxim Lobanov
f38833acec Merge pull request #1755 from dsame/v-sedoli/set-e-ubuntu2
Fail Ubuntu image building on error in generation scripts
2020-10-13 08:56:35 +03:00
Leonid Lapshin
ed38c86cbb Move linux provision scripts to virtual-environments (#1714)
* add linux-related scripts from MMS provisioner

* removed EOL

* removed Ubuntu condition

* moved PATH checking to cleanup section

* add clarification for cgroups names

* names alignment

* removed memory-configuration and agent specific scripts

* renamed folder to psot-generation, added template instructions

* moved key import to git installation

* moved PATH check to post-deployment instead of cleanup script

* add scripts

* output tests file

* add startup logic

* add powershell module for furute helpers

* removed unused modules

* copy to tmp folder because of permissions, copy to opt on post-generation step

* removed Pester test

* change post-generation location

* incorrect if statement

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-10-12 17:44:31 +03:00
Sergey Dolin
1d4f281899 Add -e to .sh scripts 2020-10-12 15:47:09 +05:00
Maxim Lobanov
65f9b7ff6b Merge pull request #1726 from vsafonkin/v-vlsafo/add-pipx-ubuntu
[ubuntu] Add pipx and install yamllint and aws sam cli through it.
2020-10-09 09:41:40 +03:00