Derek Nola
9efa0797b7
Don't default to local K3s for startup test ( #6950 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Brad Davidson
3d146d2f1b
Allow for multiple sets of leader-elected controllers
...
Addresses an issue where etcd controllers did not run on etcd-only nodes
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Brad Davidson
be7f751863
Add e2e tests for CA cert rotation
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Derek Nola
7cad3db251
E2E: Consoldiate docker and prefer bundled tests into new startup test ( #6851 )
...
* Convert docker E2E to startup E2E
* Move preferedbundled into the e2e startup test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
750cff561d
Bump vagrant boxes to fedora37 ( #6832 )
...
* Bump to generic/fedora37
* fix epic permissions
* Disable sonobuoy on rootless
Signed-off-by: Derek Nola <derek.nola@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
Derek Nola
75f77ab951
E2E Rancher and Hardened script improvements ( #6778 )
...
* Improve test-pad rancher script
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Improve hardened script and added kube-bench utility script
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Apply same audits for 1.22 and older
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
ShylajaDevadiga
2007cdd54f
generate report and upload test results ( #6737 )
...
Signed-off-by: ShylajaDevadiga <shylaja.devadiga@suse.com>
Signed-off-by: ShylajaDevadiga <shylaja.devadiga@suse.com>
Co-authored-by: ShylajaDevadiga <shylaja.devadiga@suse.com>
2 years ago
dependabot[bot]
d85952d6a0
Bump ubuntu from 20.04 to 22.04 in /tests/e2e/scripts ( #6686 )
...
Bumps ubuntu from 20.04 to 22.04.
---
updated-dependencies:
- dependency-name: ubuntu
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Derek Nola
674a05478f
Containerd restart testlet ( #6696 )
...
* Add containerd testlet to startup integration
* Fix all log dumps
* Stop server gracefully
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
Derek Nola
b5d39df929
Deprecation of `etcd-snapshot` command in v1.26 ( #6575 )
...
* Consolidate etcd snapshot commands
* Consolidate secrets encryption commands
* Move etcd-snapshot to fatal error stage.
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Sakala Venkata Krishna Rohit
4e2e91e089
Switch from Google Buckets to AWS S3 Buckets ( #6497 )
...
* Add python pip pakacge to install aws cli
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
* Upload build artifacts to aws s3 instead of gcp bucket
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
* Upload logs to aws s3 instead of google buckets
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
* Replace gcloud auth with aws credentials for artifact uploading to buckets
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
* Replace usage of google bucket with aws s3 buckets
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
2 years ago
Derek Nola
614da78e43
Add `prefer-bundled-bin` as an agent flag ( #6545 )
...
* Add prefer-bundled-bin as an agent flag
* Add E2E test for prefer-bundled-bin
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
0f52088cd3
Add new `prefer-bundled-bin` experimental flag ( #6420 )
...
* initial prefer-bundled-bin ci change
* Add startup testlet
* Convert parsing to pflag library
* Fix code validation
* go mod tidy
Signed-off-by: Derek Nola <derek.nola@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
13c633da12
Add Secrets Encryption to CriticalArgs ( #6409 )
...
* Add EncryptSecrets to Critical Control Args
* use deep comparison to extract differences
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
ShylajaDevadiga
d5ffc4b1d1
Add snapshot restore e2e test ( #6396 )
...
* Add snapshot and restore test
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2 years ago
James Blair
86be784aa0
Replace deprecated k8s registry references.
...
Problem:
Previously all of Kubernetes' image hosting has been out of gcr.io. There were significant egress costs associated with this when images were pulled from entities outside gcp. Refer to https://github.com/kubernetes/k8s.io/wiki/New-Registry-url-for-Kubernetes-(registry.k8s.io)
Solution:
As highlighted at KubeCon NA 2022 k8s infra SIG update, the replacement for k8s.gcr.io which is registry.k8s.io is now ready for mainstream use and the old k8s.gcr.io has been formally deprecated. This commit migrates all references for k3s to registry.k8s.io.
Signed-off-by: James Blair <mail@jamesblair.net>
2 years ago
ShylajaDevadiga
d3c675f4e9
Expand nightly E2E tests ( #6354 )
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2 years ago
Manuel Buil
ce5dfdfae0
Merge pull request #6359 from manuelbuil/externalTest
...
Add test for node-external-ip config parameter
2 years ago
Manuel Buil
abaa6c9023
Add test for node-external-ip config parameter
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
Derek Nola
9a9f1f2d5e
Replace fedora-coreos with fedora 36 for install tests ( #6315 )
...
* Move to fedora 36 on install tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Manuel Buil
487d08ad11
Add a netpol test for podSelector & ingress type
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
Derek Nola
18688407d9
Add info on libvirt ubuntu 22.04 ( #6316 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
fd79a1cfea
Bump testing to opensuse Leap 15.4 ( #6337 )
...
* Bump to Leap 15.4 for testing
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Manuel Buil
6b804fe224
Add the gateway parameter in netplan
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
Manuel Buil
dd3f3dba92
Fix dualStack test
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
Derek Nola
06d81cb936
Replace deprecated ioutil package ( #6230 )
...
* Replace ioutil package
* check integration test null pointer
* Remove rotate retries
Signed-off-by: Derek Nola <derek.nola@suse.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
Vladimir Pouzanov
b44d81a6f3
Fix the typo in the test
...
CA cert will never be equal to the serving-kube-apiserver cert so it seems like a copy-paste error.
Signed-off-by: Vladimir Pouzanov <farcaller@gmail.com>
2 years ago
Brad Davidson
027039530d
Dump info on coredns when deployment rollout fails
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Shylaja Devadiga
e947cd9fe3
Add cluster reset test to nightly builds
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2 years ago
Shylaja Devadiga
07ca63994e
Add cluster reset test to nightly builds
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.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
a060805c0a
Add missing env variable
...
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
c3883b6516
Remove old CreateCluster function
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
14e606b2ef
Replaced deprecated Ginkgo reporting
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
a43c948e01
add vagrant-scp to init script
...
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
551b2c3cea
Cleanup init and run_test scripts
...
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
cd61f9a6cf
Expand startup integration test ( #6030 )
...
* add new data-dir subtest
* Added node flag subtest
* Fix to E2E tests
* Convert existing test to new server logging
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Hussein Galal
ba62c79f9b
Update to v1.25.0-k3s1 ( #6040 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2 years ago
ShylajaDevadiga
79bb7bccd9
Fix e2e tests ( #6018 )
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2 years ago
Manuel Buil
4c9ad2546c
Fix dualStack test and change ipv6 network ( #6023 )
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
Akihiro Suda
654d2b9567
CI: update Fedora 34 -> 35 ( #5996 )
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2 years ago