summaryrefslogtreecommitdiffstats
path: root/ansible/roles/chartmuseum/molecule/ubuntu/molecule.yml
blob: d2851ccfc5bf1649b377faee859ce74e7957a885 (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
---
dependency:
  name: galaxy
driver:
  name: docker
lint:
  name: yamllint
platforms:
  - name: instance-ubuntu-chartmuseum
    image: ubuntu:18.04
    dockerfile: ../default/Dockerfile.j2
    groups:
      - infrastructure
provisioner:
  name: ansible
  lint:
    name: ansible-lint
  env:
    ANSIBLE_ROLES_PATH: ../../../../test/roles
    ANSIBLE_LIBRARY: ../../../../library
  inventory:
    group_vars:
      all:
        app_name: moleculetestapp
        app_data_path: "/opt/{{ app_name }}"
        helm_bin_dir: /usr/local/bin
        chartmuseum_storage_dir: "/opt/{{ app_name }}/chartmuseum"
        chartmuseum_port: "1234"
  playbooks:
    prepare: ../default/prepare.yml
    converge: ../default/playbook.yml
scenario:
  name: ubuntu
verifier:
  name: testinfra
  lint:
    name: flake8
  directory: ../default/tests/