[ANSIBLE] Do not run "onap" make target while building the helm charts
[oom/offline-installer.git] / ansible / roles / application / molecule / ubuntu / molecule.yml
index 2fde35a..7a82241 100644 (file)
@@ -3,12 +3,14 @@ dependency:
   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:
@@ -26,39 +28,12 @@ provisioner:
         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/