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 entrypoint #14

Merged
merged 10 commits into from
Mar 21, 2023
Merged

feat: add entrypoint #14

merged 10 commits into from
Mar 21, 2023

Conversation

laurentsenta
Copy link
Contributor

@laurentsenta laurentsenta commented Mar 15, 2023

This pull request replaces the old entrypoint.sh script with a new one written in Go.

We expect the conformance testing to get more complex and involve optional parameters to enable/disable parts of the test suite (like subdomains), go will be more maintainable here.

We also added the necessary flags to run the new test suite in CI.

@laurentsenta laurentsenta force-pushed the feat/entrypoint branch 4 times, most recently from 4f51f8f to 5ee10a6 Compare March 15, 2023 16:15
@laurentsenta
Copy link
Contributor Author

laurentsenta commented Mar 15, 2023

@laurentsenta laurentsenta mentioned this pull request Mar 15, 2023
29 tasks
Copy link
Contributor

@galargh galargh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shared a few thoughts inline. I want to play with code a bit to see if clearer ideas emerge.

.github/actions/test/action.yml Outdated Show resolved Hide resolved
.github/actions/test/action.yml Outdated Show resolved Hide resolved
entrypoint.go Outdated Show resolved Hide resolved
@galargh
Copy link
Contributor

galargh commented Mar 16, 2023

Here's what came out of me playing with the entrypoint: #15 I know the diff is awful. Let's just get together tomorrow and talk it through. I think it's going to be easier that way.

- add support for go test args to the entrypoint
- update Go version to 1.20
- rename is-subdomain to subdomain-gateway-spec
- add merged as argument to the extract-fixtures command
- rename entrypoint as gateway-conformance
- rename tests package from main to tests
- rename build tag to no_subdomain_gateway_spec
- add a utility function for accessing GATEWAY_CONFORMANCE_HOME
feat: turn entrypoint into gateway-conformance CLI
@galargh galargh merged commit cc22701 into main Mar 21, 2023
@laurentsenta laurentsenta deleted the feat/entrypoint branch March 23, 2023 13:48
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.

None yet

2 participants