Skip to content

Commit 5fbbff3

Browse files
committed
Update runner to v2.316.0
1 parent b39e3fd commit 5fbbff3

File tree

3 files changed

+37
-18
lines changed

3 files changed

+37
-18
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ inputs:
3535
image:
3636
description: Specifies the name of the image that the disk will be initialized with.
3737
required: false
38-
default: gh-runner-202404261952
38+
default: gh-runner-202404291530
3939
image_family:
4040
description: The image family for the operating system that the boot disk will be initialized with.
4141
required: false

vm/rootfs/etc/preloaded-images

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-test-new-preview-gha.24525
2+
eu.gcr.io/gitpod-core-dev/dev/dev-environment:aledbf-go-122-gha.23879
23
gitpod/workspace-full
34
mysql:8.0.33
45
bitnami/mysql:8.0.33-debian-11-r24
56
redis
6-
node:18
77
node:20
8-
localstack/localstack:2.2
98
localstack/localstack:3.0.0
109
registry:2

vm/setup.sh

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ export DEBIAN_FRONTEND=noninteractive
66

77
RUNNER_USER="runner"
88
RUNNER_DIR="/home/${RUNNER_USER}"
9-
RUNNER_VER=2.315.0
9+
RUNNER_VER=2.316.0
1010

11-
HELM_VERSION=3.12.1
12-
PULUMI_VERSION=3.89.0
11+
HELM_VERSION=3.14.0
12+
PULUMI_VERSION=3.114.0
1313

1414
DOCKER_USER_UID=33333
1515
DOCKER_GROUP_GID=33333
1616

1717
DOCKER_VERSION=26.0.0
1818
DOCKER_COMPOSE_VERSION=v2.26.0
19-
DOCKER_BUILDX_VERSION=0.13.1
19+
DOCKER_BUILDX_VERSION=0.14.0
2020

2121
echo "📝 Preparing environment for docker..."
2222
# Only install containerd from docker.io repository to be in control of the docker services.
@@ -126,6 +126,17 @@ echo "📝 Installing pulumi..."
126126
curl -fsSL https://get.pulumi.com/releases/sdk/pulumi-v${PULUMI_VERSION}-linux-x64.tar.gz | tar -xzvC /tmp/ --strip-components=1
127127
cp /tmp/pulumi* /usr/local/bin/
128128

129+
echo "Installing node.js..."
130+
export NODE_MAJOR=20
131+
apt install -y ca-certificates curl gnupg && \
132+
mkdir -p /etc/apt/keyrings && \
133+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
134+
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" > /etc/apt/sources.list.d/nodesource.list && \
135+
apt-install -y nodejs && \
136+
npm install -g @devcontainers/cli && \
137+
rm -rf /usr/include/node/openssl/archs/{aix64-gcc-as,BSD-x86,BSD-x86_64,darwin64-arm64-cc,darwin64-x86_64-cc,darwin-i386-cc,linux32-s390x,linux64-loongarch64,linux64-mips64,linux64-riscv64,linux64-s390x,linux-armv4,linux-ppc64le,solaris64-x86_64-gcc,solaris-x86-gcc,VC-WIN32} && \
138+
rm -rf /usr/share/doc/nodejs
139+
129140
echo "📝 Installing actions-runner..."
130141
RUNNER_TGZ=/tmp/actions-runner-linux-x64-${RUNNER_VER}.tar.gz
131142

@@ -232,26 +243,35 @@ apt-get autoremove --assume-yes --quiet
232243
# Disable services that can impact the VM during start. This is discouraged in everyday
233244
# situations, but by using the cluster autoscaler the node rotation removes any benefit.
234245
SERVICES_TO_DISABLE=(
235-
apt-daily-upgrade.timer
236-
apt-daily.timer
246+
secureboot-db.service
247+
apport-autoreport.service
248+
apport.service
237249
apt-daily-upgrade.service
250+
apt-daily-upgrade.timer
238251
apt-daily.service
239-
man-db.timer
252+
apt-daily.timer
253+
atop.service
254+
atopacct.service
255+
bluetooth.target
256+
console-setup.service
257+
e2scrub_reap.service
258+
fstrim.service
259+
keyboard-setup
240260
man-db.service
241-
crond.service
261+
man-db.timer
242262
motd-news.service
243263
motd-news.timer
244-
unattended-upgrades.service
245-
apport.service
246-
apport-autoreport.service
247-
bluetooth.target
264+
netplan-ovs-cleanup.service
265+
systemd-journal-flush
266+
systemd-pcrphase.service
267+
systemd-udev-settle.service
248268
ua-messaging.service
249269
ua-messaging.timer
250-
ua-timer.timer
270+
ua-reboot-cmds.service
251271
ua-timer.service
272+
ua-timer.timer
252273
ubuntu-advantage.service
253-
secureboot-db.service
254-
atop.service
274+
unattended-upgrades.service
255275
)
256276
# shellcheck disable=SC2048
257277
for SERVICE in ${SERVICES_TO_DISABLE[*]}; do

0 commit comments

Comments
 (0)