Files
Nary YehandGitHub 62ad934d1b Refactor Apiserver e2e run in cluster (#3529)
* feat: add apiserver exec client for CreateComputeTemplate

directly execute command in the pod instead of through http
-e
Signed-off-by: machichima <[email protected]>

* build: install curl in apiserver container
-e
Signed-off-by: machichima <[email protected]>

* feat: exec Delete Compute Template without http
-e
Signed-off-by: machichima <[email protected]>

* feat: add exec.go for sending commands without http in e2e test

with a kubectl exec like behaviour
-e
Signed-off-by: machichima <[email protected]>

* feat: run curl container in pod alongside apiserver
-e
Signed-off-by: machichima <[email protected]>

* feat: extract http status from curl output
-e
Signed-off-by: machichima <[email protected]>

* style: remove unused comment
-e
Signed-off-by: machichima <[email protected]>

* fix: wrong image name
-e
Signed-off-by: machichima <[email protected]>

* style: remove redundant comment
-e
Signed-off-by: machichima <[email protected]>

* build: NodePort to ClusterIP in deploy base insecure
-e
Signed-off-by: machichima <[email protected]>

* build: update buildkit test-e2e to setup apiserver e2e
-e
Signed-off-by: machichima <[email protected]>

* fix: alter executeRequest only
-e
Signed-off-by: machichima <[email protected]>

* feat: remove extraPort and NodePort for apiserver e2e test

Signed-off-by: machichima <[email protected]>

* docs: add comment on e2e kustomization.yaml

Signed-off-by: machichima <[email protected]>

* fix: remove unused Docker & Make command

Signed-off-by: machichima <[email protected]>

* fix: more comment description + function to private

Signed-off-by: machichima <[email protected]>

* refactor: more intuitive make command

Signed-off-by: machichima <[email protected]>

* docs: make comment more concise

Signed-off-by: machichima <[email protected]>

* fix: use config.GetConfig()

Signed-off-by: machichima <[email protected]>

* fix: update make command

Signed-off-by: machichima <[email protected]>

* fix: update buildkite apiserver make cmd

Signed-off-by: machichima <[email protected]>

* feat: enable kubectl execute for apiserversdk e2e test

Signed-off-by: machichima <[email protected]>

* fix: apiserversdk e2e use k8s service proxy

Signed-off-by: machichima <[email protected]>

* docs: add docstring

Signed-off-by: machichima <[email protected]>

* refactor: remove adding suffix /

Signed-off-by: machichima <[email protected]>

* nit: wrap some words for 3rd party errors

Signed-off-by: machichima <[email protected]>

* nit: TODO for migrate SPDY to websocket

Signed-off-by: machichima <[email protected]>

---------

Signed-off-by: machichima <[email protected]>
Signed-off-by: Nary Yeh <[email protected]>
2025-07-18 20:15:42 -07:00

17 lines
862 B
Go

// Package e2e provides test functions, utility function and structs that allow for integration testing
// of Kuberay API server and Kuberay operator.
//
// The code assumes that cluster found in [~/.kube/config] up and has the needed components (Kuberay API server
// Kuberay Operator) deployed and functional.
//
// The code is organized as follows:
//
// - types.go -- provides for data types
// - utils.go -- provides for utility functions
// - exec.go -- provides functions for exec command with kubectl exec
// - cluster_server_e2e_test.go -- provides the test function for the Cluster GRPC Server
// - config_server_e2e_test.go -- provides the test function for the Config GRPC Server
// - job_server_e2e_test.go -- provides the test function for the Job GRPC Server
// - service_server_e2e_test.go -- provides the test function
package e2e