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: add version flag #143

Merged
merged 7 commits into from
Aug 15, 2023
Merged

feat: add version flag #143

merged 7 commits into from
Aug 15, 2023

Conversation

laurentsenta
Copy link
Contributor

@laurentsenta laurentsenta commented Aug 15, 2023

We want to output the version as a piece of metadata during testing. We will use this metadata during dashboard generation to signal gateways using different versions of the conformance test suite.

Example output: note the version in the dashboard
https://github.com/ipfs/gateway-conformance/actions/runs/5761510674/attempts/1#summary-15619660151

Supports #123

  • Introduce a version flag in the CLI
  • Update the workflows to release with the correct version flag
  • Output the version as a piece of metadata during test execution, if possible, related discussion in go project
  • Output version during dashboard generation

Note

This PR introduces metadata output, which we'll reuse for other pieces of data. This allows us to add more details to our tests, like a gateway checker id, specs id, etc.
For now, we're using a special log format --- META: .... This is a temporary workaround for the lack of metadata, which is being worked on in golang/go. We'll replace these with the official API when it's released.

@laurentsenta laurentsenta force-pushed the feat/introduce-version branch from c3b6c39 to b526505 Compare August 15, 2023 14:57
@laurentsenta laurentsenta force-pushed the feat/introduce-version branch from b526505 to d1c8ff8 Compare August 15, 2023 14:57
@laurentsenta laurentsenta merged commit 919eda1 into main Aug 15, 2023
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