Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/buluma/docker-github-action-molecule

A container that is used for GitHub molecule actions
https://github.com/buluma/docker-github-action-molecule

ansible docker github-actions molecule tox

Last synced: 2 days ago
JSON representation

A container that is used for GitHub molecule actions

Awesome Lists containing this project

README

        

# GitHub molecule actions container

A container that is used for [GitHub actions molecule](https://github.com/marketplace/actions/buluma-molecule).

[![Build and Push Container](https://github.com/buluma/docker-github-action-molecule/actions/workflows/build-push-action.yml/badge.svg)](https://github.com/buluma/docker-github-action-molecule/actions/workflows/build-push-action.yml)
![GitHub Release Date](https://img.shields.io/github/release-date/buluma/docker-github-action-molecule)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/buluma/docker-github-action-molecule/main)
![Docker Pulls](https://img.shields.io/docker/pulls/buluma/github-action-molecule)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/buluma/docker-github-action-molecule)

This container contains:
- [docker](https://www.docker.com/) - Used by molecule to start instances using the `docker` driver.
- [git](https://git-scm.com/) - Used to pull data from a repository.
- [molecule](https://molecule.readthedocs.io/en/latest/) version 24.x.x - Used to orchestrate the tests.
- [tox](https://tox.readthedocs.io/en/latest/) - Used to test multiple version of ansible if `tox.ini` exists.
- [flake8](https://pypi.org/project/flake8/#description) - Modular source code checker.

The default behaviour is to:
- See if `tox.ini` exists -> Run `tox`
- Otherwise -> Run `molecule test`
- Retry either (`tox` or `molecule`) 3 times.
- Run `test` if `command` is not set.
- Test the `default` scenario if `scenario` in not set.

Read how to [test locally](TESTING.md).