This change tries to fix the following issue:
kubernetes.config.config_exception.ConfigException: Invalid kube-config file. No configuration found.
This change also provides input to the wsdump test to prevent the
command from hanging when testing the console stream connection.
Change-Id: I4880e0420b7a66639258aa84a8d61b5620313ee3
A variable reassignment in conf.py caused errors when we try to build
release versions of docs. Correct that by swapping the order of use
and assignment.
Change-Id: I971b04156e8e7be18fdec6859e4b696f5dd3d7da
Since we support custom image prefixes, we should also support
imagePullSecrets since they are likely to be in a private registry.
This also updates some nearby documentation which was out of date.
Change-Id: Id43382284a9adde877e2383644a31bda24030b2b
* Pin minikube to 1.22.0
Version 1.23.0 is failing with
error: unable to recognize "deploy/crds/zuul-ci_v1alpha2_zuul_crd.yaml":
no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
Until we learn more, pin to the previously working k8s version.
* Add debug log-level to the podman login test command
This change should improve the test failure debugging where it
currently may just prints "Shutting down, got signal: Terminated".
* Remove "https://" from registry login
f8136e70f9
Added path-based authentication to "podman login" which they argue
is incompatible with including https:// in the registry identifier.
Doing so now produces an error.
Co-Authored-By: Tristan Cacqueray <tdecacqu@redhat.com>
Change-Id: Ic44b56a2eb6ac15cc5f4af5312fa4e3956d6e457
The log line that we should wait for has changed in Zuul; this is
the new equivalent.
Change-Id: I34fc52729fa64bb36c72fe6661f0794620a25092
Depends-On: https://review.opendev.org/c/zuul/zuul/+/804806
We are supposed to update zuul/nodepool when the relevant secrets
are updated. We do that by subscribing to changes on all secrets
in the system, then check to see if they are ones that we're watching
and if so, run the appropriate operator methods.
We only updated the list of secrets to watch on startup, which means
that from a clean start where a zuul was added, we would not add
the new secrets to our list. This change updates the list after every
time that the zuul resource is created or updated.
Change-Id: Ib6191367eb2596eba560b9c570140f33866c005f
So that we can better test functions related to ssh connectivity,
add a static node to the functional test.
Change-Id: I3dfdaca0b4e5dbfb35e4a645c7bcb56e0eec88c2
This is the test setup I have used to run the functional tests
locally. In particular, the restart.sh script is useful for
very quickly rebuilding the cluster from scratch while also
using the local docker image cache to populate the cluster with
cached images for speed.
Change-Id: I994de1cdd49b487d68083f6e01ba73bfc4274d05
An indentation error caused the operator to only create the last
provider listed in the nodepool config.
Additionally, add the nodepool provider to the nodepool launcher
deployment spec.
This is needed to separate the pods for different nodepool launchers
(otherwise, the deployments may consider pods for one launcher to
belong to another).
Change-Id: I76bbae948d1a633028b3565d512fb48d68111dd7
Set a default of 6 hours, but allow users to tell us to wait a
longer or shorter time for executors to gracefully stop.
Change-Id: I12aada7a3c3aaff7b8bbe51744a8dd4d367b6e5a
We overrode the PXC resource values in order for functional tests
in minikube to work. Restore the defaults and set an override in
the functional tests.
Change-Id: Id0560d9089f03ddcb116dccec0b424b811186d65
The test is moved from run.yaml to test.yaml to benefit from the cluster_ip
variable that is set at the start of test.yaml.
Change-Id: Ia0d1cbac94b6b638b6f410d9647ee1822751a767
Allow the user to specify an image prefix and a version tag.
This updates the functional test to account for a recent change
in Zuul which returns incomplete builds on the API endpoint.
Change-Id: I49e82c790a518c1c9f5a463250b5b785eacde55a
This lets users specify params like "relative_priority" without
the operator needing to know about them.
Change-Id: I8a82725e51e8c7172063e0fe944a9ee9f13bada1