Skip to content
Snippets Groups Projects
Unverified Commit 0445029e authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #39 from odyssey4me/master

Add Ubuntu Bionic support/testing
parents 99044dc6 e52d7d9d
Branches
Tags 0.7.8
No related merge requests found
#!/bin/bash
for i in ubuntu-molecule:16.04 debian-molecule:9 debian-molecule:8 centos-molecule:7 fedora-molecule:27
do
for i in ubuntu-molecule:16.04 ubuntu-molecule:18.04 debian-molecule:9 debian-molecule:8 centos-molecule:7 fedora-molecule:27
do
docker pull paulfantom/$i &
done
......
......@@ -68,7 +68,7 @@ We provide demo site for full monitoring solution based on prometheus and grafan
The preferred way of locally testing the role is to use Docker and [molecule](https://github.com/metacloud/molecule) (v1.25). You will have to install Docker on your system. See Get started for a Docker package suitable to for your system.
All packages you need to can be specified in one line:
```sh
pip install ansible ansible-lint>=3.4.15 molecule==1.25.0 docker testinfra>=1.7.0
pip install ansible 'ansible-lint>=3.4.15' 'molecule==1.25.0' docker 'testinfra>=1.7.0,<=1.10.1'
```
This should be similiar to one listed in `.travis.yml` file in `install` section.
After installing test suit you can run test by running
......
......@@ -8,6 +8,7 @@ galaxy_info:
- name: Ubuntu
versions:
- xenial
- bionic
- name: Debian
versions:
- jessie
......
......@@ -17,6 +17,12 @@ docker:
privileged: true
volume_mounts:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- name: bionic
image: paulfantom/ubuntu-molecule
image_version: 18.04
privileged: true
volume_mounts:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- name: stretch
image: paulfantom/debian-molecule
image_version: 9
......
......@@ -3,4 +3,5 @@ grafana_package: "grafana={{ grafana_version }}"
grafana_dependencies:
- apt-transport-https
- adduser
- ca-certificates
- libfontconfig
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment