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:
Frank
2026-10-26 11:03:55 +00:00
committed by GitHub
parent cb7ff78696
commit 27281bf330
3 changed files with 4 additions and 31 deletions
+2 -21
View File
@@ -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 }}'
+1 -9
View File
@@ -40,12 +40,4 @@
import_tasks: 100_check-k8s-conformance.yml
delegate_to: "{{ groups['kube_control_plane'][0] }}"
run_once: true
when:
- sonobuoy_enabled is defined
- sonobuoy_enabled
vars:
sonobuoy_version: 0.57.3
sonobuoy_arch: amd64
sonobuoy_parallel: 30
sonobuoy_path: /usr/local/bin/sonobuoy
sonobuoy_mode: Quick
when: conformance_enabled | default(false)