Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mor Cohen committed Sep 9, 2022
1 parent 2b64758 commit d0e848c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/integration/targets/helm/tasks/tests_repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@
that:
- repository_errors is failed

- name: Succesfully add repository with the same name when forcing
helm_repository:
binary_path: "{{ helm_binary }}"
name: test_helm_repo
repo_url: "{{ chart_test_repo }}"
force: true
register: repository

- name: Assert that test_helm_repo repository is changed
assert:
that:
- repository is changed

- name: Remove test_helm_repo chart repository
helm_repository:
binary_path: "{{ helm_binary }}"
Expand Down

0 comments on commit d0e848c

Please sign in to comment.