mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-26 19:03:14 +00:00
* Add ansible-lint to tox linters (#258) * Add ansible-lint to tox linters * Bump black * Black formatting * fix linting (cherry picked from commitf54297c2ac) * Update tests for newer version of openshift (#254) * Update tests for newer version of openshift More recent versions of ocp no longer automatically create tokens for service accounts. This updates the tests to manually create the tokens. * Update nginx template version The old image was EOL and the deployment was failing to deploy. * Fix nginx version for all tasks * Add missing var (cherry picked from commita3c3a69bbf) --------- Co-authored-by: Mike Graves <mgraves@redhat.com>
Wait tests
wait tests require at least one node, and don't work on the normal k8s openshift-origin container as provided by ansible-test --docker -v k8s
minikube, Kubernetes from Docker or any other Kubernetes service will suffice.
If kubectl is already using the right config file and context, you can just do
cd tests/integration/targets/okd
./runme.sh -vv
otherwise set one or both of K8S_AUTH_KUBECONFIG and K8S_AUTH_CONTEXT
and use the same command