mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Add RHEL 9.0, Ubuntu 22.04 and Fedora 36 to CI (#358)
* Add RHEL 9.0 to CI. * Add RHEL 9 specific files. * Add Ubuntu 22.04 and Fedora 36 to CI. * Another try. * Adjust kernel memory tests. * Add more details. * RHEL 9 doesn't support setting memory swappiness. * Fix docker_swarm_service tests. The 'less' case should always have been changed, but it probably was always skipped due to a too old Docker SDK for Python or a too old Docker daemon. * More checks / improve checks.
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
- assert:
|
||||
that:
|
||||
- blkio_weight_1 is changed
|
||||
- "blkio_weight_2 is not changed or 'Docker warning: Your kernel does not support Block I/O weight or the cgroup is not mounted. Weight discarded.' in blkio_weight_2.warnings"
|
||||
- "blkio_weight_2 is not changed or 'Docker warning: Your kernel does not support Block I/O weight or the cgroup is not mounted. Weight discarded.' in (blkio_weight_2.warnings | default([]))"
|
||||
- blkio_weight_3 is changed
|
||||
|
||||
####################################################################
|
||||
@@ -2306,7 +2306,9 @@
|
||||
- kernel_memory_1 is changed
|
||||
- kernel_memory_2 is not changed
|
||||
- kernel_memory_3 is changed
|
||||
when: kernel_memory_1 is not failed or 'kernel memory accounting disabled in this runc build' not in kernel_memory_1.msg
|
||||
when:
|
||||
- kernel_memory_1 is not failed or 'kernel memory accounting disabled in this runc build' not in kernel_memory_1.msg
|
||||
- "'Docker warning: Specifying a kernel memory limit is deprecated and will be removed in a future release.' not in (kernel_memory_1.warnings | default([]))"
|
||||
|
||||
####################################################################
|
||||
## kill_signal #####################################################
|
||||
@@ -2569,7 +2571,7 @@
|
||||
- log_options_1 is changed
|
||||
- log_options_2 is not changed
|
||||
- "'Non-string value found for log_options option \\'max-file\\'. The value is automatically converted to \\'5\\'. If this is not correct, or you want to
|
||||
avoid such warnings, please quote the value.' in log_options_2.warnings"
|
||||
avoid such warnings, please quote the value.' in (log_options_2.warnings | default([]))"
|
||||
- log_options_3 is not changed
|
||||
- log_options_4 is changed
|
||||
|
||||
@@ -2846,6 +2848,7 @@ avoid such warnings, please quote the value.' in log_options_2.warnings"
|
||||
- memory_swappiness_1 is changed
|
||||
- memory_swappiness_2 is not changed
|
||||
- memory_swappiness_3 is changed
|
||||
when: "'Docker warning: Your kernel does not support memory swappiness capabilities or the cgroup is not mounted. Memory swappiness discarded.' not in (memory_swappiness_1.warnings | default([]))"
|
||||
|
||||
####################################################################
|
||||
## oom_killer ######################################################
|
||||
@@ -2891,6 +2894,7 @@ avoid such warnings, please quote the value.' in log_options_2.warnings"
|
||||
- oom_killer_1 is changed
|
||||
- oom_killer_2 is not changed
|
||||
- oom_killer_3 is changed
|
||||
when: "'Docker warning: Your kernel does not support OomKillDisable. OomKillDisable discarded.' not in (oom_killer_1.warnings | default([]))"
|
||||
|
||||
####################################################################
|
||||
## oom_score_adj ###################################################
|
||||
@@ -2936,6 +2940,7 @@ avoid such warnings, please quote the value.' in log_options_2.warnings"
|
||||
- oom_score_adj_1 is changed
|
||||
- oom_score_adj_2 is not changed
|
||||
- oom_score_adj_3 is changed
|
||||
when: "'Docker warning: Your kernel does not support OomScoreAdj. OomScoreAdj discarded.' not in (oom_score_adj_1.warnings | default([]))"
|
||||
|
||||
####################################################################
|
||||
## output_logs #####################################################
|
||||
|
||||
Reference in New Issue
Block a user