Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
7621-gh-Update-to-use-latest-kerl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 7621-gh-Update-to-use-latest-kerl.patch of Package erlang
From 9563b435046158437975ed26e9d62323f6725080 Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Mon, 25 Mar 2024 08:52:30 +0100 Subject: [PATCH] gh: Update to use latest kerl This also solves the issue that a 27 release candidate was selected as a backward compat testing release. --- .github/dockerfiles/Dockerfile.ubuntu-base | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/dockerfiles/Dockerfile.ubuntu-base b/.github/dockerfiles/Dockerfile.ubuntu-base index c042ca51ad..546a1d3eb5 100644 --- a/.github/dockerfiles/Dockerfile.ubuntu-base +++ b/.github/dockerfiles/Dockerfile.ubuntu-base @@ -47,17 +47,19 @@ RUN mkdir /buildroot /tests /otp && chown ${USER}:${GROUP} /buildroot /tests /ot ## We install the latest version of the previous three releases in order to do ## backwards compatability testing of Erlang. -RUN apt-get install -y git curl && \ - curl -L https://raw.githubusercontent.com/kerl/kerl/3.1.0/kerl > /usr/bin/kerl && \ +RUN apt-get update && apt-get install -y git curl && \ + curl -L https://raw.githubusercontent.com/kerl/kerl/master/kerl > /usr/bin/kerl && \ chmod +x /usr/bin/kerl && \ kerl update releases && \ - LATEST=$(kerl list releases | tail -1 | awk -F '.' '{print $1}') && \ + LATEST=$(kerl list releases | grep "\*$" | tail -1 | awk -F '.' '{print $1}') && \ for release in $(seq $(( LATEST - 2 )) $(( LATEST ))); do \ - VSN=$(kerl list releases | grep "^$release" | tail -1); \ + VSN=$(kerl list releases | grep "^$release" | tail -1 | awk '{print $1}'); \ if [ $release = $LATEST ]; then \ echo "/usr/local/lib/erlang-${VSN}/bin" > /home/${USER}/LATEST; \ fi && \ + echo "Building ${VSN}" && \ kerl build ${VSN} ${VSN} && \ + echo "Installing ${VSN} to /usr/local/lib/erlang-${VSN}" && \ kerl install ${VSN} /usr/local/lib/erlang-${VSN}; \ done && \ rm -rf ~/.kerl -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor