Drone CI plugin with Molecule inside
2.7K
Docker image for testing and release Ansible roles via Molecule (+testinfra).
test - tests onlyupload - upload onlyrelease - tests and uploadscenario - molecule scenario. default: defaultlxd_remote_host and lxd_remote_port - LXD connection parametersrelease_directory - the name of the local temporary folder to create an archive with the roleansible_requirements - The path to the requirements file that will be used to load roles. (requirements.yml by default)ansible_profiler - an option to control ansible-profiler (true by default)ansible_errors_fatal - whether to consider all errors during the execution of roles at the stage of rolling the playbook fatal (true by default).minio_alias - the name that will be used when generating the variable for minio-client. ("remote" by default)minio_host and minio_bucket - minio connection parametersupload_prefix - nested directories inside bucketupload_as - override archive name with roleminio_debug - debug mode for miniorelease_alias - upload alias. Default: tag -> stable, master branch -> latest, any branch -> branch namedebug - debug mode---
kind: pipeline
name: test
steps:
- name: test
image: osshelp/drone-molecule
environment:
LXD_REMOTE_PASSWORD:
from_secret: lxd_remote_password
settings:
action: test
---
kind: pipeline
name: publish
depends_on: [test]
trigger:
status: [success]
event: [push, tag]
ref:
- refs/heads/*
- refs/tags/*
steps:
- name: publish
image: osshelp/drone-molecule
environment:
MINIO_USER:
from_secret: minio_user
MINIO_SECRET:
from_secret: minio_secret
settings:
action: upload
Source repository is available at Github here.
GPL3
OSSHelp Team, see https://oss.help
Content type
Image
Digest
sha256:3895bd9e7…
Size
188.1 MB
Last updated
over 1 year ago
docker pull osshelp/drone-molecule