test: use personal docker registry

This commit is contained in:
Adrien Waksberg 2024-05-07 16:15:48 +02:00
parent 745707157e
commit 694f7c11d9
3 changed files with 16 additions and 12 deletions

View file

@ -13,6 +13,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- test: remove support debian 10
### Changed
- test: use personal docker registry
## [v1.0.0] - 2020-08-09
- first version

View file

@ -1,16 +1,16 @@
# Ansible role: Gitlab Runner
[![Version](https://img.shields.io/badge/latest_version-1.0.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-gitlab/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-gitlab/src/branch/master/LICENSE)
[![Version](https://img.shields.io/badge/latest_version-1.0.0-green.svg)](https://code.waks.be/nishiki/ansible-role-gitlab/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/ansible-role-gitlab/src/branch/main/LICENSE)
Install and configure a Gitlab runner
## Requirements
* Ansible >= 2.9
* Debian
* Bullseye
* Bookworm
- Ansible >= 2.9
- Debian
- Bullseye
- Bookworm
## Role variables
@ -44,10 +44,10 @@ Install and configure a Gitlab runner
### Test with molecule and docker
* install [docker](https://docs.docker.com/engine/installation/)
* install `python3` and `python3-pip`
* install molecule and dependencies `pip3 install molecule 'molecule[docker]' docker ansible-lint testinfra yamllint`
* run `molecule test`
- install [docker](https://docs.docker.com/engine/installation/)
- install `python3` and `python3-pip`
- install molecule and dependencies `pip3 install molecule 'molecule[docker]' docker ansible-lint testinfra yamllint`
- run `molecule test`
## License

View file

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