Commit Graph

736 Commits

Author SHA1 Message Date
Mikhail Koliada 9efcd841b9 [Ubuntu] do not add homebrew to $PATH (#6240) 2022-09-22 18:07:12 +02:00
Mikhail Koliada 4a83f39eb5 [Ubuntu] remove gfortran symlink from brew (#6276) 2022-09-21 10:44:01 +02:00
Erik Bershel c0d68d79cc Update installers comments (#6262) 2022-09-20 08:32:48 +03:00
Mikhail Koliada 3fab712c1e [Ubuntu] Install gcc@12 from brew (#6258) 2022-09-19 16:36:04 +03:00
Erik Bershel 771b5010e7 [Ubuntu] Update file name comment - sbt.sh (#6242) 2022-09-14 20:24:53 +03:00
Erik Bershel ab39638013 [Ubuntu] Update file name comment - mono.sh (#6241) 2022-09-14 18:37:36 +03:00
Mikhail Koliada cecc9022fa [Ubuntu] Install latest google-cloud-sdk (#6222) 2022-09-12 21:28:26 +03:00
Erik Bershel ce11b31f3b [Ubuntu] Add VCPKG_ROOT variable (#6196) 2022-09-12 20:17:10 +03:00
Aleksandr Chebotov 88b883191b Update file name comment (#6215) 2022-09-12 08:26:03 +02:00
Aleksandr Chebotov f1abfa5fde Fix chromium revision parsing (#6182) 2022-09-05 13:54:06 +03:00
Aleksandr Chebotov ef55b435e5 Update inotify resource limits (#6132) 2022-08-24 11:46:37 +03:00
Dusko Dobranic 2e8e30099e [all OSs] Change title in workflow log (#6058)
* [all OSs] Change title in workflow log

* Update images/linux/scripts/installers/preimagedata.sh

Co-authored-by: Sam Tran <samvantran@github.com>

* Resolve comments

* Revert to 'Runner Image' and 'Image' labels

Co-authored-by: Sam Tran <samvantran@github.com>
2022-08-16 17:01:50 +02:00
Mikhail Koliada 14b3afe238 [Ubuntu] put Microsoft repo higher for dotnet (#6084) 2022-08-16 11:03:03 +02:00
Casper da Costa-Luis 4994130a96 virtual-environments => runner-images (#6033)
* virtual-environments => runner-images

- as per https://github.blog/changelog/2022-08-08-github-actions-runner-images-repository-refresh

* revert readme changes

- as per https://github.com/actions/runner-images/pull/6033#discussion_r941173809
2022-08-10 14:55:34 +02:00
Mikhail Timofeev e033c5a564 Change NDK latest to NDK root (#6025) 2022-08-05 13:36:32 +03:00
Mikhail Timofeev cd98711e9d Add ndk-related environment variables to ubuntu (#5983) 2022-07-28 17:08:57 +03:00
Mikhail Timofeev 11cfd9eac0 Add mono package to ubuntu 22 (#5950) 2022-07-25 12:26:39 +03:00
Aleksandr Chebotov d746320dd3 Fix libssl1.1 installation (#5956) 2022-07-25 12:21:50 +03:00
Mikhail Timofeev 893e347c8e Remove ndk-bundle from ubuntu (#5926) 2022-07-19 13:06:31 +03:00
Mikhail Timofeev 907e9a0f30 Revert "Reverting ORAS CLI to version 0.12 (#5907)" (#5914)
This reverts commit 5a92cfc1a0.
2022-07-15 13:38:14 +03:00
Mikhail Koliada e621b60110 Revert "[Ubuntu] Apply esl-erlang workaround for 20.04 (#5867)" (#5909)
This reverts commit 8bef3e3651.
2022-07-15 08:04:15 +02:00
Suyash Saluja 5a92cfc1a0 Reverting ORAS CLI to version 0.12 (#5907) 2022-07-14 18:28:42 +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
Mikhail Timofeev e657930a55 [Ubuntu] Update link to openssl (#5870)
* Update link to openssl

* Fix filename in dpkg invocation
2022-07-07 10:20:52 +03:00
Mikhail Koliada 8bef3e3651 [Ubuntu] Apply esl-erlang workaround for 20.04 (#5867) 2022-07-06 19:59:48 +03:00
Henry Mercer b3b4deba3b Use v2 branch to get the Linux CodeQL bundle too (#5840)
https://github.com/actions/virtual-environments/pull/5307 did this for Windows; let's do Linux too.
2022-06-30 12:49:27 +03:00
Aleksandr Chebotov e38f75e512 Update openssl 1.1 on Ubuntu 22.04 (#5798) 2022-06-23 12:37:51 +03:00
Mikhail Koliada 199bdd9dd9 [Ubuntu] Install aws-cli v2 on 18.04 (#5743) 2022-06-16 12:09:45 +03:00
Aleksandr Chebotov be40e97a97 Update erlang repo (#5722) 2022-06-13 13:37:41 +02:00
Aleksandr Chebotov 7aa16adef0 Update bazel cache once (#5709) 2022-06-08 17:30:31 +03:00
Mikhail Koliada 8b4d799f25 [Ubuntu] Remove apt-key from GCP installer (#5687) 2022-06-06 17:06:55 +03:00
Mikhail Koliada 787d6f6ee7 [Ubuntu] install Temurin gpg key manually on 22.04 (#5676) 2022-06-06 13:49:12 +03:00
Mikhail Koliada 7d31b635ea [Ubuntu] Remove apt-key from rlang install script (#5685) 2022-06-06 13:32:35 +03:00
Mikhail Koliada 1583fd17e7 [Ubuntu] Remove apt-key from postgresql installer (#5686) 2022-06-06 13:32:21 +03:00
Aleksandr Chebotov d63f3cf0f4 Use direct link to download latest yq version (#5689) 2022-06-06 09:30:14 +02:00
Aleksandr Chebotov 6f162dda04 Downgrade aws cli v1 to 1.24.10 (#5663) 2022-06-01 17:27:13 +03:00
Aleksandr Chebotov e27faa696e [Ubuntu] Do not add adoptopenjdk ppa to Ubuntu Server 22.04 (#5659)
* Do not add adoptopenjdk ppa to Ubuntu Server 22.04

* typo fi
2022-06-01 13:46:04 +03:00
Aleksandr Chebotov 82d552ac56 [Ubuntu] Install latest Android cmdline-tools (#5639)
* [Ubuntu] Install latest Android cmdline-tools

* Move yq installation
2022-05-31 11:05:22 +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](https://github.com/jpsim/SourceKitten/blob/f7cf1e3b6328f21e344e83450ae1298af69de281/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 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
Shohei Maeda f8f8c93509 [Ubuntu] Use new Hashicorp Releases API (#5587) 2022-05-23 16:47:07 +03:00
Mikhail Koliada e4d58452f4 [Ubuntu] Rework podman and tools installation (#5580) 2022-05-20 16:40:31 +03:00
Mikhail Timofeev dc7d03e49d [Ubuntu] Make software and release URLs using variables instead of hardcode (#5572)
* Make urls using variables instead of hardcode

* Simplify versions retrieval
2022-05-19 21:47:48 +02:00
Aleksandr Chebotov 536cfa24b0 [Ubuntu] Revert powershell fix for Ubuntu 22.04 (#5567)
* Revert powershell fix for Ubuntu 22.04

* Move libssl1.1 dependency

* fix typo

* remove comment
2022-05-18 15:39:37 +03:00
Aleksandr Chebotov 17d10f6889 Add amazon-ecr-credential-helper (#5544) 2022-05-16 18:49:51 +03:00
Rob Herley 1bd639f31d add ecdsa & ed25519 gh host keys (#5520) 2022-05-12 11:53:25 +03:00
Aleksandr Chebotov 5a2cb18a48 [Ubuntu] OpenSSL disable to load providers (#5496)
* [Ubuntu] OpenSSL disable to load providers

* Add link to vsts-agent issue

* Add Ubuntu22 check condition
2022-05-06 12:54:50 +02:00
Aleksandr Chebotov 8ee6ce76e4 Update libssl for Ubuntu22 (#5497) 2022-05-06 10:11:47 +02:00