summaryrefslogtreecommitdiff
path: root/.github/workflows/containers
AgeCommit message (Collapse)Author
2025-11-19[Github] Bump Runner Version in CI ContainersAiden Grossman
To ensure we stay ahead of the ~6 month time horizon. This new version seems to be mostly small version bumps and minor fixes that probably are not too relevant to us.
2025-11-10[GitHub][CI] Add parallel to the ci-container-abi-tests container (#167432)Tom Stellard
This way we can use the container for the libclang-abi-tests too.
2025-11-10[GitHub][CI] Add a new container to use for the abi tests (#166886)Tom Stellard
This way we don't need to install dependencies every time we run the job and it allows us to use a PGO'd compiler which performs much better than the system compiler. --------- Co-authored-by: Baranov Victor <bar.victor.2002@gmail.com>
2025-11-06[GitHub][CI] Move PATH setting into base image for tooling containers (#166826)Tom Stellard
This eliminate some redundant code.
2025-10-25[Github][CI] Add default gha user for tooling containers (#164294)Baranov Victor
This would solve https://github.com/llvm/llvm-project/blob/c0073a9170aaa4f3504f7cdf20758176bcb14ac1/.github/workflows/pr-code-format.yml#L28-L34
2025-10-23[CI][Github] Install Clang in Windows container (#164519)cmtice
Downloads clang-for-windows from the LLVM releases website, decompresses and untars the images, and leave them in C:\clang\clang-msvc\... Temporarily downloads the 'xz' utility to decompress the downloaded clang tarball image.
2025-10-19[GitHub][CI] Add missing dependencies to code-lint container (#163873)Baranov Victor
2025-10-14[Github] Bump Actions Runner to v2.329.0Aiden Grossman
Bump the runner version to keep things up to date and ensure we do not run past the runner support time horizon.
2025-10-14[Github] Bump LLVM Version in CI Container to 21.1.3Aiden Grossman
Just to keep things up to date.
2025-10-12[Github][CI] Add missing git-clang-format to format-container (#163054)Baranov Victor
2025-10-11Revert "[GitHub][docker] Add python3 venv package to CI container (#161024)"Aiden Grossman
This reverts commit 5a13c857f9aaa262e846444e0d3db4ee60854f7d. Now that pr-code-format.yml will be using a purpose-built container, we no longer need support for this in the main CI container.
2025-10-07[Github][CI] Add separate container for code-format premerge job (#161083)Baranov Victor
This PR adds a base container `llvm-downloader` which later used to create two separate containers for premerge jobs: - `code-format` container with `clang-format` and `black` - `code-lint` container with `clang-tidy`
2025-09-28[GitHub][docker] Add python3 venv package to CI container (#161024)Baranov Victor
I'm trying to make `pr-code-format.yml` job run natively on `ci-ubuntu-24.04` container. As it appears, `ci-ubuntu-24.04` already [has](https://github.com/llvm/llvm-project/blob/41a2dfc0d77d9ad977d1d36358f979abb3a0928f/.github/workflows/containers/github-action-ci/Dockerfile#L35) latest `clang-format`, `python3.12` installed, but `python3.12` needs `venv` to work properly, and Ubuntu asks for `python3-venv` package to be installed to create a venv.
2025-09-27[GitHub][docker] Fix 'FromAsCasing' violation in CI dockerfile (#161017)Baranov Victor
Fixes https://docs.docker.com/reference/build-checks/from-as-casing/ which also gives warning when building container from command line: ``` => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4) => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 40) => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 100) ```
2025-09-22[Github] Bump CI Container clang Version to 21.1.1Aiden Grossman
This patch bumps the CI container version to the latest release version. No particular reason to do this other than to ensure that we are using a clang built with IRPGO now that has relanded for the slight performance benefit.
2025-08-27[CI] Bump Linux Contaienr LLVM to 21.1.0 (#155658)Aiden Grossman
Now that a new release has come out, we should bump the version of the toolchain in the container to keep up to date.
2025-08-26[Github][CI] Install the correct binary of sccache on aarch64 (#155328)Tom Stellard
2025-08-15[Github][CI] Set CC and CXX in CI ContainerAiden Grossman
We set these explicitly in a bunch of places. That is annoying and it is nice to get them picked up by default rather than needing to remember.
2025-08-13[CI][Github] Bump Github Runner Version to 2.328.0Aiden Grossman
Only some minor changes, but we might as well upgrade now.
2025-08-06[Github][CI] Add python-is-python3 to CI containerAiden Grossman
This patch adds the python-is-python3 package to the CI container. Windows by default uses python instead of python3, which prevents code sharing without additionaly hackery. This should fix that and allow for #152199 to land.
2025-07-28[CI][Github] Bump CI Container Runner to v2.327.1Aiden Grossman
This came out a couple days ago. Upgrading to be proactive.
2025-07-25[CI] Remove ccache from Linux CI ContainerAiden Grossman
This patch removes ccache from the Linux CI container. It is no longer needed after migrating the monolithic-linux.sh script. The other two upstream users of this container, namely the post commit static analyzer and the llvm tests workflow both already use sccache. Reviewers: tstellar, gburgessiv, dschuff, Keenuts, lnihlen, cmtice Reviewed By: dschuff, Keenuts, cmtice Pull Request: https://github.com/llvm/llvm-project/pull/149197
2025-07-24[CI][Github] Bump runner version in CI containersAiden Grossman
v2.327.0 is the latest version. Bump the version in the containers to keep them up to date.
2025-07-17[CI][Github] Use newer sccache version in CI containerAiden Grossman
I was having trouble with the version that ships in the ubuntu apt repository and GCS based caching. The newer version works, so reintroduce the infra that we had in 2c1d4b0404187f0162d3b2df64dae062e53c3c79 to download it. Reviewers: tstellar, lnihlen, gburgessiv, dschuff, cmtice, Keenuts Reviewed By: cmtice, Keenuts Pull Request: https://github.com/llvm/llvm-project/pull/149196
2025-07-14[CI][Github] Version pin packages in windows containerAiden Grossman
I spent several hours debugging failures in the server 2022 container today that turned out to be related to a new ninja release from a couple weeks ago. This patch version pins all the packages so they do not spuriously upgrade and we can control the process to waste less effort debugging changes due to version changes. Reviewers: cmtice, tstellar, lnihlen Reviewed By: cmtice Pull Request: https://github.com/llvm/llvm-project/pull/148319
2025-07-14[CI][Github] Bump Windows Container to Server 2022Aiden Grossman
This patch bumps the windows CI container to windows server 2022 from windows server 2019. This is necessary as Github has sunsetted support for sever 2019, so we cannot build the container through GHA without updating. Using more recent versions is just good practice anyways. This will not roll out immediately and we'll have to make some TF changes to get deployed, but some additional validation first will be good anyways. Reviewers: lnihlen, tstellar, cmtice Reviewed By: cmtice Pull Request: https://github.com/llvm/llvm-project/pull/148318
2025-07-11[Github] Bump CI Container to 20.1.8 (#148104)Aiden Grossman
This patch bumps the LLVM toolchain version within the CI container to 20.1.8.
2025-07-07[Github][CI] Bump Github Runner Version in CI Container to v2.326.0 (#147393)Aiden Grossman
This is the latest runner version. Looks like it contains some minor fixes/dependency bumps.
2025-06-02[Github] Bump Github Actions Runner in CI Agent ContainersAiden Grossman
Github actions/runner v2.325.0 was released earlier today. Bump the container images to use the latest version.
2025-05-25[CI][Github] Prune windows container (#141440)Aiden Grossman
This patch partially prunes the windows container to reduce the image size, primarily to improve image pull time which is currently a pretty significant bottleneck in the new premerge due to autoscaling. This patch removes the following: - An extra copy of LLVM that is not needed anymore. - An unneeded perl installation - Some extra python packages that are specific to buildbot This overall saves about 4GB on the uncompressed image, or about 20%. I tested this locally against the premerge pipeline and everything passes. There are still several significant areas of opportunity, namely seeing if we can move away from the 4.8 sdk image to just the `windowsservercore` image (about 7GB of opportunity), and shrinking the VS installation (in total about 5GB uncompressed currently opportunity unknown).
2025-05-13[Github] Bump CI container dependency versionsAiden Grossman
This bumps the Github actions runner binary to v2.324.0 and the LLVM version in the Linux container to v20.1.4.
2025-04-27[Github] Install sccache from apt repo in CI container (#137491)Aiden Grossman
This patch installs sccache using apt-get in the CI container build process rather than manually downloading it from github releases. This makes things quite a bit simpler and means we are not manually handling things like hash/signature verification. This is only possible now that we are using ubuntu 24.04 by default.
2025-04-12[Github] Add llvm-symbolizer to CI containerAiden Grossman
This is needed for symbolizing some test failures. It is under 8MB, so there is very little cost to adding it.
2025-04-05[Github] Bump Github Runner Version in Agent ContainersAiden Grossman
The Github runner version got bumped recently and it would be good to keep this up to date. Also debugging an issue where Github ARC is failing to create new pods and trying to see if it might be related to outdated versions.
2025-03-27[Github] Bump CI container to ubuntu 24.04Aiden Grossman
This helps keep things up to date, and should not cause any issues given we do not need to care about binary compatibility for things built in the CI container. This patch also changes the name of the container which allows incrementally moving jobs over after this lands. Reviewers: tstellar Reviewed By: tstellar Pull Request: https://github.com/llvm/llvm-project/pull/132568
2025-03-27[Github] Bump CI container to LLVM 20.1.1Aiden Grossman
This patch bumps the CI container to the latest LLVM Release and gets rid of the patch that we were carrying that is in 20.1.1. Reviewers: tstellar Reviewed By: tstellar Pull Request: https://github.com/llvm/llvm-project/pull/132567
2025-03-26[github] remove more caches after downloading things (#133129)George Burgess IV
This is generally good practice if the caches won't be reused (though arguably pedantic for the `stage1-toolchain` stage). `docker history` on comparable images showed that this saves a few hundred MB on stage1, and ~60MB on the `apt-get` layer of `ci-container-agent`.
2025-03-03github: fix empty continuation line; remove trailing whitespace (#129535)George Burgess IV
- Trailing whitespace shows up as red on my editor, so remove. - Docker on my machine warns that having line continuations like: ``` sudo \ foo ``` is deprecated, and will become an error, so fix that up ahead of time.
2025-01-24[Github] Bump Runner Version in Containers (#124324)Aiden Grossman
This patch bumps the runner version to v2.322.0 in the CI containers. Nothing looks suspicious in the change log, and it is important to keep the runner up to date or we will end up with containers that cannot connect to Github due to having a version too old.
2025-01-20[Github] Add Agent Container Image (#123486)Aiden Grossman
This patch adds an agent container image on top of the normal CI container image. They are the exact same except that the agent container image also contains Github Runner binaries. I've split it into a separate container as only one user of these images (the new premerge) needs this binary installed, and it bloats the container image size significantly (900MB->1.3GB or so).
2025-01-20[Github] Add Zlib at build time to CI container (#123489)Aiden Grossman
This patch adds zlib at build time to the CI container. This is needed to make an lldb test pass that defaults to using the system lld if it is not explicitly enabled in LLVM_ENABLE_PROJECTS. Fixes #123479 (by fixing the proximal cause).
2025-01-19[Github] Bump Windows Actions Runner to v2.321.0 (#123508)Aiden Grossman
The current container is on an old version that can no longer recieve messages from Github, which causes the runner to just be recreated every couple seconds rather than performing any useful work.
2025-01-08[Github] Add sccache to CI container (#122063)Aiden Grossman
This patch adds sccache to the CI container so that the llvm-project-tests workflow does not fail due to missing sccache.
2025-01-08[Github] Add sudo to CI container (#122036)Aiden Grossman
This patch adds sudo to the CI container and also adds the gha user as a member of the sudo group along with making any member of the sudo group able to run commands as root without a password. This is primarily intended to enable installing new software through apt-get without having to rebuild the container.
2024-12-16[Github] Default to non-root user in linux CI container (#119987)Aiden Grossman
This patch sets the default user in the linux CI container to a non-root user, which enables properly testing a couple of features, particularly in libcxx.
2024-12-16[Github] Add some additional system packages (#119988)Aiden Grossman
This patch adds some additional system packages to the CI container. These are necessary for use in the new premerge workflows. The size increase is not super small, but should be manageable with the size increase being about 100MB.
2024-12-13[Github] Add a windows CI container (#118206)Aiden Grossman
This patch adds a windows CI container mostly based off of the existing container used for Buildkite (https://github.com/google/llvm-premerge-checks/blob/a687e33c37fbdcf67b52805c8cf3a8ed145e3243/containers/buildkite-windows/Dockerfile#L1). This is intended to be a starting point as we transition to Github Actions with the eventual plan being to build a custom windows toolchain similar to what we do on Linux.
2024-12-13[Github] Bump CI container to LLVM 19.1.5 (#119809)Aiden Grossman
Bump the CI container version to the latest release.
2024-12-10workflows: Rewrite build-ci-container to work on larger runners (#117353)Tom Stellard
Also switch them over to the new depot runners.
2024-10-19[Github] Bump CI compiler version to 19.1.2 (#113016)Aiden Grossman