Commit Graph

608 Commits

Author SHA1 Message Date
Mikhail Timofeev
dd506183e2 [Ubuntu] Set user-related environmental variables and PATH via post deployment script (#3030)
* Move home directory vars to post-deploy scripts

* Remove "export" word

* Move home directory vars to post-deploy scripts

* Remove "export" word

* add variables via post-deployment file

* remove quotes around PATH

* remove quotes

* Replace $HOME in /etc/environment in post-deployment script

* rename variable

* get rid of extra variable
2021-03-26 18:33:51 +03:00
Aleksandr Chebotov
4c606d887d [Ubuntu] get julia version from julialang.org (#3025)
* get version from julialang.org

* add helpers

* add curl flag -L
2021-03-26 13:13:29 +03:00
Aleksandr Chebotov
436d9baa95 [Ubuntu] use pipx to install ansible (#3015)
* use pipx to install ansible

* update info
2021-03-25 12:40:36 +03:00
Amruta Kawade
5545084098 [Linux] Az Modules Size Reduction On Image (#2828)
* [Linux] Az Modules Size Reduction On Image

* addressing review comments

* addressing review comments

* Addressing review comments
2021-03-25 09:34:25 +03:00
Mikhail Timofeev
f178f0ec83 [Ubuntu] Install sbt from gh releases (#2983)
* Change sbt installation method to gh releases

* add source install.sh
2021-03-19 15:20:27 +03:00
Mikhail Timofeev
593aa6b100 Revert $BASH_ENV (#2982) 2021-03-18 21:58:04 +03:00
Mikhail Timofeev
5a68fb9658 fix variable name (#2964) 2021-03-18 09:42:04 +03:00
Aleksandr Chebotov
11437f2e63 set minimumFreeSpaceMB=15000 (#2934) 2021-03-15 15:33:50 +03:00
Aleksandr Chebotov
d285d2f7d3 add ACCEPT_EULA=Y env var (#2908) 2021-03-15 11:17:57 +03:00
Mikhail Timofeev
adcbf9592c remove boost from ubuntu images (#2844) 2021-03-05 10:22:42 +03:00
Shivam Mathur
8a17c5ea71 [Ubuntu] Fix PHP extensions (#2834) 2021-03-04 17:06:34 +03:00
Mikhail Timofeev
e7e66bec69 [Ubuntu] Add a file with global user-related variables and point BASH_ENV variable to it (#2826)
* Add global vars to profile.d

* set BASH_ENV var

* fix comment

* remove extra quotes
2021-03-03 17:45:01 +03:00
Sergey Dolin
12ba306121 [ubuntu] Add lerna (#2763)
* Add lerna to linux images

* Add a comment about netlify-cli

* remove Node.js tests from Tools.Tests.ps1

* fix tabs

* revert empty lines

* fix code style
2021-02-26 18:06:24 +03:00
Dibir Magomedsaygitov
fdea69d18f add link to image release (#2783) 2021-02-25 14:22:57 +03:00
Mikhail Timofeev
5afe6fcc4e [Ubuntu] Remove azcopy 7 (#2779)
* remove azcopy 7 installation

* Fix software report generator

* fix variable name

* add install helper
2021-02-24 18:21:51 +03:00
Sergey Dolin
6fb455bd33 [ubuntu] Remove GOROOT (#2668) 2021-02-24 12:46:40 +03:00
Mikhail Timofeev
c4d66c8dc7 [Ubuntu] Add Fastlane (#2751) 2021-02-19 18:33:28 +03:00
Nikita Bykov
2c96d280ed [Ubuntu] Rework haskell.sh to install Cabal using GHCup (#2636)
* reworked haskell installation

* added comment

* resolved comments and added symlink

* fixed haskell.sh

* update haskell.sh

* update installation

* added error suppressing

* reverted ghc intallation

* added comments

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-02-19 10:20:15 +03:00
Aleksandr Chebotov
1ef3339658 [Ubuntu] Do not import Az.Account module on Ubuntu 18.04 (#2729)
* do not install dbus-user-session on Ubuntu 18.04

* update test for Ubuntu 18.04

* revert changes

* do not import Az.Accounts module

* remove space

* update PowerShell test
2021-02-18 09:03:13 +03:00
Tachibana waita
89d486e776 [Ubuntu] Updating release file pattern for Kitware/CMake (#2731) 2021-02-17 21:04:50 +03:00
Aleksandr Chebotov
c87b27a593 install latest version of cmake (#2714) 2021-02-15 19:18:13 +03:00
Dibir Magomedsaygitov
06559cab21 [Ubuntu] Install the latest two versions of GHC (#2696)
* install two ghc versions

* fix comments
2021-02-13 09:22:36 +03:00
Sergey Dolin
6654c477db Remove M2_HOME from linux images (#2561) 2021-02-11 12:25:59 +03:00
Dibir Magomedsaygitov
395127da8f [Ubuntu] Fix Netlify installation, move its and vercel's installation to Nodejs.sh (#2666)
* fix netlify installation

* debug

* resolve comments

* small fix
2021-02-09 18:57:05 +03:00
Mikhail Timofeev
6e9cc7b740 [ubuntu] remove npm installation (#2649) 2021-02-08 17:33:44 +03:00
Mikhail Timofeev
33d4c0213f [Ubuntu] Invoke chromium test after installation (#2640)
* Add test invocation

* ge instead of gt

* change condition
2021-02-07 16:10:42 +03:00
Dibir Magomedsaygitov
3ca926ec34 Deprecate Java 7 (#2633) 2021-02-07 16:08:29 +03:00
Dibir Magomedsaygitov
705a38a481 [Ubuntu] Add Android NDK 22 (#2556)
* add android ndk 22
2021-02-04 13:34:30 +03:00
Shivam Mathur
212431cc79 [ubuntu] Add Apache and Nginx (#2516)
* [ubuntu] Add apache and nginx (#2501)

* Use dpkg-query to get nginx version

* Fix flaky apache cli test
2021-01-29 18:52:46 +03:00
Aleksandr Chebotov
45d672739e [Ubuntu] Revert hardcoded docker-compose version (#2588) 2021-01-29 17:05:44 +03:00
Hutson Betts
46e0c05e7e [ubuntu] feat(docker): authenticate using DockerHub credentials (#2548)
Ubuntu builds, by default, pull images anonymously from the
official DockerHub. DockerHub rate limits requests from
anonymous and unpaid accounts:
- https://docs.docker.com/docker-hub/download-rate-limit/

When those rate limits are reached the Packer build will
fail with an error indicated the rate limit has been
reached.

Add support for providing credentials for a paid
account that can be used by the Docker setup steps to
authenticate when pulling images from DockerHub, thereby
avoiding the rate limit.

Related to #2094
2021-01-28 13:31:45 +03:00
Darii Nurgaleev
97a317b322 [Ubuntu] Add /home/runner/.local/bin to PATH (#2491)
* return it back

* added python new path

* added skel path implementation
2021-01-26 19:06:25 +03:00
Mikhail Timofeev
06b88bd6ed [ubuntu] add locked flag to cargo (#2545) 2021-01-25 20:55:03 +03:00
Aleksandr Chebotov
4f6ab057d8 [Ubuntu] Install 1.27.4 on ubuntu16/18 (#2520)
* install 1.27.4 on ubuntu16/18

* add link to the issue

* replace contains to endswith
2021-01-22 22:12:57 +03:00
Dmitry Shibanov
51afead06e Freeze NDK 21 on Ubuntu Images (#2500) 2021-01-21 11:32:27 +03:00
Sergey Dolin
eb1e7bcb39 [ubuntu] Set HOMEBREW_NO_AUTO_UPDATE and HOMEBREW_NO_INSTALL_CLEANUP (#2470)
* Set HOMEBREW_NO_AUTO_UPDATE and HOMEBREW_NO_INSTALL_CLEANUP

* replace HOMEBREW_NO_INSTALL_CLEANUP with HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS
2021-01-21 11:21:32 +03:00
Nikita Bykov
29847cd01a added ANDROID_NDK_HOME and ANDROID_NDK_ROOT (#2472)
Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-20 12:40:57 +03:00
Darii Nurgaleev
7c6117e6ec [Ubuntu] Get toolset value function. (#2435)
* [macOS] Fail Pester tests on error

* return it back

* [Ubuntu] add get_toolset_values function

* added fix

* fix all nitpicks

* try to get rid brackets

* removed brackets.

* pipx-package fix
2021-01-15 17:12:26 +03:00
Nikita Bykov
7457b9fecb [Ubuntu] Move the list of installed Java versions to toolset (#2393)
* added java to toolset

* fixed java-tools and updated tests

* fixed java-tools.sh

* fixed tests

* fixed java.Tests

* fixed java versions check

* fixed Java.Tests.ps1

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-13 10:47:03 +03:00
Nikita Bykov
b42d8566f9 Add GraalVM Community Edition & GraalVM Native Image (#2330)
* added graalvm

* added native-image and updated SoftwareReport

* rework GraalVM installation

* fixed graalvm installation

* Updated SoftwareReport.Generator

* updated graalvm.sh

* fixed graalvm.sh

* fixed graalvm.sh

* removed rm command

* resolved comments

* fixed softwarereport for GraalVM

* added invoke_tests for graalvm

* fixed tests for graalvm

* fixed GraalVM tests and SoftwareReport

* added source  etc-environment.sh to graalvm.sh

* fixed GraalVM tests

* resolved comments

* fixed graalVM SoftwareReport

* added GRAALVM_11_ROOT variable

* fixed comment for env variable

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-01-13 10:45:39 +03:00
Mikhail Timofeev
31c97aac43 [Ubuntu] Get rid of simple apt-get provisioners (#2376)
* move 7z installation to basic.sh

* remove build essential

* move imagemagick to apt

* move subversion to apt

* move subversion to apt

* move sphinxsearch to apt

* move swig to apt

* move pollinate to apt

* move haveged to apt

* add p7zip to ubuntu 16
2021-01-11 10:42:58 +03:00
Aleksandr Chebotov
e470bcde79 fix empty password for mysql-server (#2400) 2021-01-08 16:02:09 +03:00
Dibir Magomedsaygitov
875891b86b [Ubuntu] Migrate missing tools tests to Pester (#2374)
* add missing tests

* fix naming and nvm test

* fix containers test and bring pwsh test back

* remove pwsh test

* small fix
2020-12-31 10:00:43 +03:00
Leonid Lapshin
3753e7b923 Databases and java pester tests (#2338)
* added mongodb postgres java tests

* fixed 1.7 and 12 Java on Ubuntu 20

* several improvments

* removed update-environment function

* add etc-environment import

* removed sourcing invoke-tests

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 18:04:55 +03:00
Leonid Lapshin
f3394fb979 [ubuntu] reverted dotnet sdk extraction in parallel (#2373)
Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 14:26:37 +03:00
Leonid Lapshin
1ce075fe93 [ubuntu] Pester tests for dotnet sdk, cmd tools and codeql (#2335)
* dotnet cmd codeql tests

* fixed dotnet tests, added codeql to toolset

* changed codeql version to wildcard

* removed unused import and a test call

* tmp

* lowercase file name

* removed sourcing invoke-tests

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 13:50:21 +03:00
Vladimir Safonkin
0ae118c6ae [Ubuntu] Create symlink for Pester test running (#2349)
* Create symlink for test running

* Fix 1604 and 2004 templates

* Fix php and haskell running

* Minor fix

* Fix new added tests

* Fix symlink

* Minor fix

* Fix script permissions

* Minor fix

* Fix firefox and rust tests

* Fix new merged tests
2020-12-30 09:57:11 +03:00
Sergey Dolin
81909fddd5 Replace dpkg with apt (#2334)
dpkg can not get a lock, use apt mock script instead
2020-12-29 10:04:25 +03:00
Vladimir Safonkin
0a768b0726 [Ubuntu] Migrate tests to Pester (#2340)
* Add Pester tests

* Fix incorrect merging

* Remove swift test from installing script

* Minor fix

* Remove Haskell tests from commons tests

* Fix selenium test

* Fix SVN test

* Fix pipx tests

* Debug

* Fix pipx packages test

* Skip pipx for 16.04
2020-12-29 10:02:46 +03:00
Dibir Magomedsaygitov
f58f2c1e02 [Ubuntu] Migrate Toolset tests to Pester (#2339)
* migrate toolset tests to pester

* move test invocation

* minor fixes
2020-12-28 15:07:00 +03:00