Commit Graph

59 Commits

Author SHA1 Message Date
Vasilii Polikarpov
bea98d0749 Enable exit on error immediately after download attempt (#7444) 2023-04-18 17:26:22 +02:00
Shamil Mubarakshin
e72606ffb6 Cleanup ubuntu1804 image references (#7388) 2023-04-04 12:36:53 +02:00
Dusko Dobranic
583096e059 Use variable instead of hard coded value (#7213) 2023-03-02 22:28:36 +01:00
Alexey-Ayupov
7750a08f65 Disable Pester test colors (#6908) 2023-01-12 20:26:45 +01:00
Maxim Lobanov
c00379c85c [Ubuntu] Update documentation generation to use shared software report module (#6823)
* Create ubuntu-report.yml

* Update ubuntu-report.yml

* Update ubuntu-report.yml

* Update Common.Helpers.psm1

* Update ubuntu-report.yml

* Update ubuntu-report.yml

* Update SoftwareReport.Generator.ps1

* Update ubuntu-report.yml

* Update ubuntu-report.yml

* env vars

* Implement language and runtime

* Add package management section

* fix typo

* fix typo

* add projectManagement and tools

* fix some tools

* add CLI tools, Java, PHP Tools, Haskell Tools, Rust Tools, Browsers, .NET Core

* fix typo

* more changes

* fix typo

* fix typo

* fix typo

* change templates

* fix toolset

* Update Ubuntu2004 and 2204 templates

* fix cargo

* fix tiny nitpicks

* Fix AddToolVersionsList

* Remove unused methods

* Fix contructor
2022-12-21 19:38:54 +01:00
Maxim Lobanov
e63632f872 [Linux] Minor documentation improvements (#6749) 2022-12-13 17:07:05 +01:00
Aleksandr Chebotov
9cf1ebd754 Improve github releases parser (#5717) 2022-06-13 16:54:27 +02:00
Aleksandr Chebotov
9d80842cc3 [Ubuntu] Add Ubuntu Server 22.04 LTS template (#5454) 2022-05-02 11:46:10 +03:00
Dusko Dobranic
52f93c6183 Remove Ubuntu20 mysql workaround (#5306)
* Remove Ubuntu20 mysql workaround

* Removing unneded init script and related test
2022-03-31 08:11:08 +02:00
Dibir Magomedsaygitov
404da76e17 [Ubuntu] Implement helper to get GitHub package download URL (#4947) 2022-02-08 19:41:23 +03:00
Aleksandr Chebotov
92eeb55189 [Ubuntu] Add verbosity during software report generation (#4811)
* Add verbosity during software report generation

* Fix Get-CpanVersion

* set default ValidateExitCode value to $true

* update java test

* use lower-case for parameters
2021-12-28 11:16:20 +03:00
Mikhail Koliada
73d58cc851 [Ubuntu] enable -e bash mode in mysql helper (#4752) 2021-12-16 14:56:33 +03:00
Mikhail Koliada
9ec86a6e3e [Ubuntu] install mysql init script for sysVinit compatibility (#4736) 2021-12-14 21:46:30 +03:00
Dibir Magomedsaygitov
2d46e3f4d9 [Ubuntu] Remove Ubuntu16 related code from the VE repository (#4336) 2021-10-26 15:30:59 +03:00
Mikhail Koliada
b56230f342 [Linux] install.sh: make the IsPackageInstalled function definition consistent (#3864)
* linux/../../install.sh: make the IsPackageInstalled function definition consistent
2021-08-06 18:25:52 +03:00
Darleev
6637167579 [Ubuntu] Added HTTP status code check to download_with_retries (#3721)
* Disable exit on error temporary to implement retry logic based on exit code
* Check HTTP response code and retry if it's not 200
* Make variables local to not interfere with other scripts

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-07-19 11:29:53 +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
39e317a1b6 [ubuntu] Change Add-AssertionOperator to Add-ShouldOperator (#3445) 2021-05-24 21:38:12 +03:00
Mikhail Timofeev
589a58e707 [Ubuntu] Change java-tools script to retrieve the latest major Gradle version (#3385)
* Change java-tools script to retrieve the latest major gradle version

* Change gradle installation to use manifest json. Use download_with_retries function

* Move maven version to the toolset
2021-05-21 15:37:15 +03:00
Sergey Dolin
7ce21d8b0e [ubuntu] Rework Mono installation to avoid using apt repos (#3289)
* Rework Mono installation to avoid using apt repos on Ubuntu images

* Use rest of line to read full AptSourceRepository
2021-05-21 10:34:41 +03:00
Vladimir Safonkin
f29cc02bef [Ubuntu] Remove apt sources for Postgresql, Mongodb, Heroku (#3091) 2021-04-07 13:57:35 +03:00
Mikhail Timofeev
4847468235 Add Linux kernel version to software report (#2959) 2021-03-18 09:41:01 +03:00
Mikhail Timofeev
adcbf9592c remove boost from ubuntu images (#2844) 2021-03-05 10:22:42 +03:00
Sergey Dolin
77b21e0c24 Document environment variables of linux images (#2498)
* Document environment variables of linux images

* Change adnroid variables

* Apply reviews

* Remove some variables, fix headers

* Show link targets

* rename helper

* remove symlinks

* More links

* Dynamic GO variables

* Architecture for  GO variables

* remove GOROOT
2021-02-12 10:30:36 +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
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
Vladimir Safonkin
afef0c94a8 [Ubuntu] Fix setEtcEnvironmentVariable function (#2394)
* Fix pipx installation

* Remove quotes from
2021-01-12 12:36:09 +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
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
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
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
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
Darii Nurgaleev
44d1f85e34 add missed shebang 2020-10-24 23:30:27 +07:00
Dmitry Shibanov
d0f8592d88 add function and clean up logic for array 2020-10-01 13:07:40 +03:00
Vladimir Safonkin
7b3bfbdf61 [Ubuntu] Remove docs logic from Ubuntu provisioner (#1603)
* Remove docs logic on Ubuntu

* Cleanup templates

* Fix oras-cli.sh

* Remove announcements.md
2020-09-17 14:15:31 +03:00
Aleksandr Chebotov
2881a81b22 move apt pkgs to the toolset.json 2020-09-08 14:40:56 +03:00
Paolo Mainardi
f7699ffa5b code review: use download_with_retries, remove custom tmp dir, set -e
Signed-off-by: Paolo Mainardi <paolo.mainardi@sparkfabrik.com>
2020-08-31 12:28:55 +02:00
Sergey Dolin
363160a807 Fix StartCode/EndCode markup (#1213)
Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-07-14 11:26:26 +03:00
Mikhail Timofeev
694bf3098c Merge branch 'master' of https://github.com/miketimofeev/virtual-environments into v-mitim/get_rid_of_apt.sh_invocation 2020-07-10 12:35:52 +03:00
Mikhail Timofeev
0647236ac1 Rename IsIntalled -> IsPackageInstalled 2020-07-09 15:14:28 +03:00
Mikhail Timofeev
a7ee8ab672 move IsInstalled and apt-fast 2020-07-08 22:28:23 +03:00
Maxim Lobanov
1c4790e543 Merge pull request #1194 from dibir-magomedsaygitov/v-dimago/add_oras_cli
[Ubuntu] Add ORAS CLI
2020-07-08 18:49:41 +03:00
Mikhail Timofeev
cebf52206b remove source apt.sh 2020-07-08 15:34:53 +03:00
Sergey Dolin
f1b5ed40eb Remove ppa:ondrej/php from the list of apt repositories (#1104)
* Remove  ppa:ondrej/php from the list of apt repositories

* Add documentation and fixes

* fix documentation

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-07-08 11:13:45 +03:00
Dibir Magomedsaygitov
5faa6abe7d implement download_with_retries function 2020-07-07 19:23:45 +03:00
Vladimir Safonkin
c1ee9d8bc6 Fix download retry helper (#1110)
* Fix download helper

* Fix download helper

* Add compressed flag to helper

* Minor fix

* Minor fix
2020-07-01 16:31:41 +03:00
Vladimir Safonkin
e9e1f92089 Fix retry download helper for PyPy (#1092) 2020-06-23 12:09:16 +03:00
Vladimir Safonkin
53ac16e05d Use curl in download retry helper (#1079) 2020-06-19 17:05:38 +03:00