Commit Graph

29 Commits

Author SHA1 Message Date
Sergey Dolin
7893bb54f3 [ubuntu] Handle DNS error and errors in the child processes (#2146) 2020-12-02 11:47:01 +03:00
Sergey Dolin
1424801fba [ubuntu] fix sporadic build fails (#2091)
* fix apt-get update

* Improve diagnostic

* handle "IPC connect call failed"

* Handle not-existing tool

* final refactoring

* remove todo

* remove which
2020-11-25 11:19:51 +03:00
VNiharika1
5806c3aa85 Cache Update (#2066)
* Cache Update

Some base images of the ubuntu on AWS contains an outdated cache. So, when tries to installs the package we receive an error `unable to locate package`. To install the package, added the line `apt-get update`  to update the cache.

* Rebase and commit
2020-11-19 12:29:15 +03:00
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
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
Aleksandr Chebotov
ad583eba90 add reboot for Ubuntu20 2020-11-05 15:53:49 +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
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
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
Sergey Dolin
1d4f281899 Add -e to .sh scripts 2020-10-12 15:47:09 +05:00
Aleksandr Chebotov
2881a81b22 move apt pkgs to the toolset.json 2020-09-08 14:40:56 +03:00
Mikhail Timofeev
a7ee8ab672 move IsInstalled and apt-fast 2020-07-08 22:28:23 +03:00
Greg Swallow
6e50cf94ab Paragraphs (or stanzas) should cover 1 topic only. (#1062)
* Paragraphs (or stanzas) should cover 1 topic only.

* No need for options.
2020-06-17 19:26:41 +03:00
Sergey Dolin
e1fb068300 add Homebrew on Linux (#589)
* Add homebrew installation and validation scripts

* Update `/etc/environment` in `updatepath.sh` script

Keep this code for sake of compatibility with the existing installation logic. It will be changed in its own PR

* Remove env. variables from homebrew validation task

* Move reboot to the dedicated script and task

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-04-10 12:20:16 +03:00
Andrey Mishechkin (Akvelon INC)
e586b4ecc2 Debub the Unbuntu builds 2020-02-23 19:13:39 +04:00
Andrey Mishechkin (Akvelon INC)
3755a9ea24 Adding the Ubuntu 18 repository has been revoved from repos.sh 2020-02-21 13:38:06 +04:00
Andrey Mishechkin (Akvelon INC)
fc972505b7 Setting '-y' has been added to installation of apt-transport-https 2020-02-21 13:38:05 +04:00
root
6da930087b dotnetcore-sdk.sh has been refactored for using in both Ubuntu 16/18 deployments 2020-02-21 13:38:05 +04:00
Shady Ibraheem
f396818e23 Inital commit. 2019-11-15 15:38:01 -05:00