Verified Commit f2621d3b authored by Pierre-Louis Bonicoli's avatar Pierre-Louis Bonicoli 🏗
Browse files

CI: test with Stretch hosts too

parent 6077eb76
......@@ -3,14 +3,14 @@ driver:
name: docker
platforms:
- name: molecule-burp-server
image: debian:buster
image: &image docker.io/debian:${DEBIAN_RELEASE:-buster}
command: /sbin/init
security_opts: ['seccomp=unconfined']
tmpfs: ['/tmp', '/run', '/run/lock']
volumes: ['/sys/fs/cgroup:/sys/fs/cgroup:ro']
networks: [{name: burp_network}] # don't use default network in order to allow DNS resolution between containers
- name: molecule-burp-client
image: debian:buster
image: *image
command: /sbin/init
security_opts: ['seccomp=unconfined']
tmpfs: ['/tmp', '/run', '/run/lock']
......
......@@ -12,7 +12,7 @@ provisioner:
ansible_connection: kubectl
platforms:
- name: molecule-burp-server
image: &image quay.io/pilou/debian-systemd:latest
image: &image quay.io/pilou/debian-systemd:${DEBIAN_RELEASE:-buster}
command: &command [/sbin/init]
volumeMounts: &volumeMounts
- mountPath: /tmp
......
[tox]
minversion = 3.9.0
envlist =
py{37,38}-ansible29-molecule-{docker,k8s}
py{37,38}-ansible29-molecule-{docker,k8s}-{stretch,buster}
skipdist = True
isolated_build = True
......@@ -24,3 +24,9 @@ deps =
commands =
docker: molecule --base-config molecule/base.yml test --scenario-name default
k8s: molecule --debug --base-config molecule/base.yml test --scenario-name k8s
[testenv:stretch]
setenv = DEBIAN_RELEASE = stretch
[testenv:buster]
setenv = DEBIAN_RELEASE = buster
---
- job:
name: tox-py37-ansible29-molecule
name: tox-ansible29-molecule
parent: tox-pods # from gitlab.com/pilou-/zuul-project-config
timeout: 3600 # seconds
vars:
tox_envlist: py37-ansible29-molecule-k8s
tox_install_siblings: false
nodeset:
nodes:
......@@ -12,19 +11,33 @@
label: ansible-roles
- job:
name: tox-py38-ansible29-molecule
parent: tox-pods # from gitlab.com/pilou-/zuul-project-config
timeout: 3600 # seconds
name: tox-py37-ansible29-molecule-stretch
parent: tox-ansible29-molecule
vars:
tox_envlist: py38-ansible29-molecule-k8s
tox_install_siblings: false
nodeset:
nodes:
- name: molecule
label: ansible-roles
tox_envlist: py37-ansible29-molecule-k8s-stretch
- job:
name: tox-py38-ansible29-molecule-stretch
parent: tox-ansible29-molecule
vars:
tox_envlist: py38-ansible29-molecule-k8s-stretch
- job:
name: tox-py37-ansible29-molecule-buster
parent: tox-ansible29-molecule
vars:
tox_envlist: py37-ansible29-molecule-k8s-buster
- job:
name: tox-py38-ansible29-molecule-buster
parent: tox-ansible29-molecule
vars:
tox_envlist: py38-ansible29-molecule-k8s-buster
- project:
check:
jobs:
- tox-py37-ansible29-molecule
- tox-py38-ansible29-molecule
- tox-py37-ansible29-molecule-stretch
- tox-py38-ansible29-molecule-stretch
- tox-py37-ansible29-molecule-buster
- tox-py38-ansible29-molecule-buster
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment