mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
CI: replace Sonobuoy with Hydrophone for conformance smoke test (#13680)
Reuse the existing Hydrophone installation and preserve the single test selected by Sonobuoy Quick mode. Rename the opt-in variable to conformance_enabled and update the Elastx testcase.
This commit is contained in:
@@ -1,22 +1,3 @@
|
||||
---
|
||||
- name: Download sonobuoy
|
||||
get_url:
|
||||
url: "https://github.com/vmware-tanzu/sonobuoy/releases/download/v{{ sonobuoy_version }}/sonobuoy_{{ sonobuoy_version }}_linux_{{ sonobuoy_arch }}.tar.gz"
|
||||
dest: /tmp/sonobuoy.tar.gz
|
||||
mode: "0644"
|
||||
|
||||
- name: Extract sonobuoy
|
||||
unarchive:
|
||||
src: /tmp/sonobuoy.tar.gz
|
||||
dest: /usr/local/bin/
|
||||
copy: false
|
||||
|
||||
- name: Run sonobuoy
|
||||
command: "{{ sonobuoy_path }} run --mode {{ sonobuoy_mode }} --e2e-parallel {{ sonobuoy_parallel }} --wait"
|
||||
|
||||
- name: Run sonobuoy retrieve
|
||||
command: "{{ sonobuoy_path }} retrieve"
|
||||
register: sonobuoy_retrieve
|
||||
|
||||
- name: Run inspect results
|
||||
command: "{{ sonobuoy_path }} results {{ sonobuoy_retrieve.stdout }} --plugin e2e --mode report"
|
||||
- name: Run the conformance smoke test
|
||||
command: '{{ hydrophone_path }} --focus="Pods should be submitted and removed" --parallel {{ hydrophone_parallel }}'
|
||||
|
||||
Reference in New Issue
Block a user