Skip to content

Commit

Permalink
ci: Add tests::uses_selinux tag
Browse files Browse the repository at this point in the history
Set `tests::uses_selinux` tag to the test playbook that uses the
selinux role, one of the selinux modules or commands internally.

Signed-off-by: Noriko Hosoi <nhosoi@icloud.com>
  • Loading branch information
nhosoi authored and richm committed Jun 28, 2023
1 parent c947fad commit 087e67b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tests_basics_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- name: "Ensure that the role runs with parameters for
basics input and files output"
hosts: all
tags:
- tests::uses_selinux
vars:
__test_default_files_conf: /etc/rsyslog.d/30-output-files-default_files.conf
__test_files_conf0: /etc/rsyslog.d/30-output-files-files_output0.conf
Expand Down
2 changes: 2 additions & 0 deletions tests/tests_ovirt_elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- name: "Ensure that the role runs with parameters from ovirt to
two elasticsearch outputs and local files output"
hosts: all
tags:
- tests::uses_selinux
vars:
__test_ovirt_collectd_conf: >-
/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf
Expand Down
2 changes: 2 additions & 0 deletions tests/tests_relp.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
- name: Test the server/client configuration using tls relp
hosts: all
tags:
- tests::uses_selinux
vars:
__test_cert_name: logging_cert
__test_ca_cert: "/etc/pki/tls/certs/{{ __test_cert_name }}.crt"
Expand Down

0 comments on commit 087e67b

Please sign in to comment.