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
This commit is contained in:
parent
88d532ea6e
commit
63685df30b
@ -164,9 +164,10 @@
|
|||||||
delay: 1
|
delay: 1
|
||||||
|
|
||||||
- name: connect to console-stream
|
- name: connect to console-stream
|
||||||
command: |
|
shell: |
|
||||||
wsdump -r --eof-wait 5 -t '{"uuid":"{{ _job_uuid.stdout_lines[0] }}","logfile":"console.log"}' {{ zuul_ws_url }}/api/tenant/local/console-stream
|
(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
|
register: console_stream
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
- name: show console stream
|
- name: show console stream
|
||||||
debug:
|
debug:
|
||||||
|
@ -3,4 +3,4 @@ kopf<1.31.0
|
|||||||
kubernetes
|
kubernetes
|
||||||
jinja2
|
jinja2
|
||||||
pymysql
|
pymysql
|
||||||
pykube-ng
|
pykube-ng<22.6.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user