mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-04 07:39:07 +08:00
ci: upgrade s390x runner to v2.285.0
This is needed for composite actions with conditional steps. Fixes #416. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
This commit is contained in:
committed by
Andrii Nakryiko
parent
4884bf3dbd
commit
93e89b3474
@@ -62,8 +62,8 @@ $ sudo systemctl restart actions-runner-libbpf
|
|||||||
The `actions-runner-libbpf` service stores various temporary data, such as
|
The `actions-runner-libbpf` service stores various temporary data, such as
|
||||||
runner registration information, work directories and logs, in the
|
runner registration information, work directories and logs, in the
|
||||||
`actions-runner-libbpf` volume. In order to remove it and start from scratch,
|
`actions-runner-libbpf` volume. In order to remove it and start from scratch,
|
||||||
e.g. when switching the runner to a different repository, use the following
|
e.g. when upgrading the runner or switching it to a different repository, use
|
||||||
commands:
|
the following commands:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo systemctl stop actions-runner-libbpf
|
$ sudo systemctl stop actions-runner-libbpf
|
||||||
|
|||||||
@@ -33,13 +33,14 @@ RUN ln -fs /etc/resolv.conf /usr/x86_64-linux-gnu/etc/
|
|||||||
ENV QEMU_LD_PREFIX=/usr/x86_64-linux-gnu
|
ENV QEMU_LD_PREFIX=/usr/x86_64-linux-gnu
|
||||||
|
|
||||||
# amd64 Github Actions Runner.
|
# amd64 Github Actions Runner.
|
||||||
|
ARG version=2.285.0
|
||||||
RUN useradd -m actions-runner
|
RUN useradd -m actions-runner
|
||||||
RUN echo "actions-runner ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
|
RUN echo "actions-runner ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
|
||||||
RUN echo "Defaults env_keep += \"DEBIAN_FRONTEND\"" >>/etc/sudoers
|
RUN echo "Defaults env_keep += \"DEBIAN_FRONTEND\"" >>/etc/sudoers
|
||||||
USER actions-runner
|
USER actions-runner
|
||||||
ENV USER=actions-runner
|
ENV USER=actions-runner
|
||||||
WORKDIR /home/actions-runner
|
WORKDIR /home/actions-runner
|
||||||
RUN curl -L https://github.com/actions/runner/releases/download/v2.283.2/actions-runner-linux-x64-2.283.2.tar.gz | tar -xz
|
RUN curl -L https://github.com/actions/runner/releases/download/v${version}/actions-runner-linux-x64-${version}.tar.gz | tar -xz
|
||||||
VOLUME /home/actions-runner
|
VOLUME /home/actions-runner
|
||||||
|
|
||||||
# Scripts.
|
# Scripts.
|
||||||
|
|||||||
Reference in New Issue
Block a user