Commit Graph

49 Commits

Author SHA1 Message Date
Yann Jouanique
5161c257a2 [ubuntu] Install yq (#3646) 2021-07-15 12:21:48 +03:00
Hai Cao
7fe7393aa2 [Ubuntu] Add SqlPackage (#3700)
* [Ubuntu] Add SqlPackage

* Address comments
2021-07-12 10:59:56 +03:00
Mikhail Timofeev
f1ab1bd12f [Ubuntu] Switch android tools installation to use sdkmanager from command-line tools (#3650)
* Switch android tools installation to cmdline-tools
* Replace deprecated sdkmanger from sdk-tools to the one from cmdline tools
* Remove patcherv4 from toolsets as it's included in m2repository extras

* Add tests to make sure both sdkmanagers exist

* Return cmdline-tools to software readme
* Get-AndroidInstalledPackages function now use list_installed param
* Create a function to get sdkmanager version = cmdline tools version

* Get rid of hardcoded path to ANDROID_HOME
* Add reloadEtcEnvironment call to installation script
* Use env variable ANDROID_HOME in tests

* Modify software report to output any version

* Change regex pattern to output the group
* Currently the function returns 4. instead of 4.0, this change fixes it
2021-07-07 15:16:46 +03:00
Mikhail Timofeev
20804bc30f Remove bicep from software docs and tests for ub16 (#3656) 2021-06-28 10:58:28 +03:00
Marcus Felling
dd399bcab4 [Ubuntu] Adding Bicep CLI (#3639)
* Add Bicep CLI to Ubuntu images

* Use helper download_with_retries

* remove bicep from deprecated 16.04 image

* formatting

Co-authored-by: Marcus Felling <MarcusFelling@microsoft.com>
2021-06-24 11:13:00 +03:00
Mikhail Timofeev
4416d54d30 [Ubuntu] Remove php installation, tests and software docs for Ubuntu 16 (#3541)
* Remove php installation, tests and software docs for Ubuntu 16

* Add openssl 1.1.1k installation as python toolcache depends on it

* Add a comment about openssl installation on Ubuntu 16
2021-06-10 22:33:08 +03:00
Mikhail Timofeev
952ee3e740 [ubuntu] Move aws-sam-cli installation to the aws.sh script (#3401) 2021-05-17 21:55:32 +03:00
Dibir Magomedsaygitov
19537cbf0b [Ubuntu] Fix GRADLE_HOME environment variable (#3225)
* fix gradle_home env var

* add gradle test and minor rework

* debug
2021-04-21 18:20:20 +03:00
Mikhail Timofeev
a06f07dfb4 [Ubuntu] Add msbuild to software report (#3210) 2021-04-19 16:17:48 +03:00
Aleksandr Chebotov
b04de88f6e [Ubuntu] Install zstd homebrew (#3181)
* install zstd using brew

* fix typo

* remove Run-Command

* replace to Take-OutputPart

* create zstd symlinks
2021-04-14 19:34:49 +03:00
Aleksandr Chebotov
487339fb77 [ubuntu] provide package name (#3172) 2021-04-13 17:13:46 +03:00
Nikita Bykov
acdde71580 [Ubuntu] Fix Chromium installation (#3136)
* fix chromium installation

* fix chromium

* added symlink

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-04-09 14:50:48 +03:00
Nikita Bykov
b7f276c003 [Ubuntu] Rework Сhromium installation to avoid using snap (#3029)
* rework chromium installation

* added GetChromiumRevision function

* changed getting chrome version

* fixed GetChromiumRevision function

* fixed CHROME_VERSION variable

* move chromium installation to google-chrome.sh

* added -qq for unzip

* added comments to GetChromiumRevision function

* updated tests and sofware report

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-04-02 19:21:33 +03:00
hackercat
be806579bb [Ubuntu] Fix Erlang version in software report
SoftwareReport collects wrong version for Erlang, it reports Eshell
version rather than Erlang itself.
reference: https://stackoverflow.com/questions/9560815/how-to-get-erlangs-release-version-number-from-a-shell
2nd answer

`erl` doesn't have `-v` flag, only `-version`
`erlc` `-v` flag is for verbose output
`rebar3` reports it's version with flag `-v`
Change `erl -v` to `erl -version` as it gets stuck in certain scenarios
like using Docker as packer builder.
reference: http://erlang.org/doc/man/erl.html
2021-03-31 12:38:11 +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
Aleksandr Chebotov
dee50eebff add acl package to Ubuntu 20 (#3006) 2021-03-23 10:48:35 +03:00
Aleksandr Chebotov
40f571a753 [Ubuntu] Add net-tools (#2838)
* add net-tools

* fix output
2021-03-04 18:30:40 +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
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
Mikhail Timofeev
c4d66c8dc7 [Ubuntu] Add Fastlane (#2751) 2021-02-19 18:33:28 +03:00
Mikhail Timofeev
18effcdd26 [Ubuntu] Fix Android tests to work with platform version S and remove Cmake 3.6 (#2755)
* fix tests

* get rid of build-tools letter list

* Remove Cmake 3.6, fix platforms test
2021-02-19 14:18:13 +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
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
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
Dibir Magomedsaygitov
3ca926ec34 Deprecate Java 7 (#2633) 2021-02-07 16:08:29 +03:00
Aleksandr Chebotov
be109fcbc2 [Ubuntu] Provide version info for binutils and coreutils packages (#2627)
* include binutils and coreutils to doc section

* fix bin to core

* replace split to Take-OutputPart
2021-02-05 19:38:39 +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
Andy Mishechkin
538640ca2a Chromium browser has been added to Ubuntu 20 (#2463)
* deploy script for chromium-browser has been created

* Chromium-browser.sh has been added to packer template

* Chromium has been added to software report

* Chromium-browser installation has been moved to toolset

* Bug - chromium-browser.sh has been removed from ubuntu2004.json

* Browsers documentation has been fixed
2021-01-20 14:46:42 +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
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
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
Dibir Magomedsaygitov
7c15befd02 [Ubuntu] Migrate Browsers and Rust tests to Pester (#2323)
* add tests for browsers and rust

* small fix

* fix tests invoking

* small fixes

* resolve conflicts

* fix firefox test
2020-12-28 11:34:32 +03:00
Mikhail Timofeev
64c9751269 [Ubuntu] Migrate tests for common tools to Pester (part 3) (#2337)
* add test for Git

* Add Heroku

* Add hhvm

* Add Homebrew

* Add Julia

* Add kind

* Add Kubernetes Tools

* Remove kind and homebrew validate

* replace capital letter

* Add Leiningen

* add source to Leiningen

* Add Mercurial

* Add conda

* Add Netlify

* Add packer

* Add pollinate

* Add Pulumi

* Add Phantomjs

* Add Haveged

* Fix for kubectl

* Fix julia installation

* Add installer_script_folder env variable to run tests in brew provisioner

* Add delay after reboot

* Adjust pause settings
2020-12-25 18:03:35 +03:00
Vladimir Safonkin
02c2fbad69 [Ubuntu] Migrate php to Pester tests (#2341)
* Php Pester tests

* Minor fix
2020-12-25 13:02:25 +03:00
Vladimir Safonkin
82b4e13fb0 [Ubuntu] Move Haskell tests to separate file. (#2348)
* Move Haskell tests to separate file

* Minor fix
2020-12-25 12:36:01 +03:00
Vladimir Safonkin
ee8132a978 [Ubuntu] Migrate tests for Haskell to Pester (#2314)
* Add Pester tests for Haskell on Ubuntu

* Add tests for all installed ghc versions

* Minor fix

* Minor fix

* Fix number of installed ghc versions test

* Fix GHC number test
2020-12-24 12:36:37 +03:00
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
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