Derek Nola
c669600c8f
Fix Branch Name logic for Dependabot and UpdateCLI pushes to k3s-io ( #11376 )
...
* Improve node checking for etcd docker test
* Fix branch name for dependabot and updatecli PRs
Signed-off-by: Derek Nola <derek.nola@suse.com>
15 hours ago
Derek Nola
b5e2fa77a6
Convert legacy docker tests from bash to golang ( #11357 )
...
* Convert the following Docker test from Bash to Go
- basics
- bootstraptoken
- cacerts
- compat -> skew
- etcd
- lazypull
- upgrade
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Add Docker go tests to GHA
* Prebuild K3s Go Tests
* Strip go test binaries to reduce size
* Handle complex branch options
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Implement basic golang tests on arm and arm64 pipelines
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 days ago
Vitor Savian
9bd48b1a3f
Add ubuntu 24.04 apt command for e2e test
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
2 days ago
Emmanuel Ferdman
59707dab3d
Update `localstorage_int_test.go` reference ( #11339 )
...
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
1 week ago
Derek Nola
c3eece6071
Fix GenKubeConfigFile, move from "cat" command to "scp"
...
Remove CI fog warnings from RunCmdOnNode output
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 weeks ago
Brad Davidson
a39e191906
Add tests for ETCD.Test()
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 weeks ago
Derek Nola
9be40761d7
Reduce the number of GH api request for E2E nightly ( #11148 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 month ago
Derek Nola
c0d661b334
Check the last 10 commits for upgrade E2E test ( #11086 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 month ago
manuelbuil
e475ba70b8
Add e2e test for advanced fields in services
...
Signed-off-by: manuelbuil <mbuil@suse.com>
2 months ago
Brad Davidson
b1a42e5d43
Add ca-cert rotation integration test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 months ago
Robert Silén
40eda6a823
Add MariaDB to E2E ( #10724 )
...
* add mariadb to Validate and Upgrade E2E tests
Signed-off-by: robertsilen <robert.silen@iki.fi>
Signed-off-by: Robert Silén <robert.silen@iki.fi>
Co-authored-by: Derek Nola <derek.nola@suse.com>
2 months ago
Manuel Buil
483d76b34a
Add int test for flannel-ipv6masq
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 months ago
Derek Nola
36282dc39b
Launch private registry with init so the container can be killed on cleanup ( #10822 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 months ago
Derek Nola
fc2eb49e38
Fix deploy latest commit on E2E tests ( #10725 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 months ago
Derek Nola
38df76708d
Fix caching name for e2e vagrant box ( #10695 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
4 months ago
Derek Nola
ac247d29cf
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>
4 months ago
Vitor Savian
3aceb85c22
Add a change for killall to not unmount server and agent directory
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Add recursive search and deletion of unmounted/mounted dirs in killall
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Only clean the server and agent directory if it is uninstall
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Add uninstall test to check mount points
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Add uninstall test in CI
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
4 months ago
Derek Nola
ecff337e00
Enhance E2E Hardened option ( #10558 )
...
* Remove unnecessary hardened arguments
Signed-off-by: Derek Nola <derek.nola@suse.com>
* slim down hardened arguments
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: Derek Nola <derek.nola@suse.com>
4 months ago
Brad Davidson
c36db53e54
Add etcd s3 config secret implementation
...
* Move snapshot structs and functions into pkg/etcd/snapshot
* Move s3 client code and functions into pkg/etcd/s3
* Refactor pkg/etcd to track snapshot and s3 moves
* Add support for reading s3 client config from secret
* Add minio client cache, since S3 client configuration can now be
changed at runtime by modifying the secret, and don't want to have to
create a new minio client every time we read config.
* Add tests for pkg/etcd/s3
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
5 months ago
Vitor Savian
d9b8ba8d71
Add snapshot retention etcd-s3-folder fix
...
* Add snapshot retention folder fix
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
* Add snapshot retention E2E test
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
---------
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
6 months ago
Brad Davidson
f9130d537d
Fix embedded mirror blocked by SAR RBAC and re-enable test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
6 months ago
dependabot[bot]
4cb4542c3a
Bump ubuntu from 22.04 to 24.04 in /tests/e2e/scripts
...
Bumps ubuntu from 22.04 to 24.04.
---
updated-dependencies:
- dependency-name: ubuntu
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Manuel Buil
3f62ec3207
Add extra log in e2e tests
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 months ago
Nikos Pitsillos
99f543a2d4
fix: use absolute path
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com>
6 months ago
Nikos Pitsillos
86b2554772
test: copy vpn-auth-file to guest
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com>
6 months ago
Nikos Pitsillos
b8f101fd89
test: increment agentCount
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com>
6 months ago
Nikos Pitsillos
ab29054887
test: use absolute path to auth file
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com>
6 months ago
Nikos Pitsillos
a8f88aa9e5
test: add agent with auth file
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com>
6 months ago
Manuel Buil
dba30ab21c
Replace deprecated ruby function
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
7 months ago
ShylajaDevadiga
14549535f1
Fix e2e tests ( #10061 )
...
Signed-off-by: ShylajaDevadiga <shylaja.devadiga@suse.com>
Co-authored-by: ShylajaDevadiga <shylaja.devadiga@suse.com>
7 months ago
Derek Nola
fe7d114c6a
Bump E2E opensuse leap to 15.6, fix btrfs test ( #10057 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
7 months ago
Derek Nola
0981f0069d
Add E2E Split Server to Drone, support parrallel testing in Drone ( #9940 )
...
* Fix SE old test name
* E2E: support multiple VMs at once in CI with time prefix
* Add local binary support to split server test, add to drone CI
* Cleanup old VMs in drone
Signed-off-by: Derek Nola <derek.nola@suse.com>
7 months ago
Brad Davidson
5b431ca531
Fix on-demand snapshots not honoring folder
...
Also fix etcd s3 tests to actually check that the files are saved to s3 🙃
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
7 months ago
Derek Nola
06b6444904
Add startup testlet on preloaded images ( #9941 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Brad Davidson
fe465cc832
Move etcd snapshot management CLI to request/response
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
8 months ago
Brad Davidson
60248c42de
Add supervisor cert/key to rotate list
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
8 months ago
Derek Nola
6624273a97
Fix embeddedmirror test
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Derek Nola
93bcaccad1
E2E setup: Only install jq when we need it
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Derek Nola
c98ca14198
Add wasm test to e2e matrix
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Vitor Savian
5d69d6e782
Add tls for kine
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Bump kine
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Add integration tests for kine with tls
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
8 months ago
Derek Nola
c47c85e5da
Move to ubuntu 23.10 for E2E tests ( #9755 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Vitor Savian
3f649e3bcb
Add a new error when kine is with disable apiserver or disable etcd
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
8 months ago
Derek Nola
364dfd8b89
Fix flaky check in btrfs test
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
1c8be1d011
Improve E2E Aftersuite cleanup
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
af4c51bfc3
Move to ubuntu 2204 for all E2E tests
...
Simplify node roles
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
da7312d082
Convert snapshotter test in e2e test
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
d022a506d5
Migrate E2E tests to GitHub Actions
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Manuel Buil
1fe0371e95
Improve tailscale e2e test
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
9 months ago
Flavio Castelli
f82d438f39
e2e tests: cover WebAssembly integration
...
Add a e2e test that runs some demo WebAssembly applications
using the dedicated containerd shims.
Note: this is not an integration test because we need to install some
binaries (the special containerd shims) on the host.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
9 months ago
Derek Nola
935ad1dbac
Move docker tests into tests folder ( #9555 )
...
* Move docker tests into tests folder
* Remove old test certs
* Update TESTING.md with docker test inf
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago