summaryrefslogtreecommitdiffstats
path: root/ansible/roles/application/molecule/ubuntu/molecule.yml
blob: 7a8224197b48d2cc0949b7b030732607d7d4881e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
dependency:
  name: galaxy
driver:
  name: docker
lint: |
  set -e
  yamllint .
  ansible-lint .
  flake8
platforms:
  - name: instance
    image: ubuntu:18.04
provisioner:
  name: ansible
  env:
    ANSIBLE_ROLES_PATH: ../../../../test/roles
  inventory:
    group_vars:
      all:
        app_name: moleculetestapp
        app_data_path: "/opt/{{ app_name }}"
        app_helm_release_name: "{{ app_name }}"
        app_kubernetes_namespace: "{{ app_name }}"
        app_helm_charts_install_directory: application/helm_charts
        app_helm_plugins_directory: "{{ app_helm_charts_install_directory}}/helm/plugins/"
        app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
        helm_bin_dir: /usr/local/bin
        app_helm_build_targets:
          - all
        app_helm_chart_name: "{{ app_name }}"
        helm_version: v3
  playbooks:
    prepare: ../default/prepare.yml
    converge: ../default/converge.yml
    cleanup: ../default/cleanup.yml
verifier:
  name: testinfra
  directory: ../default/tests/