Skip to content

Commit aba8c0b

Browse files
committed
resolve PR comments
1 parent 84239dc commit aba8c0b

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/build-ci-container-tooling.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
jobs:
2323
build-ci-container-tooling:
2424
if: github.repository_owner == 'llvm'
25-
runs-on: depot-ubuntu-24.04-16
25+
runs-on: ubuntu-24.04
2626
steps:
2727
- name: Checkout LLVM
2828
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -44,6 +44,15 @@ jobs:
4444
echo "container-name-lint-tag=$container_name-lint:$tag" >> $GITHUB_OUTPUT
4545
echo "container-format-filename=$(echo $container_name-format:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
4646
echo "container-lint-filename=$(echo $container_name-lint:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
47+
48+
# The default Docker storage location for GitHub Actions doesn't have
49+
# enough disk space, so change it to /mnt, which has more disk space.
50+
- name: Change Docker storage location
51+
run: |
52+
sudo mkdir /mnt/docker
53+
echo '{ "data-root": "/mnt/docker" }' | sudo tee /etc/docker/daemon.json
54+
sudo systemctl restart docker
55+
4756
- name: Build container
4857
run: |
4958
podman build --target ci-container-code-format \

.github/workflows/containers/github-action-ci-tooling/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG LLVM_VERSION
55

66
RUN apt-get update && \
77
apt-get install -y wget xz-utils && \
8-
wget --progress=bar:force -O llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/LLVM-${LLVM_VERSION}-Linux-X64.tar.xz && \
8+
wget -O llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/LLVM-${LLVM_VERSION}-Linux-X64.tar.xz && \
99
mkdir -p /llvm-extract && \
1010
tar -xvJf llvm.tar.xz -C /llvm-extract LLVM-${LLVM_VERSION}-Linux-X64/bin/ && \
1111
rm llvm.tar.xz
@@ -28,8 +28,6 @@ RUN apt-get update && \
2828
apt-get clean && \
2929
rm -rf /var/lib/apt/lists/*
3030

31-
WORKDIR /home/gha
32-
3331

3432
FROM base AS ci-container-code-format
3533
ARG LLVM_VERSION

0 commit comments

Comments
 (0)