aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-07-08 16:20:01 +0800
committerfanquake <fanquake@gmail.com>2021-08-31 09:37:23 +0800
commitab9c34237ab7b056394e0bd1f7cb131ffd95754c (patch)
tree15c3b14e28d643acd1382e0f69d7f89081daf6f6 /test
parent7be143a960e2bb9ac81144f55c45731c1bb209c5 (diff)
downloadbitcoin-ab9c34237ab7b056394e0bd1f7cb131ffd95754c.tar.xz
release: remove gitian
Diffstat (limited to 'test')
-rwxr-xr-xtest/lint/lint-shell.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/lint/lint-shell.sh b/test/lint/lint-shell.sh
index 4dbf5ed28e..73ac583d84 100755
--- a/test/lint/lint-shell.sh
+++ b/test/lint/lint-shell.sh
@@ -14,10 +14,6 @@ disabled=(
SC2086 # Double quote to prevent globbing and word splitting.
SC2162 # read without -r will mangle backslashes.
)
-disabled_gitian=(
- SC2094 # Make sure not to read and write the same file in the same pipeline.
- SC2129 # Consider using { cmd1; cmd2; } >> file instead of individual redirects.
-)
EXIT_CODE=0
@@ -33,22 +29,4 @@ if ! "${SHELLCHECK_CMD[@]}" "$EXCLUDE" $SOURCED_FILES $(git ls-files -- '*.sh' |
EXIT_CODE=1
fi
-if ! command -v yq > /dev/null; then
- echo "Skipping Gitian descriptor scripts checking since yq is not installed."
- exit $EXIT_CODE
-fi
-
-EXCLUDE_GITIAN=${EXCLUDE}",$(IFS=','; echo "${disabled_gitian[*]}")"
-for descriptor in $(git ls-files -- 'contrib/gitian-descriptors/*.yml')
-do
- script=$(basename "$descriptor")
- # Use #!/bin/bash as gitian-builder/bin/gbuild does to complete a script.
- echo "#!/bin/bash" > $script
- yq -r .script "$descriptor" >> $script
- if ! "${SHELLCHECK_CMD[@]}" "$EXCLUDE_GITIAN" $script; then
- EXIT_CODE=1
- fi
- rm $script
-done
-
exit $EXIT_CODE