-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Prow integration test: smoke testing tide #23025
Comments
/area prow |
Seems like this was already resolved as part of #22582 |
That's correct! |
Cool thx! @YuviGold I'd love to give it a try, is it ok if I pick it up, or do you want to work on it yourself? |
@fgimenez Let me give it a shot. It will help me understand some internals :) |
/sig testing |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Hey guys, @chaodaiG WDYT maybe we can merge part of it so not all the work will go to waste even if it's not being used? |
I think it's a good idea to merge the portion that can be used, please make sure leave good comments on this part and link here |
Part of kubernetes#23025 solution - Add a new `tide_test.go` integration test module. Currently it just creates a dummy PR and a prowjob that matches it (presubmit type) in a org/repo that tide queries. Tide asks the `fakeghserver` for its status via GitHubv4 API using the `SearchQuery`. - make `tide.searchQuery` public to be used by the integration `fakeghserver` module.
Part of kubernetes#23025 solution - Add a new `tide_test.go` integration test module. Currently it just creates a dummy PR and a prowjob that matches it (presubmit type) in a org/repo that tide queries. Tide asks the `fakeghserver` for its status via GitHubv4 API using the `SearchQuery`. - make `tide.searchQuery` public to be used by the integration `fakeghserver` module.
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What would you like to be added:
Prow integration test deploys prow components in kind cluster, which should be able to be used for smoke testing tide, by deploying tide in kind cluster and checking that tide merges a PR on fake github server.
Why is this needed:
https://kubernetes.slack.com/archives/C09QZ4DQB/p1627313972056200
More Details
Changes Required
tide
attestimage-push
target, so that tide is pushed tolocalhost:5000
registrytest-infra/prow/test/integration/setup-cluster.sh
Line 33 in f9fb6d2
tide
after integration testtest-infra/prow/test/integration/cleanup.sh
Line 23 in f9fb6d2
tide_service.yaml
andtide_rbac.yaml
can be symlinks from https://github.com/kubernetes/test-infra/tree/master/config/prow/cluster.tide_deployment.yaml
will at least requires changing image registry tolocalhost:5000
liketest-infra/prow/test/integration/prow/cluster/hook_deployment.yaml
Line 41 in f9fb6d2
github-endpoint
should be changed tofakeghserver
, which was from https://github.com/kubernetes/test-infra/tree/master/prow/test/integration/fakeghserver.--history-uri
and--status-path
are both GCS paths, which is not preferred for integration tests, they can be changed to local path which is supportedtest-infra/prow/io/opener.go
Line 211 in 17297ac
The text was updated successfully, but these errors were encountered: