ipfs-dns-deploy icon indicating copy to clipboard operation
ipfs-dns-deploy copied to clipboard

feat: check cid can be fetched from the gateway

Open olizilla opened this issue 4 years ago • 2 comments

Check that the newly pinned CID can be fetched from the gateway. Fail the build if not.

fixes #14

License: MIT Signed-off-by: Oli Evans [email protected]

olizilla avatar Jan 21 '21 16:01 olizilla

This is quite defensive, slight worry we might have the opposite problem of builds failing even though nothing is wrong. Perhaps try twice or something? I suspect someone getting a fail is going to retry the build anyway tho so probably ok, we should make CI more visible to all the peep that change the website too maybe?

thattommyhall avatar Jan 21 '21 16:01 thattommyhall

Aye that's a fair point, I don't want all the builds to fail, just the really bad ones. I'll add some retry.

olizilla avatar Jan 21 '21 16:01 olizilla