Skip to content

Commit

Permalink
Pull recent bundle and configure curl to utilize it
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisroberts committed Nov 3, 2021
1 parent 85d0fcd commit 751f6b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ci/build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ else
export SLACK_CHANNEL="#team-vagrant-spam-channel"
fi

# Grab a recent cacert bundle
curl -O https://curl.se/ca/cacert.pem

# Define a custom cleanup function to destroy any orphan guests
# on the packet instance
function cleanup() {
Expand Down
4 changes: 4 additions & 0 deletions substrate/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ function echo_stderr {
(>&2 echo "$@")
}

# Set curl to use updated cert bundle
echo "cacert = /vagrant/cacert.pem" > ~/.curlrc
echo "capath = /usr" >> ~/.curlrc

set -e

# Verify arguments
Expand Down

0 comments on commit 751f6b5

Please sign in to comment.