diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-01-22 15:09:51 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-01-26 08:34:31 +0000 |
commit | 2c7299fa340e6918a59d92981f01652e9464ee86 (patch) | |
tree | 46c8488ec1882efe5a29f7a32b42a23e09d5dd4b /ansible/roles/application/molecule/default/tests/test_default.py | |
parent | bbfb07116c060a6c3be1f5efc64b0706d98b255e (diff) |
Add Helm v3 plugin deployment playbook
Change-Id: I3999dd64dd87f163a3306b74cec88019d821759e
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/application/molecule/default/tests/test_default.py')
-rw-r--r-- | ansible/roles/application/molecule/default/tests/test_default.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ansible/roles/application/molecule/default/tests/test_default.py b/ansible/roles/application/molecule/default/tests/test_default.py index 22298e3a..21fc40e4 100644 --- a/ansible/roles/application/molecule/default/tests/test_default.py +++ b/ansible/roles/application/molecule/default/tests/test_default.py @@ -8,7 +8,12 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( def test_helm_commands(host): fc = host.file('/tmp/helm_simu_output').content_string - expected_content = """home + helm_release = host.ansible.get_variables()['helm_version'] + if helm_release == 'v2': + content_str1 = 'home' + elif helm_release == 'v3': + content_str1 = 'env' + expected_content = content_str1 + """ init --upgrade --skip-refresh version --tiller-connection-timeout 10 repo list |