Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-09-16 12:13:46 +0300
committerJoas Schilling <coding@schilljs.com>2022-09-16 12:13:46 +0300
commit8612a9b2322df872c647ce5187164719441d1b15 (patch)
tree5378fc3ba1a8399f9bcc3c44f9429c47b63864eb
parent9eade34385b6b23a9e9d3e4f5885458ca706af62 (diff)
Remove legacy ca-cert checker
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rwxr-xr-xautotest-checkers.sh3
-rwxr-xr-xbuild/ca-bundle-checker.sh21
2 files changed, 0 insertions, 24 deletions
diff --git a/autotest-checkers.sh b/autotest-checkers.sh
index a539b598ded..6abce428bc5 100755
--- a/autotest-checkers.sh
+++ b/autotest-checkers.sh
@@ -10,11 +10,8 @@ php ./build/triple-dot-checker.php
RESULT=$(($RESULT+$?))
php ./build/htaccess-checker.php
RESULT=$(($RESULT+$?))
-bash ./build/ca-bundle-checker.sh
-RESULT=$(($RESULT+$?))
php ./build/OCPSinceChecker.php
RESULT=$(($RESULT+$?))
-
php ./build/files-checker.php
RESULT=$(($RESULT+$?))
diff --git a/build/ca-bundle-checker.sh b/build/ca-bundle-checker.sh
deleted file mode 100755
index 50d7b7916fa..00000000000
--- a/build/ca-bundle-checker.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env bash
-
-if [[ -n ${DRONE_SOURCE_BRANCH} && ! ${DRONE_SOURCE_BRANCH} =~ version(\/noid)?\/([0-9.]+) ]]; then
- echo "Skip CA bundle check"
- exit 0
-fi
-
-echo "Fetching latest ca-bundle.crt ..."
-curl -o resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
-
-echo
-outdated=$(git diff --name-only | grep "resources/config/ca-bundle.crt")
-if [ "${outdated}" = "resources/config/ca-bundle.crt" ]; then
- echo "CA bundle is not up to date."
- echo "Please run: bash build/ca-bundle-checker.sh"
- echo "And commit the result"
- exit 1
-fi
-
-echo "CA bundle is up to date."
-exit 0