Derek Nola
c4ff3019f4
Update to newer OS images for install testing ( #10681 )
...
* Update to newer OS images for install testing
* Update vagrant images used for E2E
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 months ago
Brad Davidson
29667f317b
Add supervisor cert/key to rotate list
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 60248c42de
)
8 months ago
Derek Nola
e5b0dbbd38
Move to ubuntu 23.10 for E2E tests ( #9755 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Derek Nola
1438a7d57b
Improve E2E Aftersuite cleanup
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
4f9483b8ae
Move to ubuntu 2204 for all E2E tests
...
Simplify node roles
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Brad Davidson
96ebb96317
Fix flakey dynamic-cert.json in cert rotation e2e test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
1 year ago
Derek Nola
a87b183f9c
E2E: Support GOCOVER for more tests + fixes ( #8080 )
...
* Add support for local build and go coverage to all E2E tests
* Remove unused EXTERNAL_DB from etcd tests
* Fix private reg test
* Add coverage to tailscale
* Cleanup unnecessary "sudo" in commands
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Add additonal s3 coverage clause
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Manuel Buil
c6a6e8ef57
Fix spelling check
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
1 year ago
Derek Nola
efa86a63e8
Remove unnecessary daemonset addition/deletion ( #7696 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Derek Nola
4a68fbd8e9
E2E: Use sudo for all RunCmdOnNode
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Derek Nola
b0188f5a13
Test Coverage Reports for E2E tests ( #7526 )
...
* Move coverage writer into agent and server
* Add coverage report to E2E PR tests
* Add codecov upload to drone
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Brad Davidson
7b61aacb56
Fix test file list
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Esteban Esquivel Alvarado
9bcfac8b88
Add Rotation certification Check ( #7097 )
...
* Add Certification Test to Validate Cluster
Signed-off-by: est-suse <esteban.esquivel@suse.com>
* Fix to stop/start for k3s certificate rotation
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: est-suse <esteban.esquivel@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: est-suse <esteban.esquivel@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
2 years ago
Esteban Esquivel Alvarado
85b261096c
Add automation for Restart command for K3s ( #7002 )
...
Signed-off-by: est-suse <esteban.esquivel@suse.com>
2 years ago
Derek Nola
86e36225f5
Consolidate E2E tests and GH Actions ( #6772 )
...
* Consolidate cluster reset and snapshot E2E tests
* Add more context to secrets-encryption test
* Reuse build workflow
* Convert updatecli to job level permissions
* Remove dweomer microos from E2E and install testing
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
ShylajaDevadiga
fd8481a29d
Adjust e2e test run script and fixes ( #6718 )
...
Signed-off-by: ShylajaDevadiga <shylaja.devadiga@suse.com>
2 years ago
ShylajaDevadiga
b276b58175
Convert test output to JSON format ( #6410 )
...
* add test output conversion to JSON and minor fixes
Signed-off-by: ShylajaDevadiga <shylaja@rancher.com>
2 years ago
Derek Nola
307d4310a3
Add journalctl logs to E2E tests
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
4624d3922c
add registry cache capability to upgradecluster_test.go
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
5629c06967
Remove docker login secret, move to docker registry cache
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
1972fb7cd6
Enable E2E testing with local k3s binary
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
f88cd3bfb6
Added optional docker hub login
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
78c35377ab
Convert createCluster to parallel
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
d51da881c8
Make all E2E tests ordered
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
f81138402e
E2E: Add support for CentOS 7 and Rocky 8 ( #6015 )
...
* Add e2e support for centos7 and rocky8
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
75f8cfb6ea
E2E: Local cluster testing ( #5977 )
...
* Cleanup validatecluster printout
* remove deprecated kubectl exec format
* Implement CreateLocalCluster function
* Update testing documentation
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
ShylajaDevadiga
6b7b9c5aa9
Add scripts to run e2e test using ansible ( #5134 )
...
Signed-off-by: Shylaja Devadiga <shylaja.devadiga@suse.com>
2 years ago
Derek Nola
12695cea15
E2E: Dualstack test ( #5617 )
...
* E2E dualstack test
* Improve testing documentation
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
4eed971289
E2E Split Server Test ( #5286 )
...
* Simplify role in existing tests
* Update other tests to output vagrant log on failure
* go test for split server
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Derek Nola
1f7abe5dbb
Testing directory and documentation rework. ( #5256 )
...
* Removed vagrant folder
* Fix comments around E2E ENVs
* Eliminate testutil folder
* Convert flock integration test to unit test
* Point to other READMEs
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Luther Monson
9a849b1bb7
[master] changing package to k3s-io ( #4846 )
...
* changing package to k3s-io
Signed-off-by: Luther Monson <luther.monson@gmail.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
3 years ago
Derek Nola
38ed1a6750
E2E Add external DB options to ValidateCluster test ( #5157 )
...
* Initial mysql, postgres external db
* Convert test options to env variables
* Add explicit ETCD option and bump memory for docker node
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Derek Nola
6e397aa42e
E2E secrets encryption test ( #5144 )
...
* Dump vagrant log on creation failure
* Update RunCmdOnNode to add quotes
* secrets encryption e2e test
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
Derek Nola
e28be2912c
Migrate Ginkgo testing framework to V2, consolidate integration tests ( #5097 )
...
* Upgrade and convert ginkgo from v1 to v2
* Move all integration tests into integration folder
* Update TESTING.md
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 years ago
ShylajaDevadiga
35582e6213
Fix cluster validation and add upgrade cluster test ( #5020 )
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
3 years ago
ShylajaDevadiga
6656d48415
Add tests to use vagrantfile ( #4722 )
...
* Add tests to use vagrantfile
Signed-off-by: Shylaja Devadiga <shylaja.devadiga@suse.com>
* Removed outdated e2e tests.
* Removed Terraform
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Shylaja Devadiga <shylaja.devadiga@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
3 years ago