mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 16:28:45 -03:30
Test: add install hydrophone
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
13
tests/testcases/000_install-hydrophone.yml
Normal file
13
tests/testcases/000_install-hydrophone.yml
Normal 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
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user