Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
List requirements with their build status.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Nov 10, 2020
1 parent 073ed45 commit f18f977
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions README.md
Expand Up @@ -20,7 +20,7 @@ This example is taken from `molecule/resources/converge.yml` and is tested on ea
- role: robertdebock.kubectl
```

The machine may need to be prepared using `molecule/resources/prepare.yml`:
The machine needs to be prepared in CI this is done using `molecule/resources/prepare.yml`:
```yaml
---
- name: prepare
Expand All @@ -32,19 +32,6 @@ The machine may need to be prepared using `molecule/resources/prepare.yml`:
- role: robertdebock.bootstrap
```

For verification `molecule/resources/verify.yml` runs after the role has been applied.
```yaml
---
- name: Verify
hosts: all
become: yes
gather_facts: no

tasks:
- name: check if connection still works
ping:
```

Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.


Expand All @@ -53,13 +40,11 @@ Also see a [full explanation and example](https://robertdebock.nl/how-to-use-the
- Access to a repository containing packages, likely on the internet.
- A recent version of Ansible. (Tests run on the current, previous and next release of Ansible.)

The following roles can be installed to ensure all requirements are met, using `ansible-galaxy install -r requirements.yml`:

```yaml
---
- robertdebock.bootstrap
## [Status of requirements](#status-of-requirements)

```
| Requirement | Travis | GitHub |
|-------------|--------|--------|
| [robertdebock.bootstrap](https://galaxy.ansible.com/robertdebock/bootstrap) | [![Build Status Travis](https://travis-ci.com/robertdebock/ansible-role-bootstrap.svg?branch=master)](https://travis-ci.com/robertdebock/ansible-role-bootstrap) | [![Build Status GitHub](https://github.com/robertdebock/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-bootstrap/actions) |

## [Context](#context)

Expand Down

0 comments on commit f18f977

Please sign in to comment.