mirror of
https://github.com/imjasonh/git-k8s
synced 2026-07-16 20:45:03 +00:00
Speed up e2e tests by removing Knative and parallelizing setup
- Remove Setup Knative step: the project only uses knative.dev/pkg as a Go library for the controller framework, not Knative Serving/Eventing. This eliminates the slowest setup step entirely. - Create config-logging and config-observability ConfigMaps directly, which is all knative.dev/pkg/injection/sharedmain needs at runtime. - Deploy Gitea in parallel with ko controller builds instead of sequentially, so both can start at the same time. - Combine the "wait for controllers" and "wait for Gitea" steps into one. - Reduce Gitea readiness probe initialDelaySeconds from 10s to 3s and periodSeconds from 5s to 3s. - Reduce Gitea API wait loop sleep from 2s to 1s. - Reduce e2e test poll interval from 2s to 1s for faster feedback. https://claude.ai/code/session_018itccL4SXV3eD7iuPwLGYa
This commit is contained in:
parent
9d5cd83734
commit
0075761012
2 changed files with 24 additions and 24 deletions
|
|
@ -27,7 +27,7 @@ const (
|
|||
giteaUsername = "testadmin"
|
||||
giteaPassword = "testpassword123"
|
||||
|
||||
pollInterval = 2 * time.Second
|
||||
pollInterval = 1 * time.Second
|
||||
pollTimeout = 2 * time.Minute
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue