Skip to content

Commit

Permalink
Merge "Add centralized defenition for molecule jobs"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jan 7, 2025
2 parents 3ab787c + 40866d0 commit 5a9d238
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ flake8 # MIT
ansible-lint==24.12.2 # MIT
netaddr>=0.7.18 # BSD
Jinja2>=2.10 # BSD

# Requirements for molecule jobs
ansible-core==2.17.5 # GPL-3.0
docker>=7.0.0 # Apache-2.0
molecule==24.12.0 # MIT
molecule-plugins[docker]==23.6.0 # MIT
26 changes: 26 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,14 @@
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy

- job:
name: openstack-ansible-tox-molecule-ubuntu-jammy
parent: tox-molecule
vars:
tox_environment:
TEST_BRANCH: "{{ zuul.branch }}"
DOCKER_REGISTRY: quay.io/gotmax23
DOCKER_IMAGE_TAG: ubuntu-systemd:jammy

# centos 9 stream
- job:
Expand Down Expand Up @@ -744,6 +752,15 @@
parent: openstack-ansible-deploy-aio
nodeset: centos-9-stream

- job:
name: openstack-ansible-tox-molecule-centos-9-stream
parent: tox-molecule
vars:
tox_environment:
TEST_BRANCH: "{{ zuul.branch }}"
DOCKER_REGISTRY: quay.io/gotmax23
DOCKER_IMAGE_TAG: centos-systemd:stream9

# debian bookworm

- job:
Expand Down Expand Up @@ -806,6 +823,15 @@
parent: openstack-ansible-deploy-aio
nodeset: debian-bookworm

- job:
name: openstack-ansible-tox-molecule-debian-bookworm
parent: tox-molecule
vars:
tox_environment:
TEST_BRANCH: "{{ zuul.branch }}"
DOCKER_REGISTRY: quay.io/gotmax23
DOCKER_IMAGE_TAG: debian-systemd:bookworm

# rocky linux 9
- job:
name: openstack-ansible-deploy-aio_lxc-rockylinux-9
Expand Down
13 changes: 13 additions & 0 deletions zuul.d/project-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,19 @@
- openstack-ansible-deploy-hosts_lxc_overlayfs-debian-bookworm
- openstack-ansible-deploy-hosts_lxc_overlayfs-rockylinux-9

- project-template:
name: openstack-ansible-molecule
check:
jobs:
- openstack-ansible-tox-molecule-centos-9-stream
- openstack-ansible-tox-molecule-debian-bookworm
- openstack-ansible-tox-molecule-ubuntu-jammy
gate:
jobs:
- openstack-ansible-tox-molecule-centos-9-stream
- openstack-ansible-tox-molecule-debian-bookworm
- openstack-ansible-tox-molecule-ubuntu-jammy

- project-template:
name: openstack-ansible-deploy-guide-jobs
description: |
Expand Down

0 comments on commit 5a9d238

Please sign in to comment.