test: add support debian 12

This commit is contained in:
Adrien Waksberg 2023-07-07 09:12:06 +02:00
parent 2019eca6df
commit 93c6c0a8e3
4 changed files with 27 additions and 10 deletions

View file

@ -5,6 +5,14 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
## [Unreleased] ## [Unreleased]
### Added
- test: add support debian 12
### Removed
- test: remove support debian 10
## [v1.0.0] - 2020-08-09 ## [v1.0.0] - 2020-08-09
- first version - first version

View file

@ -8,7 +8,9 @@ Install and configure a Gitlab runner
## Requirements ## Requirements
* Ansible >= 2.9 * Ansible >= 2.9
* Debian Buster * Debian
* Bullseye
* Bookworm
## Role variables ## Role variables

View file

@ -6,12 +6,13 @@ galaxy_info:
company: Adrien Waksberg company: Adrien Waksberg
description: Install and configure Gitlab runner description: Install and configure Gitlab runner
license: Apache2 license: Apache2
min_ansible_version: 2.9 min_ansible_version: "2.9"
platforms: platforms:
- name: Debian - name: Debian
versions: versions:
- buster - bullseye
- bookworm
galaxy_tags: galaxy_tags:
- git - git

View file

@ -2,18 +2,24 @@
driver: driver:
name: docker name: docker
platforms: platforms:
- name: debian10 - name: debian12
image: nishiki/debian10:molecule image: nishiki/debian12:molecule
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
command: /bin/systemd
capabilities:
- SYS_ADMIN
- name: debian11
image: nishiki/debian11:molecule
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
command: /bin/systemd command: /bin/systemd
capabilities: capabilities:
- SYS_ADMIN - SYS_ADMIN
exposed_ports:
- 22/tcp
published_ports:
- 0.0.0.0:2222:22/tcp
lint: | lint: |
set -e set -e
yamllint . yamllint .