Skip to content

Commit d505d03

Browse files
authored
Move EE tests to antsibull-nox. (#171)
1 parent 324928d commit d505d03

File tree

2 files changed

+29
-164
lines changed

2 files changed

+29
-164
lines changed

.github/workflows/ee.yml

Lines changed: 0 additions & 164 deletions
This file was deleted.

antsibull-nox.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,32 @@ include_devel = true
6464

6565
[sessions.ansible_test_units]
6666
include_devel = true
67+
68+
[[sessions.ee_check.execution_environments]]
69+
name = "devel-ubi-9"
70+
description = "ansible-core devel @ RHEL UBI 9"
71+
test_playbooks = ["tests/ee/all.yml"]
72+
config.images.base_image.name = "docker.io/redhat/ubi9:latest"
73+
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/devel.tar.gz"
74+
config.dependencies.ansible_runner.package_pip = "ansible-runner"
75+
config.dependencies.python_interpreter.package_system = "python3.11 python3.11-pip python3.11-wheel python3.11-cryptography"
76+
config.dependencies.python_interpreter.python_path = "/usr/bin/python3.11"
77+
runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}
78+
79+
[[sessions.ee_check.execution_environments]]
80+
name = "2.15-rocky-9"
81+
description = "ansible-core 2.15 @ Rocky Linux 9"
82+
test_playbooks = ["tests/ee/all.yml"]
83+
config.images.base_image.name = "quay.io/rockylinux/rockylinux:9"
84+
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.15.tar.gz"
85+
config.dependencies.ansible_runner.package_pip = "ansible-runner"
86+
runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}
87+
88+
[[sessions.ee_check.execution_environments]]
89+
name = "2.14-centos-stream-9"
90+
description = "ansible-core 2.14 @ CentOS Stream 9"
91+
test_playbooks = ["tests/ee/all.yml"]
92+
config.images.base_image.name = "quay.io/centos/centos:stream9"
93+
config.dependencies.ansible_core.package_pip = "https://github.com/ansible/ansible/archive/stable-2.14.tar.gz"
94+
config.dependencies.ansible_runner.package_pip = "ansible-runner"
95+
runtime_environment = {"ANSIBLE_PRIVATE_ROLE_VARS" = "true"}

0 commit comments

Comments
 (0)