Browse Source
Remove legacy ca-cert checker
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/34107/head
Joas Schilling
3 years ago
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
2 changed files with
0 additions and
24 deletions
-
autotest-checkers.sh
-
build/ca-bundle-checker.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+$?)) |
|
|
|
|
|
|
|
|
|
@ -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 |