Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

test: add public-gateway-smoke-test.sh #430

Closed
wants to merge 2 commits into from

Conversation

lidel
Copy link
Member

@lidel lidel commented Aug 29, 2018

This PR adds a small test suite for checking if there are any known regressions at the public gateway.

Created to catch regressions such as ipfs-shipyard/ipfs-share-files#17 (comment) and help with future migration to dweb.link.

@lgierth: not sure if this is what you had in mind, but at least it can be used for smoke-testing ipfs-shipyard/ipfs-share-files#17 (ipfs.io vs ipfs.infura.io):

$ bash /public-gateway-smoke-test.sh ipfs.io
==> Running a bunch of HTTP requests to ipfs.io to see if it follows requirements of Public Gateway..
(...)
--> Testing /api/v0/ ..

plain curl GET: OK
local CORS fetch: Error on line 110
FAIL

@eefahy
Copy link
Contributor

eefahy commented Dec 1, 2018

Hi @lidel - I like the idea a lot! I'm thinking through how we could run this in an automated way on gateway changes. I'm happy to merge this now and return to it when we have the gateway deploy pulled out onto its own repo and deployments to it happen via CI/CD. Or perhaps we keep it open to remind us it's there? LMK your preference

@lidel
Copy link
Member Author

lidel commented Dec 3, 2018

👍 for plugging those tests into gateway change pipeline.

I think its okay to keep it open until gateway gets its own repo, does not need to be actually merged into ipfs/infra.

@eefahy eefahy added the status/ready Ready to be worked label Jan 19, 2019
@mburns mburns requested a review from gmasgras May 25, 2019 00:19
@thattommyhall
Copy link
Member

I did this in another repo

@lidel lidel deleted the public-gateway-smoke-test branch March 28, 2022 14:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/ready Ready to be worked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants