mirror of https://github.com/zulip/zulip.git
install-shellcheck: Upgrade ShellCheck to 0.9.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
8a8e538af7
commit
986bad8f90
|
@ -18,6 +18,7 @@ fi
|
|||
method=webroot
|
||||
args="$(getopt -o '' --long help,email:,method:,skip-symlink,agree-tos -n "$0" -- "$@")"
|
||||
eval "set -- $args"
|
||||
agree_tos=()
|
||||
while true; do
|
||||
case "$1" in
|
||||
--email)
|
||||
|
@ -35,7 +36,7 @@ while true; do
|
|||
shift
|
||||
;;
|
||||
--agree-tos)
|
||||
agree_tos=--agree-tos
|
||||
agree_tos=(--agree-tos)
|
||||
shift
|
||||
;;
|
||||
--help)
|
||||
|
@ -106,7 +107,7 @@ esac
|
|||
# an annoying prompt we stifle with --no-eff-email.
|
||||
certbot certonly "${method_args[@]}" \
|
||||
"${HOSTNAMES[@]}" -m "$EMAIL" \
|
||||
$agree_tos \
|
||||
"${agree_tos[@]}" \
|
||||
--force-interactive --no-eff-email
|
||||
|
||||
symlink_with_backup() {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
version=0.8.0
|
||||
version=0.9.0
|
||||
arch="$(uname -m)"
|
||||
tarball="shellcheck-v$version.linux.$arch.tar.xz"
|
||||
declare -A sha256=(
|
||||
[aarch64]=9f47bbff5624babfa712eb9d64ece14c6c46327122d0c54983f627ae3a30a4ac
|
||||
[x86_64]=ab6ee1b178f014d1b86d1e24da20d1139656c8b0ed34d2867fbb834dad02bf0a
|
||||
[aarch64]=179c579ef3481317d130adebede74a34dbbc2df961a70916dd4039ebf0735fae
|
||||
[x86_64]=700324c6dd0ebea0117591c6cc9d7350d9c7c5c287acbad7630fa17b1d4d9e2f
|
||||
)
|
||||
|
||||
check_version() {
|
||||
|
|
|
@ -8,10 +8,11 @@ TEMP=$(getopt -o "" --long skip-provision-check -- "$@")
|
|||
eval set -- "$TEMP"
|
||||
|
||||
# extract options.
|
||||
forcearg=()
|
||||
while true; do
|
||||
case "$1" in
|
||||
--skip-provision-check)
|
||||
FORCEARG="--skip-provision-check"
|
||||
forcearg=(--skip-provision-check)
|
||||
shift
|
||||
;;
|
||||
--)
|
||||
|
@ -45,12 +46,12 @@ printf '\e[0m'
|
|||
echo
|
||||
|
||||
# prep
|
||||
run ./tools/check-provision $FORCEARG
|
||||
run ./tools/check-provision "${forcearg[@]}"
|
||||
|
||||
# ci/backend
|
||||
run ./tools/lint --groups=backend $FORCEARG
|
||||
run ./tools/lint --groups=backend "${forcearg[@]}"
|
||||
run ./tools/test-tools
|
||||
run ./tools/test-backend --include-webhooks --ban-console-output $FORCEARG
|
||||
run ./tools/test-backend --include-webhooks --ban-console-output "${forcearg[@]}"
|
||||
run ./tools/test-migrations
|
||||
# Not running SVG optimizing since it's low-churn
|
||||
# run ./tools/setup/optimize-svg
|
||||
|
@ -58,7 +59,7 @@ run ./tools/test-migrations
|
|||
# ./tools/setup/generate_integration_bots_avatars.py --check-missing
|
||||
# Not running documentation tests since it takes 20s and only tests documentation
|
||||
# run ./tools/test-documentation --skip-external-links
|
||||
run ./tools/test-help-documentation --skip-external-links $FORCEARG
|
||||
run ./tools/test-help-documentation --skip-external-links "${forcearg[@]}"
|
||||
run ./tools/test-api
|
||||
# Not running requirements check locally, because slow and low-churn
|
||||
# run ./tools/test-locked-requirements
|
||||
|
@ -68,12 +69,12 @@ run ./tools/test-api
|
|||
# run ./tools/test-queue-worker-reload
|
||||
|
||||
# ci/frontend
|
||||
run ./tools/lint --groups=frontend $FORCEARG
|
||||
run ./tools/lint --groups=frontend "${forcearg[@]}"
|
||||
run ./tools/test-js-with-node
|
||||
run ./tools/check-schemas
|
||||
run ./manage.py makemessages --locale en
|
||||
run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
|
||||
run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
|
||||
run ./tools/test-js-with-puppeteer $FORCEARG
|
||||
run ./tools/test-js-with-puppeteer "${forcearg[@]}"
|
||||
|
||||
printf '\n\e[32mAll OK!\e[0m\n'
|
||||
|
|
|
@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 159
|
|||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (217, 1)
|
||||
PROVISION_VERSION = (218, 0)
|
||||
|
|
Loading…
Reference in New Issue