From bded4e9d5f2297984222fd8d56f2715983789bf4 Mon Sep 17 00:00:00 2001 From: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Date: Tue, 7 Oct 2025 13:45:34 +0200 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=F0=9F=94=A7=20Fix=20build-runtime-s?= =?UTF-8?q?rtool=20script=20(#210)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- operator/scripts/build-runtime-srtool.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/scripts/build-runtime-srtool.sh b/operator/scripts/build-runtime-srtool.sh index 3be476f8..f1069d48 100755 --- a/operator/scripts/build-runtime-srtool.sh +++ b/operator/scripts/build-runtime-srtool.sh @@ -11,8 +11,8 @@ CMD="docker run \ -i \ --rm \ -e CARGO_NET_GIT_FETCH_WITH_CLI=true \ - -e PACKAGE=${GH_WORKFLOW_MATRIX_CHAIN}-runtime \ - -e RUNTIME_DIR=runtime/${GH_WORKFLOW_MATRIX_CHAIN} \ + -e PACKAGE=datahaven-${GH_WORKFLOW_MATRIX_CHAIN}-runtime \ + -e RUNTIME_DIR=operator/runtime/${GH_WORKFLOW_MATRIX_CHAIN} \ -e BUILD_OPTS=${RUNTIME_BUILD_OPTS} \ -e PROFILE=${RUNTIME_BUILD_PROFILE} \ -e WASM_BUILD_STD=0 \ From de2a1c11814eb771e510e2f899ada8273443de2f Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Date: Wed, 8 Oct 2025 13:40:13 +0200 Subject: [PATCH 2/2] fix: fix srtool user (#215) --- operator/scripts/build-runtime-srtool.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/operator/scripts/build-runtime-srtool.sh b/operator/scripts/build-runtime-srtool.sh index f1069d48..c8bf5a98 100755 --- a/operator/scripts/build-runtime-srtool.sh +++ b/operator/scripts/build-runtime-srtool.sh @@ -10,6 +10,7 @@ CMD="docker run \ -i \ --rm \ + --user $(id -u):$(id -g) \ -e CARGO_NET_GIT_FETCH_WITH_CLI=true \ -e PACKAGE=datahaven-${GH_WORKFLOW_MATRIX_CHAIN}-runtime \ -e RUNTIME_DIR=operator/runtime/${GH_WORKFLOW_MATRIX_CHAIN} \