Test: add install hydrophone

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
ChengHao Yang
2025-11-29 01:57:35 +08:00
parent 78199c3bc3
commit c138157886
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
- name: Download hydrophone
get_url:
url: "https://github.com/kubernetes-sigs/hydrophone/releases/download/v{{ hydrophone_version }}/hydrophone_Linux_{{ hydrophone_arch }}.tar.gz"
dest: /tmp/hydrophone.tar.gz
checksum: "{{ hydrophone_checksum }}"
mode: "0644"
- name: Extract hydrophone
unarchive:
src: /tmp/hydrophone.tar.gz
dest: "{{ bin_dir }}"
copy: false

View File

@@ -11,6 +11,8 @@
- name: Import Kubespray variables
import_role:
name: ../../roles/kubespray_defaults
- name: Install the Hydrophone for tests
import_tasks: 000_install-hydrophone.yml
- name: Testcases for apiserver
import_tasks: 010_check-apiserver.yml
when: