devopsspiral / KubeLibrary

Kubernetes library for Robot Framework
MIT License
138 stars 37 forks source link

Include smoke tests in CI #55

Closed m-wcislo closed 3 years ago

m-wcislo commented 3 years ago

Couple of new tests adds to smoke tagged tests, this pr enables running them in CI.

Minor improvements for CI to run it quicker.

m-wcislo commented 3 years ago

@mika-b this PR includes running smoke test in CI, would be nice to pull it into #54 eg. after merge.

I had to disable poststarthook/max-in-flight-filter test as it fails in CI, might be k3s/k3d problem.

Also I've implemented taking k8s version when the cluster is created, but feel free to handle

*** Variables ***
${KUBELET_VERSION}

your way.

mika-b commented 3 years ago

@mika-b this PR includes running smoke test in CI, would be nice to pull it into #54 eg. after merge.

I had to disable poststarthook/max-in-flight-filter test as it fails in CI, might be k3s/k3d problem.

Also I've implemented taking k8s version when the cluster is created, but feel free to handle

*** Variables ***
${KUBELET_VERSION}

your way.

The k8s health API docs gave the impression that individual checks would be a feature of >=1.20. I was surprised that those worked with my 1.19.7 microk8s. So there's probably differences between k8s distributions and versions.

I took the KUBELET_VERSION change out of #54. Was using system_smoke.robot for drafting my cases. Shouldn't have left that change in the branch.