Now try to use official molecule Docker image for CI tests

parent 097ee0b7
---
image: python:latest
image: quay.io/ansible/molecule:latest
services:
- docker:dind
stages:
- tests
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip"
cache:
paths:
- .pip/
- virtenv/
before_script:
- pip3 install virtualenv
- virtualenv virtenv
- source virtenv/bin/activate
- docker -v
- python -V
- ansible --version
- molecule --version
molecule-role-common:
stage: tests
tags:
- docker
script:
- docker -v
- python -V
- pip install ansible molecule docker
- ansible --version
- molecule --version
- cd roles/common/
- molecule test
only:
......
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