Commit Graph

539 Commits

Author SHA1 Message Date
Sergey Dolin
d79dfb95aa [ubuntu] Limit apt sources to the actual architectures (#2021)
* limit apt sources to the actual architectures

* Move the modification from its own file to base/apt.sh

* Add comment
2020-11-17 11:03:23 +03:00
Vladimir Safonkin
7dae76249b [ubuntu][windows] Remove announcements from generation (#2063) 2020-11-17 10:20:55 +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
Leonid Lapshin
0216e5ce2b [ubuntu] Remove unattended upgrades (#2036)
* remove unattended upgrades package

* comment

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-11-11 21:47:51 +03:00
Sergey Dolin
ec9befb26a Workaround for apt db locked by WALinuxAgent v2 (#2000)
* retry apt if lock is held by other process

* Increase timeout and change grep string
2020-11-11 14:01:41 +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
Aleksandr Chebotov
ad583eba90 add reboot for Ubuntu20 2020-11-05 15:53:49 +03:00
Leonid Lapshin
31b11e1576 select last entry of PATH, respect eol 2020-11-05 15:38:26 +03:00
Sergey Dolin
ff49068542 Print more informantion about cached Docker images linux (#1906)
* Add docker full info

* make tabular output

* fix shebang

* remove created at time

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-11-05 12:20:40 +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
Maxim Lobanov
f5e35ccb9d Merge branch 'main' into v-sedoli/fix-apt 2020-11-02 20:10:38 +03:00
Aleksandr Chebotov
c66d9d4e72 use toolset to install az module 2020-11-02 14:22:07 +03:00
Sergey Dolin
541036c2d1 fix shbang 2020-10-30 01:03:37 +05:00
Sergey Dolin
cab74c1ab9 investigate failed 1604 build 2020-10-30 01:01:35 +05:00
Sergey Dolin
76f57f69f2 run remove mocks as root 2020-10-30 01:01:35 +05:00
Sergey Dolin
002a944511 Add memo comment 2020-10-30 01:01:35 +05:00
Sergey Dolin
4419d31ea7 add apt-mock-remove script 2020-10-30 01:01:35 +05:00
Sergey Dolin
babd2e2156 use fuser 2020-10-30 01:01:35 +05:00
Sergey Dolin
ae7cb7f1a5 add shbang 2020-10-30 01:01:34 +05:00
Sergey Dolin
6696fa537a make retries 2020-10-30 01:01:34 +05:00
Sergey Dolin
82e4ec4a0a Add verbose versions of apt 2020-10-30 01:01:34 +05: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
Mikhail Timofeev
a5ef7bd7ef [Ubuntu] Add apt-fast version to readme (#1846)
* add apt-fast

* change to apt list

* simplify the function
2020-10-20 12:38:05 +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
9a268303fb fix gradle version 2020-10-16 15:38:06 +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