Skip to content

Commit

Permalink
plot-curl-ipfs.yaml does not need to build from source anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcyrd committed Oct 11, 2023
1 parent 5bd289a commit c5138f9
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions contrib/plot-curl-ipfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ tls:

check:
image: archlinux
install_certs: ['tee', '-a', '/etc/ssl/certs/ca-certificates.crt']
install_certs: ['tee', '-a', '/etc/ssl/certs/sh4d0wup.crt']
register_hosts:
- ipfs.io
cmds:
# installing from git since feature is not released yet
- pacman -Suy --noconfirm base-devel git openssl
- git clone --depth=1 https://github.com/curl/curl
- cd /curl; autoreconf -fi
- cd /curl; ./configure --with-openssl --with-random=/dev/urandom
- make -C curl
- pacman -Suy --noconfirm curl
- cat /etc/ssl/certs/sh4d0wup.crt >> /etc/ssl/certs/ca-certificates.crt
- mkdir -p "$HOME/.ipfs"
- echo https://ipfs.io > "$HOME/.ipfs/gateway"
# Hello World
- curl/src/curl -sSvf ipfs://QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvs8u
- curl -sSvf ipfs://QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvs8u

routes:
- path: "/ipfs/QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvs8u"
Expand Down

0 comments on commit c5138f9

Please sign in to comment.