lint: Flatten lint image entry points

This commit is contained in:
MarcoFalke committed 2026-01-28 15:22:18 +01:00
1 parent 1111fff91c
commit faba426b3b
5 files changed
+8 -23

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ export LC_ALL=C
set -o errexit -o pipefail -o xtrace
export DEBIAN_FRONTEND=noninteractive
export CI_RETRY_EXE="/ci_retry"
pushd "/"
+6
View File
@@ -8,6 +8,12 @@ export LC_ALL=C
set -o errexit -o pipefail -o xtrace
# Fixes permission issues when there is a container UID/GID mismatch with the owner
# of the mounted bitcoin src dir.
git config --global --add safe.directory /bitcoin
export PATH="/python_build/bin:${PATH}"
if [ -n "${LINT_CI_IS_PR}" ]; then
export COMMIT_RANGE="HEAD~..HEAD"
if [ "$(git rev-list -1 HEAD)" != "$(git rev-list -1 --merges HEAD)" ]; then
-15
View File
@@ -1,15 +0,0 @@
#!/usr/bin/env bash
#
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit/.
export LC_ALL=C
# Fixes permission issues when there is a container UID/GID mismatch with the owner
# of the mounted bitcoin src dir.
git config --global --add safe.directory /bitcoin
export PATH="/python_build/bin:${PATH}"
./ci/lint/06_script.sh "$@"