You've already forked ansible-role-common
Add in molecule scenario
This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -3,14 +3,20 @@ kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: docker:dind
|
||||
- name: Test with Molecule
|
||||
image: python:3.8
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
commands:
|
||||
- sleep 5 # give docker enough time to start
|
||||
- docker ps -a
|
||||
- apt-get update && apt-get install -y rsync
|
||||
- mkdir $BITBUCKET_REPO_SLUG
|
||||
- rsync -a . $BITBUCKET_REPO_SLUG --exclude $BITBUCKET_REPO_SLUG
|
||||
- cd $BITBUCKET_REPO_SLUG
|
||||
- python3 --version
|
||||
- ansible --version
|
||||
- molecule --version
|
||||
- molecule test
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
|
||||
Reference in New Issue
Block a user