Commit Graph

43 Commits

Author SHA1 Message Date
Aleksandr Chebotov 6de62ee5a4 Apt Always-Include-Phased-Updates (#5873) 2022-07-08 08:49:35 +03:00
Aleksandr Chebotov 9f92c57e69 Remove step to install Microsoft GPG public key (#5710) 2022-06-08 17:31:08 +03:00
Mikhail Koliada 9e4822e54e [Ubuntu] rework Microsoft repo installation (#5680) 2022-06-03 14:48:40 +03:00
Aleksandr Chebotov 36ddf7491f Remove ssh legacy fix for Ubuntu Server 22.04 (#5645) 2022-06-01 11:08:42 +03:00
Aleksandr Chebotov 9d80842cc3 [Ubuntu] Add Ubuntu Server 22.04 LTS template (#5454) 2022-05-02 11:46:10 +03:00
Mikhail Koliada 29dbc46881 [Ubuntu] restart snapd during images generation (#4814) 2021-12-29 13:01:38 +03:00
Mikhail Koliada d2c5a46fcf [Ubuntu] put snapd auto refresh on hold (#4768) 2021-12-19 17:19:29 +03:00
Mikhail Koliada 1457fb6402 [Ubuntu] fix apt http headers and proxy settings (#4368) 2021-10-29 11:46:56 +03:00
Ryan 8f1e4ff32f [Ubuntu] add aria2 to toolset (#3916)
aria2 is already installed as part of https://github.com/actions/virtual-environments/blob/133db654885e1796cc158ab04f9217826294857a/images/linux/scripts/base/apt.sh#L29
This change will add aria2 to the list of apt packages in generated README
2021-08-18 13:35:29 +03:00
mikhailshaganov 72813adbe7 Rework apt-fast installation to get rid of apt repo (#3336)
* select-xamarin-sdk-v2

* Update select-xamarin-sdk-v2.sh

* change warning message

* check existed framework version

* check framework version review points

* Update apt.sh

* Update SoftwareReport.Tools.psm1

* remove a commented code

* Fixed review points

* return unattended-upgrades

* Fixed a viewing version

* add links for apt fast

* apt fast version

* apt-fast

* final check version

* add which apt-fast
2021-05-14 14:11:25 +03:00
Aleksandr Chebotov a5fca054cb [Ubuntu] Set DefaultLimitSTACK=16384 limit (#3328)
* Set DefaultLimitSTACK=16384 limit

* Set DefaultLimitSTACK 16MB
2021-05-06 12:10:58 +03:00
Rob Burger 6d21bc3d1a [Ubuntu] Increase Linux stack space to 16384KB (#3260)
* Increase Linux stack space to 16384KB

* Add stack hard and soft limits to limits.conf
2021-04-28 10:44:01 +03:00
Bruno Travouillon ab9b101a14 [ubuntu] Purge unattended upgrades (#2331)
The purge will remove any leftovers configuration files, including
/etc/apt/apt.conf.d/20auto-upgrades.
2021-01-13 12:07:02 +03:00
Darii Nurgaleev a2e5aefffd [Ubuntu] update apt.mock with additional lock error. (#2299) 2020-12-18 21:34:02 +03:00
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