Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: test production gateways #108

Merged
merged 37 commits into from
Jul 28, 2023
Merged

Conversation

laurentsenta
Copy link
Contributor

@laurentsenta laurentsenta commented Jul 4, 2023

Contributes to #104

Add tooling to run tests over multiple gateways & merge the outputs into a single dashboard. This is using a few arbitrary production gateways for now.

  • merges fixtures are now a single car v1 with a single root (makes it compatible with web3.storage)
  • add test-prod-e2e CI test
    • upload fixtures to web3.storage
    • run gateway conformance test suite on a few (arbitrary) gateways
    • aggregate results & generate dashboard
  • generate a badge
  • patch add-to-web3 chore(deps): bump actions/core to 1.10.0 storacha/add-to-web3#86

Example of output: https://github.com/singulargarden/gateway-conformance/actions/runs/5680836848
Example of markdown: https://github.com/laurentsenta/gateway-conformance/blob/main/README.md (it links to ipfs/gateway-conformance, hence the gray status for now)

follow-up

@laurentsenta laurentsenta force-pushed the feat/text-production-gateways branch from 8c3b58b to f03d54d Compare July 4, 2023 07:25
@laurentsenta laurentsenta marked this pull request as draft July 4, 2023 08:28
@laurentsenta laurentsenta force-pushed the feat/text-production-gateways branch from d2cd639 to 1d85cb2 Compare July 25, 2023 08:41
@laurentsenta
Copy link
Contributor Author

laurentsenta commented Jul 25, 2023

Example of output: https://github.com/ipfs/gateway-conformance/actions/runs/5656544133/attempts/1#summary-15324286314
Example of markdown: https://github.com/laurentsenta/gateway-conformance/blob/main/README.md (it links to ipfs/gateway-conformance, hence the gray status for now)

@laurentsenta laurentsenta force-pushed the feat/text-production-gateways branch 3 times, most recently from 3c5f761 to 78fffe8 Compare July 26, 2023 09:14
@laurentsenta laurentsenta marked this pull request as ready for review July 26, 2023 09:54
@laurentsenta
Copy link
Contributor Author

Marking this PR as ready for review, it lays down the tooling to generate dashboards for production and dev gateways.

.github/workflows/test-prod-e2e.yml Show resolved Hide resolved
.github/workflows/test-prod-e2e.yml Show resolved Hide resolved
.github/workflows/test-prod-e2e.yml Outdated Show resolved Hide resolved
aggregate-into-table.js Show resolved Hide resolved
.github/workflows/update-badge.yml Show resolved Hide resolved
.github/workflows/update-badge.yml Outdated Show resolved Hide resolved
tooling/car/merge.go Show resolved Hide resolved
tooling/car/merge.go Outdated Show resolved Hide resolved
@laurentsenta laurentsenta force-pushed the feat/text-production-gateways branch from d7a793e to 415964a Compare July 27, 2023 12:17
laurentsenta and others added 2 commits July 27, 2023 14:20
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
@laurentsenta laurentsenta force-pushed the feat/text-production-gateways branch from 2e4ded2 to c8a6a38 Compare July 27, 2023 12:22
@laurentsenta laurentsenta force-pushed the feat/text-production-gateways branch 2 times, most recently from 0b0bc22 to cfd4188 Compare July 27, 2023 13:06
@laurentsenta laurentsenta merged commit 9787cbb into main Jul 28, 2023
@laurentsenta laurentsenta deleted the feat/text-production-gateways branch July 28, 2023 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants