mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-07 21:42:38 +00:00
Cleanup sample_plugin during helm tests (#75)
This commit is contained in:
@@ -77,6 +77,7 @@
|
|||||||
- not uninstall_env.changed
|
- not uninstall_env.changed
|
||||||
|
|
||||||
# https://github.com/ansible-collections/community.kubernetes/issues/399
|
# https://github.com/ansible-collections/community.kubernetes/issues/399
|
||||||
|
- block:
|
||||||
- name: Copy required plugin files
|
- name: Copy required plugin files
|
||||||
copy:
|
copy:
|
||||||
src: "files/sample_plugin"
|
src: "files/sample_plugin"
|
||||||
@@ -108,3 +109,10 @@
|
|||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- plugin_version == "0.0.1"
|
- plugin_version == "0.0.1"
|
||||||
|
always:
|
||||||
|
- name: Uninstall sample_plugin
|
||||||
|
helm_plugin:
|
||||||
|
binary_path: "{{ helm_binary }}"
|
||||||
|
state: absent
|
||||||
|
plugin_name: sample_plugin
|
||||||
|
ignore_errors: yes
|
||||||
|
|||||||
Reference in New Issue
Block a user