-
Notifications
You must be signed in to change notification settings - Fork 10
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
Allow running integration and E2E tests in tests workflow for external contributors #596
Comments
What's left after #597 to consider this resolved? |
Actually run the integration (and if possible e2e) tests on PRs from forks. Now they are just skipped to not cause trouble. Since tests here are not grouped or tagged in any way to indicate they require a license we'd need to add that perhaps and only run those that don't require it (if we want to run something but not expose secrets) |
Seems integration tests could run after merging #632. For e2e tests which is running on GKE, I think we may need a new issue to track how to enable GKE tests on forks. |
Sounds good. As I remember it the GKE tests wont run unless the GKE_CREDS are present? If that's still the case that's probably fine as its minimally disruptive if not we could consider making it that way. These kinds of variances do however scream for a need for documentation, particularly better contributor guidance. We should get ahold of whatever miscreant started this repo and ask them "where is the documentation". 😅 |
Is there an existing issue for this?
Problem Statement
KTF's integration and E2E tests require secrets to run (for the Kong license, and for access to GKE). That makes them fail for PRs from external contributors. We'd like to run them against every PR, therefore we need to come up with a solution to that.
Proposed Solution
Triggertests.yaml
workflow onpull_request_target
and ensure that in case a pull request author is an external contributor, the PR has to have a predefined label assigned (e.g.verified-for-running-ci
) that would be assigned by a reviewer after ensuring that no potential secrets leak can happen due to the changes from PR.Implement the workflow described by Michael Heap in his blogpost.
Additional information
No response
Acceptance Criteria
The text was updated successfully, but these errors were encountered: