Add gitlab-ci job to run molecule on role common

parent 33eb11b9
---
stages:
- tests
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip"
cache:
paths:
- .pip/
- virtenv/
before_script:
- pip3.6 install virtualenv
- virtualenv virtenv
- source virtenv/bin/activate
molecule-role-common:
stage: tests
tags:
- pip36
- docker
script:
- docker -v
- python -V
- pip install ansible molecule docker
- ansible --version
- molecule --version
- molecule test
only:
changes:
- roles/common/**/*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment