name: galaxy
driver:
name: docker
-lint:
- name: yamllint
+lint: |
+ set -e
+ yamllint .
+ ansible-lint .
+ flake8
platforms:
- name: instance
image: ubuntu:18.04
- dockerfile: ../default/Dockerfile.j2
provisioner:
name: ansible
env:
helm_bin_dir: /usr/local/bin
app_helm_build_targets:
- all
- - onap
app_helm_chart_name: "{{ app_name }}"
- lint:
- name: ansible-lint
+ helm_version: v3
playbooks:
prepare: ../default/prepare.yml
- converge: ../default/playbook.yml
+ converge: ../default/converge.yml
cleanup: ../default/cleanup.yml
-scenario:
- name: ubuntu
- test_sequence:
- - lint
- - cleanup
- - destroy
- - dependency
- - syntax
- - create
- - prepare
- - converge
- # - idempotence
- # --> Action: 'idempotence'
- # ERROR: Idempotence test failed because of the following tasks:
- # * [instance] => application : Get helm dir
- # * [instance] => application : Helm init and upgrade
- # * [instance] => application : Helm Serve
- # * [instance] => application : Helm Add Repo
- # * [instance] => application : Helm Install application moleculetestapp
- - side_effect
- - verify
- - cleanup
- - destroy
verifier:
name: testinfra
- lint:
- name: flake8
directory: ../default/tests/