Update Coverity CI to work around out-of-date Ubuntu CA certs.
@@ -12,9 +12,11 @@ jobs:
run: sudo apt-get update --fix-missing -y
- name: install prerequisites
run: sudo apt-get install -y avahi-daemon cppcheck libavahi-client-dev libcups2-dev libcupsimage2-dev libgnutls28-dev libjpeg-dev libpam-dev libpng-dev libusb-1.0-0-dev zlib1g-dev
+ - name: Download current Entrust root cert chain...
+ run: wget -q https://abnf.msweet.org/entrust.pem -O entrust.pem
- name: Download Coverity Build Tool
run: |
- wget -q https://scan.coverity.com/download/linux64 --post-data token="$TOKEN&project=$GITHUB_REPOSITORY" -O cov-analysis-linux64.tar.gz
+ wget -q --ca-certificate=entrust.pem https://scan.coverity.com/download/linux64 --post-data token="$TOKEN&project=$GITHUB_REPOSITORY" -O cov-analysis-linux64.tar.gz
mkdir cov-analysis-linux64
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
env:
@@ -31,6 +33,7 @@ jobs:
run: |
tar czvf cov.tgz cov-int
curl \
+ --cacert entrust.pem \
--form token=$TOKEN \
--form email=michael.r.sweet@gmail.com \
--form file=@cov.tgz \
