Re-organize CI test groups for POSIX tests. (#77420)

* `context/target` tests must be in groups 1 - 2.
* `context/controller` tests must be in groups 3 - 5.

This makes it easier to efficiently organize groups and balance test runtimes.
pull/78448/head
Matt Clay 2 years ago committed by GitHub
parent 7e634f54c3
commit 02e98810a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -104,6 +104,18 @@ stages:
groups:
- 1
- 2
- template: templates/matrix.yml
parameters:
targets:
- name: macOS 12.0
test: macos/12.0
- name: RHEL 8.6
test: rhel/8.6
- name: RHEL 9.0
test: rhel/9.0
- name: FreeBSD 13.1
test: freebsd/13.1
groups:
- 3
- 4
- 5
@ -131,6 +143,19 @@ stages:
groups:
- 1
- 2
- template: templates/matrix.yml
parameters:
testFormat: linux/{0}
targets:
- name: Alpine 3
test: alpine3
- name: Fedora 35
test: fedora35
- name: Fedora 36
test: fedora36
- name: Ubuntu 22.04
test: ubuntu2204
groups:
- 3
- 4
- 5

@ -1,2 +1,2 @@
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group1
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group4
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group4
shippable/posix/group3
context/controller

@ -1,3 +1,3 @@
destructive
shippable/posix/group4
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,4 +1,4 @@
shippable/posix/group3
shippable/posix/group5
context/controller
skip/osx
skip/macos

@ -1,3 +1,3 @@
needs/httptester # using legacy alias for testing purposes
shippable/posix/group1
shippable/posix/group3
context/controller

@ -1,4 +1,4 @@
shippable/posix/group1 # runs in the distro test containers
shippable/posix/group3 # runs in the distro test containers
shippable/generic/group1 # runs in the default test container
context/controller
needs/target/collection

@ -1,4 +1,4 @@
shippable/posix/group1 # runs in the distro test containers
shippable/posix/group3 # runs in the distro test containers
shippable/generic/group1 # runs in the default test container
context/controller
needs/target/collection

@ -1,4 +1,4 @@
context/controller
shippable/posix/group1 # runs in the distro test containers
shippable/posix/group3 # runs in the distro test containers
shippable/generic/group1 # runs in the default test container
needs/target/collection

@ -1,4 +1,4 @@
shippable/posix/group1 # runs in the distro test containers
shippable/posix/group3 # runs in the distro test containers
shippable/generic/group1 # runs in the default test container
context/controller
needs/target/collection

@ -1,4 +1,4 @@
shippable/posix/group1 # runs in the distro test containers
shippable/posix/group3 # runs in the distro test containers
shippable/generic/group1 # runs in the default test container
context/controller
needs/target/collection

@ -1,4 +1,4 @@
shippable/posix/group1 # runs in the distro test containers
shippable/posix/group3 # runs in the distro test containers
shippable/generic/group1 # runs in the default test container
context/controller
needs/target/collection

@ -1,4 +1,4 @@
shippable/posix/group1 # runs in the distro test containers
shippable/posix/group3 # runs in the distro test containers
shippable/generic/group1 # runs in the default test container
context/controller
needs/target/collection

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group4
shippable/posix/group3
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,4 +1,4 @@
shippable/posix/group5
shippable/posix/group2
destructive
skip/freebsd
skip/osx

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller # this is a controller-only action, the module is just for documentation

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group2
context/target

@ -1,3 +1,3 @@
destructive
shippable/posix/group1
shippable/posix/group3
context/controller

@ -1,5 +1,5 @@
destructive
shippable/posix/group1
shippable/posix/group3
needs/ssh
needs/root
context/controller

@ -1,3 +1,3 @@
shippable/posix/group3
shippable/posix/group2
needs/target/binary_modules
context/target

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,4 +1,4 @@
setup/always/setup_passlib
setup/always/setup_pexpect
shippable/posix/group4
shippable/posix/group3
context/controller

@ -1 +1 @@
shippable/posix/group1
shippable/posix/group3

@ -1,2 +1,2 @@
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -2,5 +2,5 @@ destructive
needs/root
needs/ssh
needs/target/setup_pexpect
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,4 +1,4 @@
posix
shippable/posix/group4
shippable/posix/group1
shippable/windows/group1
windows

@ -1,2 +1,2 @@
shippable/posix/group1
shippable/posix/group3
context/controller

@ -1,2 +1,2 @@
shippable/posix/group4
shippable/posix/group3
context/controller

@ -1,2 +1,2 @@
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group1
shippable/posix/group3
context/controller

@ -1,2 +1,2 @@
shippable/posix/group1
shippable/posix/group3
context/controller

@ -1,4 +1,4 @@
shippable/posix/group1
shippable/posix/group3
context/controller
skip/freebsd # No sshpass
skip/osx # No sshpass

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
needs/target/connection

@ -1,5 +1,5 @@
needs/ssh
shippable/posix/group3
shippable/posix/group5
needs/target/setup_paramiko
needs/target/connection
destructive # potentially installs/uninstalls OS packages via setup_paramiko

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,3 +1,3 @@
needs/ssh
shippable/posix/group1
shippable/posix/group3
needs/target/connection

@ -1,2 +1,2 @@
context/controller
shippable/posix/group1
shippable/posix/group3

@ -1,4 +1,4 @@
destructive
shippable/posix/group4
shippable/posix/group1
skip/osx
skip/macos

@ -1,2 +1,2 @@
shippable/posix/group1
shippable/posix/group3
context/controller

@ -1,2 +1,2 @@
shippable/posix/group1
shippable/posix/group3
context/controller # this is a controller-only action, the module is just for documentation

@ -1,3 +1,3 @@
shippable/posix/group1
shippable/posix/group3
context/controller
setup/always/setup_pexpect

@ -1,4 +1,4 @@
shippable/posix/group3
shippable/posix/group5
needs/ssh
needs/root # only on macOS and FreeBSD to configure network interfaces
context/controller

@ -1,2 +1,2 @@
shippable/posix/group1
shippable/posix/group3
context/controller

@ -1,5 +1,5 @@
destructive
shippable/posix/group4
shippable/posix/group1
skip/power/centos
skip/freebsd
skip/osx

@ -1,2 +1,2 @@
shippable/posix/group1
shippable/posix/group3
context/controller

@ -1,2 +1,2 @@
context/controller
shippable/posix/group5
shippable/posix/group4

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group2
context/target

@ -1,2 +1,2 @@
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1,5 +1,5 @@
needs/privileged
shippable/posix/group2
shippable/posix/group1
skip/freebsd
skip/osx
skip/macos

@ -1,2 +1,2 @@
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1 +1 @@
shippable/posix/group2
shippable/posix/group4

@ -1 +1 @@
shippable/posix/group2
shippable/posix/group4

@ -1 +1 @@
shippable/posix/group2
shippable/posix/group4

@ -1 +1 @@
shippable/posix/group2
shippable/posix/group4

@ -1 +1 @@
shippable/posix/group2
shippable/posix/group4

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,3 +1,3 @@
shippable/posix/group3
shippable/posix/group5
needs/root
context/controller

@ -1 +1 @@
shippable/posix/group4
shippable/posix/group1

@ -1 +1 @@
shippable/posix/group3
shippable/posix/group2

@ -1,2 +1,2 @@
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1,4 +1,4 @@
destructive
needs/privileged
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group4
shippable/posix/group3
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller # this is a controller-only action, the module is just for documentation

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1,4 +1,4 @@
shippable/posix/group3
shippable/posix/group5
needs/file/hacking/test-module.py
needs/file/lib/ansible/modules/ping.py
context/controller

@ -1,3 +1,3 @@
shippable/posix/group1
shippable/posix/group3
non_local # this test requires interpreter discovery, which means code coverage must be disabled
context/controller

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1 +1 @@
shippable/posix/group1
shippable/posix/group3

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1 +1 @@
shippable/posix/group3
shippable/posix/group5

@ -1 +1 @@
shippable/posix/group5
shippable/posix/group4

@ -1 +1 @@
shippable/posix/group1
shippable/posix/group3

@ -1 +1 @@
shippable/posix/group1
shippable/posix/group3

@ -1,2 +1,2 @@
shippable/posix/group3
shippable/posix/group5
context/controller

@ -1,2 +1,2 @@
shippable/posix/group5
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group2
shippable/posix/group4
context/controller

@ -1,2 +1,2 @@
shippable/posix/group4
shippable/posix/group3
context/controller

@ -1 +1 @@
shippable/posix/group2
shippable/posix/group4

@ -1 +1 @@
shippable/posix/group2
shippable/posix/group4

@ -1 +1 @@
shippable/posix/group1
shippable/posix/group3

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save