fix: use elixir-1.17.3-otp-26 to avoid beam.smp chewing CPU on arm (#4319)

* fix: use elixir-1.17.3-otp-26 to avoid beam.smp chewing CPU on arm

fixes: #4307

* docs: update changelog
This commit is contained in:
JakobLichterfeld
2024-10-29 18:59:27 +01:00
committed by GitHub
parent b8d811d378
commit cfaa4b8915
5 changed files with 9 additions and 7 deletions
@@ -4,11 +4,11 @@ inputs:
elixir-version: elixir-version:
description: "Elixir version" description: "Elixir version"
required: false required: false
default: "1.17.2" default: "1.17.3"
otp-version: otp-version:
description: "OTP version" description: "OTP version"
required: false required: false
default: "27" default: "26"
cache-name-deps: cache-name-deps:
description: "Cache name for dependencies" description: "Cache name for dependencies"
required: true required: true
+2
View File
@@ -6,6 +6,8 @@
### Improvements and bug fixes ### Improvements and bug fixes
- fix: use elixir-1.17.3-otp-26 to avoid beam.smp chewing CPU on arm (#4319 - @swiffer and @JakobLichterfeld)
#### Build, CI, internal #### Build, CI, internal
- ci(fix): update cleanup_caches.yml to use new cache management commands and fix permissions ([d6793ce](https://github.com/teslamate-org/teslamate/commit/d6793ce5717687b9e984067bf4c208415e15fdac), [b0b694f](https://github.com/teslamate-org/teslamate/commit/b0b694fc8c3c45036aafda45200f3b0d068a2f50), [16bb503](https://github.com/teslamate-org/teslamate/commit/16bb5032c7d81cb86e76cc19662e3332456291a0) - @JakobLichterfeld) - ci(fix): update cleanup_caches.yml to use new cache management commands and fix permissions ([d6793ce](https://github.com/teslamate-org/teslamate/commit/d6793ce5717687b9e984067bf4c208415e15fdac), [b0b694f](https://github.com/teslamate-org/teslamate/commit/b0b694fc8c3c45036aafda45200f3b0d068a2f50), [16bb503](https://github.com/teslamate-org/teslamate/commit/16bb5032c7d81cb86e76cc19662e3332456291a0) - @JakobLichterfeld)
+1 -1
View File
@@ -1,4 +1,4 @@
FROM elixir:1.17.2-otp-27 AS builder FROM elixir:1.17.3-otp-26 AS builder
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
+3 -3
View File
@@ -2,8 +2,8 @@
{ {
perSystem = { lib, pkgs, system, ... }: perSystem = { lib, pkgs, system, ... }:
let let
elixir = pkgs.beam.packages.erlang_27.elixir_1_17; elixir = pkgs.beam.packages.erlang_26.elixir_1_17;
beamPackages = pkgs.beam.packagesWith pkgs.beam.interpreters.erlang_27; beamPackages = pkgs.beam.packagesWith pkgs.beam.interpreters.erlang_26;
src = ../..; src = ../..;
version = builtins.readFile "${src}/VERSION"; version = builtins.readFile "${src}/VERSION";
@@ -13,7 +13,7 @@
TOP_SRC = src; TOP_SRC = src;
pname = "${pname}-mix-deps"; pname = "${pname}-mix-deps";
inherit src version; inherit src version;
hash = "sha256-Y+CGgvnSCiiuyhtsQ+j0vayq1IHO5IEPVl+V/wwTd6w="; hash = "sha256-46RLGX86/soSlEHifFspFGQeDU6s9agFEa9uRw4tZRg=";
# hash = pkgs.lib.fakeHash; # hash = pkgs.lib.fakeHash;
}; };
+1 -1
View File
@@ -6,7 +6,7 @@ sidebar_label: Development and Contributing
## Requirements ## Requirements
- **Elixir** >= 1.17.2-otp-27 - **Elixir** >= 1.17.3-otp-26
- **Postgres** >= 17 - **Postgres** >= 17
- An **MQTT broker** e.g. mosquitto (_optional_) - An **MQTT broker** e.g. mosquitto (_optional_)
- **NodeJS** >= 20.15.0 - **NodeJS** >= 20.15.0