Commit Graph

103 Commits

Author SHA1 Message Date
Vasilii Polikarpov
e62bcae84b Add template for minimal image and update tutorial (#7461) 2023-05-11 19:58:03 +02:00
Vasilii Polikarpov
3ae81a0835 [Ubuntu] Test firefox without sudo (#7571) 2023-05-11 10:21:01 +02:00
Shamil Mubarakshin
bc834aa083 [ubuntu] remove GraalVM (#7399) 2023-04-06 15:41:26 +02:00
Shamil Mubarakshin
e72606ffb6 Cleanup ubuntu1804 image references (#7388) 2023-04-04 12:36:53 +02:00
Erik Bershel
32782cc69f [Ubuntu] Update Android test case (#7290) 2023-03-30 11:23:55 +02:00
Erik Bershel
7c61da51cf [Ubuntu] Temp patch for PhantomJS/libssl conflict (#7358) 2023-03-29 11:18:06 +02:00
ilia-shipitsin
0d3ef08d6f [ubuntu] aws session manager plugin 1.2.458.0 fix (#7291)
Co-authored-by: Ilia Shipitsin <ilia-shipitsin@github.com>
2023-03-15 15:04:45 +01:00
Mikhail Koliada
fe23ebfec1 [Ubuntu] rework erlang installation (workaround hashes) (#7234) 2023-03-04 18:12:02 +01:00
Mikhail Koliada
02e4e5a6a0 [Ubuntu] Do not install erlang on 18.04 (#7212)
* [Ubuntu] Do not install erlang on 18.04

* fixup
2023-03-01 17:11:12 +01:00
Angela P Wen
1e75a20a49 [Linux,macOS,Windows] Download two latest CodeQL bundles (#6884)
Previously, our runner image only included the most recent release of CodeQL. In order to improve stability of rollout of new CodeQL versions, we are now downloading the most recent two releases.

The change updates the Linux and Windows script variable names to match that of the Mac script, because they are mostly functionally identical. It also adds the same log messages to all scripts and ensures Mac and Windows test parity. It tests that there are two bundles in each of the OS's as well.

This will approximately double the total size and installation time of the existing CodeQL tool.
2023-01-29 14:46:43 +01:00
Alexey-Ayupov
f7f519dcc4 [Ubuntu] update zstd version (#6681) 2022-12-29 23:33:04 +01:00
Alexey-Ayupov
c92563577c [Ubuntu] Remove pester test for kotlinc-js (#6849) 2022-12-29 12:10:43 +01:00
Alexey-Ayupov
5dd62e7a08 Add PPA repository for Firefox as default (#6528) 2022-11-26 13:47:48 +01:00
Mikhail Koliada
866ccbe818 [Ubuntu] Add swift to 22.04 (#6398) 2022-10-13 13:45:14 +02:00
Julian Ospald
1e628422a3 Don't install stack install hook
See https://github.com/commercialhaskell/stack/issues/5895

Stack feature is documented here:
  https://docs.haskellstack.org/en/stable/yaml_configuration/#ghc-installation-customisation

It's recommended, but probably too unexpected for CI.
It means stack will not install GHC on its own, but through GHCup.
2022-10-10 17:54:22 +08:00
Mikhail Timofeev
f535d0e8dd Add Chrome + Chromedriver test (#6330) 2022-09-30 07:48:15 +03:00
Mikhail Koliada
9efcd841b9 [Ubuntu] do not add homebrew to $PATH (#6240) 2022-09-22 18:07:12 +02:00
Mikhail Koliada
3fab712c1e [Ubuntu] Install gcc@12 from brew (#6258) 2022-09-19 16:36:04 +03:00
Mikhail Koliada
dd51aedc2f Revert "[Ubuntu] install gcc@11 from brew (#6202)" (#6232)
This reverts commit d2c84c9d4c.
2022-09-13 18:59:39 +03:00
Mikhail Koliada
d2c84c9d4c [Ubuntu] install gcc@11 from brew (#6202) 2022-09-12 18:31:28 +03:00
Aleksandr Chebotov
b0b00d426c Add sqlcmd on Ubuntu Server 22.04 (#6127) 2022-08-23 10:18:18 +03:00
Mikhail Timofeev
11cfd9eac0 Add mono package to ubuntu 22 (#5950) 2022-07-25 12:26:39 +03:00
Mikhail Timofeev
893e347c8e Remove ndk-bundle from ubuntu (#5926) 2022-07-19 13:06:31 +03:00
Mikhail Koliada
82c8123cac [Ubuntu] Add Microsoft Edge Web Driver (#5878)
* [Ubuntu] Add Edge Web Driver

* take part 0 in sw report
2022-07-09 08:49:21 +02:00
Mikhail Koliada
e91961e2f2 [Ubuntu] Add Microsoft Edge (#5874)
trailing whitespace
2022-07-08 08:49:17 +03:00
Bryan Ricker
1938bdf841 [Ubuntu] add out-of-the-box SourceKitten support (#5634)
[SourceKitten](https://github.com/jpsim/SourceKitten), a popular Swift
library for interacting with SourceKit, needs to know (or be told) the
location of the sourcekitd framework. SourceKitten is somewhat
[ubiquitous](https://github.com/jpsim/SourceKitten#projects-built-with-sourcekitten);
most Swift projects I've seen or worked on used SourceKitten in some
way.

On macOS, the sourcekit framework is baked-in to the Xcode toolchain(s) and
therefore its location is generally known. On Linux, the location of the
sourcekit framework is wherever swift is installed, which is unknown to
libraries like SourceKitten.

SourceKitten searches for the sourcekit framework in [a few
locations](f7cf1e3b63/Source/SourceKittenFramework/library_wrapper.swift (L51-L104)),
but it's unable to infer the location of the framework on these ubuntu
images. The result when attempting to run any SourceKitten-based tool in
Github Actions on an ubuntu VM is the following error:

```
SourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading libsourcekitdInProc.so failed
/home/runner/work/_temp/cb002a5e-1916-4e05-ba4d-f70ad3bb2266.sh: line 1:  3944 Illegal instruction     (core dumped) mint run swiftlint .
```

(to be clear, this error is not specific to the Github Actions ubuntu
VMs. The same error occurs on any Ubuntu system).

Individual users can work around this by setting the following
environment variable:

```
LINUX_SOURCEKIT_LIB_PATH="/usr/share/swift/usr/lib"
```

This is not a good workaround for the following reasons:

1. The end user doesn't necessarily know where swift is installed.
2. A change to the location of the swift installation would break this
   workaround.
3. The error will occur virtually 100% of the time on a user's first
   attempt to run SourceKitten on ubuntu, and takes at least a
   few minutes to troubleshoot. This will quickly add up to a
   non-trivial amount of lost productivity.

So, anyways, my proposal is to just link sourcekitd to a location where
SourceKitten will find it, so most developers don't have to think about it.
`LINUX_SOURCEKIT_LIB_PATH` can be defined by the user if they have an
unusual setup.

Alternative:

- Don't symlink, add `LINUX_SOURCEKIT_LIB_PATH` to `/etc/environment`.
2022-05-31 08:50:57 +02:00
Mikhail Timofeev
c61cbbf296 [Ubuntu] Add java dependent tools back to ubuntu 22 (#5618)
* Get back kotlin and selenium

* Get back leiningen and android tools
2022-05-27 09:46:59 +03:00
Mikhail Timofeev
eabc37ce41 Add java tools installation to Ubuntu22 (#5612) 2022-05-25 23:11:06 +03:00
Mikhail Timofeev
4393b58dce Get back container tools on Ubuntu 18&20 (#5611) 2022-05-25 19:25:12 +03:00
juliancarrivick
64e497aba9 Add clang-tidy to Ubuntu images (#5541) 2022-05-23 16:50:28 +03:00
Mikhail Koliada
e4d58452f4 [Ubuntu] Rework podman and tools installation (#5580) 2022-05-20 16:40:31 +03:00
Aleksandr Chebotov
17d10f6889 Add amazon-ecr-credential-helper (#5544) 2022-05-16 18:49:51 +03:00
Aleksandr Chebotov
9d80842cc3 [Ubuntu] Add Ubuntu Server 22.04 LTS template (#5454) 2022-05-02 11:46:10 +03:00
Aleksandr Chebotov
01f34021dc [Ubuntu] Remove hard-coded composer version (#5399) 2022-04-13 13:04:04 +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
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
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
Mikhail Koliada
1048793daa [Ubuntu] Add Eclipse Temurin (Adoptium) to Java installer (#4868) 2022-01-12 22:05:33 +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
9ec86a6e3e [Ubuntu] install mysql init script for sysVinit compatibility (#4736) 2021-12-14 21:46:30 +03:00
Mikhail Koliada
4d7a8a0e35 [Ubuntu] do not install mysql 8.x on 18.04 (#4685) 2021-12-08 16:02:06 +03:00
Mikhail Koliada
77f9a979a8 [Ubuntu] Downgrade mysql to 8.0.26 (#4674) 2021-12-07 23:38:14 +03:00
Mikhail Koliada
af645a7b5e [Ubuntu] get rid of post-gen rust script (#4575) 2021-11-26 12:39:13 +03:00
Maksim Shilov
1b583e05e5 [Ubuntu] Pin PostgreSQL version installed in the toolset (#4510)
* Pin PostgreSQL version installed in the toolset

* Source the helpers and resolving comments
2021-11-16 11:48:38 +03:00
Maksim Shilov
41c947a8f0 [Ubuntu] Pin MongoDB to the specific version defined in the toolset (#4447) 2021-11-10 19:30:25 +03:00
Nikolay Frolov
5f33b32a1e [Linux] Rework NodeJS install (#4378) 2021-10-30 14:56:36 +03:00
Dibir Magomedsaygitov
d502c64087 [Ubuntu] Rework Selenium installation (#4308) 2021-10-29 16:55:01 +03:00
Mikhail Timofeev
2e47a52b7e [Ubuntu] Avoid installing preview android platform versions (#4371) 2021-10-29 01:15:55 +03:00
Dibir Magomedsaygitov
2d46e3f4d9 [Ubuntu] Remove Ubuntu16 related code from the VE repository (#4336) 2021-10-26 15:30:59 +03:00
Mikhail Timofeev
b665bad57b Install compose v1 and v2 alongside (#4203) 2021-10-01 12:33:34 +03:00