Commit 87de4cc7 authored by hadret's avatar hadret

clean: sync with pipeline example provided by GitLab.

parent 3a6404b9
Pipeline #478 failed with stages
in 11 seconds
......@@ -4,32 +4,30 @@ stages:
- cleanup
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
ROLE_NAME: restic
cache:
paths:
- .pip/
- virtenv/
- .cache/pip
- venv/
before_script:
- docker -v
- python -V
- cd ../
- mv ansible-role-$ROLE_NAME hadret.$ROLE_NAME
- cd hadret.$ROLE_NAME
- pip install --user virtualenv
- virtualenv virtenv
- source virtenv/bin/activate
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
molecule:
stage: test
tags:
- shell
script:
- docker -v
- python -V
- pip install ansible docker molecule
- ansible --version
- molecule --version
- molecule test
clean:
......
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