test: use personal docker registry

This commit is contained in:
Adrien Waksberg 2024-05-08 10:24:31 +02:00
parent af0ceb440d
commit fb6e522c98
3 changed files with 47 additions and 43 deletions

View file

@ -9,6 +9,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- upgrade to influxdb 2 - upgrade to influxdb 2
### Changed
- test: use personal docker registry
## [2.0.0] 2021-08-18 ## [2.0.0] 2021-08-18
### Break ### Break

View file

@ -1,15 +1,15 @@
# Ansible role: Influxdb # Ansible role: Influxdb
[![Version](https://img.shields.io/badge/latest_version-2.0.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-influxdb/releases) [![Version](https://img.shields.io/badge/latest_version-2.0.0-green.svg)](https://code.waks.be/nishiki/ansible-role-influxdb/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-influxdb/src/branch/master/LICENSE) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/ansible-role-influxdb/src/branch/main/LICENSE)
Install and configure InfluxDB 2 Install and configure InfluxDB 2
## Requirements ## Requirements
* Ansible >= 2.10 - Ansible >= 2.10
* Debian - Debian
* Bookworm - Bookworm
## Role variables ## Role variables
@ -74,10 +74,10 @@ Install and configure InfluxDB 2
### Test with molecule and docker ### Test with molecule and docker
* install [docker](https://docs.docker.com/engine/installation/) - install [docker](https://docs.docker.com/engine/installation/)
* install `python3` and `python3-pip` - install `python3` and `python3-pip`
* install molecule and dependencies `pip3 install molecule molecule-plugins[docker] ansible-lint pytest-testinfra yamllint` - install molecule and dependencies `pip3 install molecule molecule-plugins[docker] ansible-lint pytest-testinfra yamllint`
* run `molecule test` - run `molecule test`
## License ## License

View file

@ -3,7 +3,7 @@ driver:
name: docker name: docker
platforms: platforms:
- name: debian12 - name: debian12
image: nishiki/debian12:molecule image: code.waks.be/nishiki/molecule:debian12
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw - /sys/fs/cgroup:/sys/fs/cgroup:rw