diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-09-18 10:24:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 10:24:58 +0200 |
commit | 061d621a1f50b8dbe93effe2524ed20cdac69744 (patch) | |
tree | ecac43566845ea507ba28d921eea849e3dd6759f /build | |
parent | f780d6d94cd29aeccec99699c50f7ee468577c01 (diff) | |
parent | f51da256476daa4aec6631c93932775f33ed0a14 (diff) | |
download | nextcloud-server-061d621a1f50b8dbe93effe2524ed20cdac69744.tar.gz nextcloud-server-061d621a1f50b8dbe93effe2524ed20cdac69744.zip |
Merge pull request #34107 from nextcloud/automate-cacert-update
Automate CA certificate bundle update
Diffstat (limited to 'build')
-rwxr-xr-x | build/ca-bundle-checker.sh | 21 | ||||
-rw-r--r-- | build/ca-bundle-etag.txt | 1 |
2 files changed, 1 insertions, 21 deletions
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 diff --git a/build/ca-bundle-etag.txt b/build/ca-bundle-etag.txt new file mode 100644 index 00000000000..9ac8d4dcedc --- /dev/null +++ b/build/ca-bundle-etag.txt @@ -0,0 +1 @@ +"3650d-5e41fd9674803" |