-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: BATS: Make k8s/helm-install-rancher pass on macOS #7069
base: main
Are you sure you want to change the base?
CI: BATS: Make k8s/helm-install-rancher pass on macOS #7069
Commits on Jun 19, 2024
-
- Use long arguments for commands where available. - Tell shfmt that we're linting for bats (for *.bash). Signed-off-by: Mark Yen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1b9d62 - Browse repository at this point
Copy the full SHA b1b9d62View commit details -
BATS: k8s/helm-install-rancher: Look for incremental progress
This test is prone to failing on macOS CI, possibly because the runners are somewhat slower. Try to improve this by _not_ waiting for the helm chart deployment to finish, but instead manually checking for key log lines in the containers until they are actually ready. This also does a couple other things to help this test pass: - Pre-pull the rancher image to ensure the image pulling doesn't make the machine busier than necessary. - Update the arguments for the cert-manager chart (removing deprecated usage). Signed-off-by: Mark Yen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff29fa6 - Browse repository at this point
Copy the full SHA ff29fa6View commit details -
BATS: when capturing logs, allow missing config file
In case we got called right after a factory reset. Signed-off-by: Mark Yen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7a5f55 - Browse repository at this point
Copy the full SHA a7a5f55View commit details -
BATS: k8s/rancher: Set replicas to 1
By default it is set to 3, which is unneeded in CI. Signed-off-by: Mark Yen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d9fc040 - Browse repository at this point
Copy the full SHA d9fc040View commit details -
BATS: helm-install-rancher: Drop uninstall
Since we'll be doing factory resets before each Kubernetes version (or in the next test file, if it's the last version), there's no need to do an uninstall that could take significant time. Signed-off-by: Mark Yen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 460cf06 - Browse repository at this point
Copy the full SHA 460cf06View commit details -
BATS: k8s/helm-install-rancher: Disable ramdisk
This test needs a lot of RAM (to run Rancher Manager); disable ramdisk to avoid hitting swap. Signed-off-by: Mark Yen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55232e4 - Browse repository at this point
Copy the full SHA 55232e4View commit details -
This is a Kubernetes deployment name that is spawned as part of Rancher Manager. Signed-off-by: Mark Yen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3290894 - Browse repository at this point
Copy the full SHA 3290894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17b6a77 - Browse repository at this point
Copy the full SHA 17b6a77View commit details -
BATS: k8s/helm-install-rancher: Address review comments
Signed-off-by: Mark Yen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d59616f - Browse repository at this point
Copy the full SHA d59616fView commit details