Commit Graph

62 Commits

Author SHA1 Message Date
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
Erik Bershel
a9611d8e7f Revert VCPKG_ROOT variable (#6458) 2022-10-25 09:30:50 +02:00
Erik Bershel
5e91f0a07d Revert "Revert VCPKG_ROOT variable (#6449)"
This reverts commit 88d253f383.
2022-10-24 12:27:27 +02:00
Erik Bershel
88d253f383 Revert VCPKG_ROOT variable (#6449) 2022-10-24 11:10:20 +02:00
Mikhail Koliada
9efcd841b9 [Ubuntu] do not add homebrew to $PATH (#6240) 2022-09-22 18:07:12 +02:00
Erik Bershel
ce11b31f3b [Ubuntu] Add VCPKG_ROOT variable (#6196) 2022-09-12 20:17:10 +03:00
Mikhail Timofeev
11cfd9eac0 Add mono package to ubuntu 22 (#5950) 2022-07-25 12:26:39 +03:00
Aleksandr Chebotov
220c7ad69b Add dash version into documentation (#5796) 2022-06-22 18:23:30 +03:00
Dusko Dobranic
0fec5d8152 Fix PHP8.0.x version in software report (#5653)
* Fix PHP8.0.x version in software report

* Remove hardcoded value for epoch

* Using updated regex to match epoch version
2022-05-31 21:35:28 +03:00
juliancarrivick
64e497aba9 Add clang-tidy to Ubuntu images (#5541) 2022-05-23 16:50:28 +03:00
Aleksandr Chebotov
f5ca411fa7 [Ubuntu] Use OpenSSL package version in output (#5384) 2022-04-12 11:03:33 +03:00
Aleksandr Chebotov
710d5de922 [Ubuntu] Fix composer version (#5335) 2022-04-04 12:26:27 +03:00
Aleksandr Chebotov
f052b4c10f [Ubuntu] Tight composer version to 2.2.9 for Ubuntu Server 18 (#5321)
* [Ubuntu] Tight composer verstion to 2.2.9 for Ubuntu Server 18

* Remove extra line

* remove double quotes
2022-04-01 11:18:38 +03:00
José Simões
9b6af5b76e Add install of dotnet tools (#4820)
* Add install of dotnet tools

- Add new section under dotnet.
- Add installer for dotnet tools.
- Add tests for dotnet tools.
- Add dotnet tools to software report.

* Fixes from code review

* Add test and version check to dotnet tool json

- Rework installer to use tool name.
- Rework test to call tool test.
- Rework software report to use tool specific command to get version.

* Fixes from code review

* Fix test for nbgv

* Fix linux installer

* Fix name for test context.

* Update images/linux/scripts/installers/dotnetcore-sdk.sh

Co-authored-by: PJ <me@panekj.dev>

* Update images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1

Co-authored-by: PJ <me@panekj.dev>

* Update images/win/scripts/Tests/DotnetSDK.Tests.ps1

Co-authored-by: PJ <me@panekj.dev>

* Aligning PS1 between win and linux

* Remove out

* Add Nuget.org as feed source for installing tool

* Fix tests

* Fix getting tool version

* Change from code review

* Update images/win/toolsets/toolset-2022.json

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

* Update images/win/toolsets/toolset-2019.json

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

* Update images/win/toolsets/toolset-2016.json

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

* Changes from code review

* Change from code revision

* Fix tests

* dotnet tool is now installed to a tool path

* Move dotnet tools install

- Need to install the dotnet tools AFTER post install steps otherwise dotnet is not in the path.

* Fxi typo in path

* Add path to software report for dotnet tools

* Remove new line (from code review)

* Add progress output message to dotnet tools install

* Change install path for tool

* New updating PATH with dotnet tools location

* Remove duplicated assigment

* Remove output message and add back Out-null

Co-authored-by: PJ <me@panekj.dev>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2022-01-18 16:31:51 +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
V-Zabayrachny
30861de4bb [Ubuntu] Update npm parcel package to v2 (#4743)
* [Ubuntu] Update npm parcel package to v2

* [Ubuntu] Add the parcel to the software report

* [Ubuntu] Move the parcel on tools to the software report
2021-12-16 12:07:15 +03:00
Julian Ospald
ee69b89103 Use ghcup to install GHC on linux and remove docs and profiling libs (#4043) 2021-09-10 16:17:15 +03:00
Ryan
dcb58dee7a fix: escape tilde operator (#3868)
Prevents markdown to interpret it as 'strike down' style when 2 or more tilde operators appear
2021-08-09 11:59:59 +03:00
Leonid Lapshin
e7ca52b564 [Ubuntu] Reworked clang installation to use default Ubuntu repo (#3834) 2021-08-04 10:45:59 +03:00
mikhailshaganov
966395f4bd [Ubuntu] Add kotlin (#3755) 2021-07-22 11:31:30 +03:00
Sergey Dolin
24ae664aed [ubunty] Add note about LLVM repo (#3523)
* Add LLVM libc++ info

* combine clang, clang-format into LLVM components

* fix formatting

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2021-06-10 11:21:02 +03:00
Sylvain
b870568e36 [ubuntu] Clean way to disable the pcov PHP Extension (#3472)
* Clean way to disable the pcov PHP Extension

Fixes https://github.com/actions/virtual-environments/issues/3341

* Update php.sh

* Update php.sh

* Documentation
2021-06-03 19:12:53 +03:00
Mikhail Timofeev
2c6cc7ab0d [Ubuntu] Change rebar installation to use GitHub releases (#3486)
* Change rebar installation to use gh releases

* Add source $HELPER_SCRIPTS/install.sh

* Add Erlang rebar3 to software readme
2021-06-01 18:31:35 +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
Mikhail Timofeev
a5ee51f72d Revert "[ubuntu] Rework php installation (#3272)" (#3340)
This reverts commit b1f202e5f0.
2021-05-07 16:35:34 +03:00
Leonid Lapshin
b1f202e5f0 [ubuntu] Rework php installation (#3272) 2021-04-29 17:29:51 +03:00
Sergey Dolin
552da81d13 [ubuntu] Document GHC apt repository (#3268) 2021-04-28 14:51:16 +03:00
Mikhail Timofeev
a06f07dfb4 [Ubuntu] Add msbuild to software report (#3210) 2021-04-19 16:17:48 +03:00
Mikhail Timofeev
3195add3cd [Ubuntu] Add clang-format to the readme (#3081)
* Add clang-format to the readme

* Create a function to retrieve clang tool versions

* Add ClangFormatVersions to software report

* Add new line

* Resolve nitpicks
2021-04-02 14:38:54 +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
hackercat
abbad83bb1 feat: Return apt packages with their installed versions (#2939) 2021-03-26 08:28:15 +03:00
Mikhail Timofeev
e1ddcff2f0 Add openssl to software readme (#2984) 2021-03-19 13:43:48 +03:00
Aleksandr Chebotov
758e6ef267 add lerna version (#2914) 2021-03-15 21:05:15 +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
Maxim Lobanov
337ff74101 Sort docker images by name in documentation (#2716)
Sort docker images by name in documentation
2021-02-16 09:56:14 +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
Juan Julián Merelo Guervós
c63f698e70 [ubuntu] Adds detection of cpan version (#2488)
* Adds detection of cpan version

The Perl package manager

* Adds detected cpan version

* Updates copypasta
2021-01-20 11:27:55 +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
Dibir Magomedsaygitov
6245d40db7 fix vcpkg output (#2319) 2020-12-24 10:17:19 +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
Aleksandr Chebotov
8bf8504e77 bash version output (#2238) 2020-12-14 09:29:13 +03:00
Juan Julián Merelo Guervós
3cd4e423d8 Adds Perl version detection (#2206)
* Adds Perl version detection

* Follows @al-cheb advice 👍
2020-12-07 15:46:43 +03:00
Dibir Magomedsaygitov
f415c1f30f [Ubuntu] Fix version output for vcpkg (#2140)
* change version output for vcpkg

* change commit id to short

* minor change
2020-12-04 10:21:12 +03:00
Darii Nurgaleev
c45b5f5b6f [Ubuntu] Powershell Tools/Modules software report. (#2164)
* added new tables to ubuntu generation.

* changes applied

* removed powershell version
2020-12-03 08:35:46 +03:00
Sergey Dolin
ff49068542 Print more informantion about cached Docker images linux (#1906)
* Add docker full info

* make tabular output

* fix shebang

* remove created at time

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-11-05 12:20:40 +03:00
Aleksandr Chebotov
9a268303fb fix gradle version 2020-10-16 15:38:06 +03:00
Vladimir Safonkin
d129c5563d Fix pipx version 2020-10-12 11:29:00 +03:00
Mikhail Timofeev
5d8da1661b switch to Get-CommandResult (#1785) 2020-10-11 23:28:16 +03:00