Pin pykube-ng and fix the CI

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
changes/46/847846/2
Tristan Cacqueray 3 months ago
parent 88d532ea6e
commit 63685df30b
  1. 5
      playbooks/zuul-operator-functional/test.yaml
  2. 2
      requirements.txt

@ -164,9 +164,10 @@
delay: 1
- name: connect to console-stream
command: |
wsdump -r --eof-wait 5 -t '{"uuid":"{{ _job_uuid.stdout_lines[0] }}","logfile":"console.log"}' {{ zuul_ws_url }}/api/tenant/local/console-stream
shell: |
(sleep 60; echo "") | wsdump -r -t '{"uuid":"{{ _job_uuid.stdout_lines[0] }}","logfile":"console.log"}' {{ zuul_ws_url }}/api/tenant/local/console-stream
register: console_stream
failed_when: false
- name: show console stream
debug:

@ -3,4 +3,4 @@ kopf<1.31.0
kubernetes
jinja2
pymysql
pykube-ng
pykube-ng<22.6.0

Loading…
Cancel
Save