You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration
Akshay Gaikwad 20b95adf2b Add Support of healthcheck in docker_container module (#46772)
* Add Support of healthcheck in docker_container module

Fixes #33622
Now container can be started with healthcheck enabled

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Extend docker_container healthcheck (#1)

* Allowing to disable healthcheck.

* Added test for healthcheck.

* Make sure correct types are used.

* Healthcheck needs to be explicitly disabled with test: ['NONE'].

* pep8 fixes

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Fix bug if healthcheck interval is 1 day or more

`timedelta` object has days too and seconds are up to one day.
Therefore use `total_seconds()` to convert time into seconds.

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Add test for healthcheck when healthcheck is not specified

This is to avoid the situation when healthcheck is not specified and
treat this as healthcheck is changed or removed.

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Convert string syntax for healthcheck test to CMD-SHELL

Also add another test case to check idempotency when healthcheck test
is specified as string

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Playbook fails if minimun docker version is not satisfy for healthcheck

This is to make more consistent with other non-supported options.

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
7 years ago
..
host_vars Simplify Windows versions in ansible-test. 8 years ago
targets Add Support of healthcheck in docker_container module (#46772) 7 years ago
cloud-config-aws.yml.template Add region to ansible-test AWS cloud config. (#30733) 8 years ago
cloud-config-azure.yml.template Fix Azure config template. 8 years ago
cloud-config-cs.ini.template Add support for cloud tests to ansible-test. (#24315) 9 years ago
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 8 years ago
cloud-config-opennebula.yml.template opennebula: new module one_host (#40041) 8 years ago
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 8 years ago
cloud-config-tower.cfg.template Initial Tower module integration test support. 8 years ago
integration.cfg Fix ansible-test config management. 8 years ago
integration_config.yml Fix pip integration test. 8 years ago
inventory Use the computed role name instead of 'role'. Fixes #38838 (#39516) 8 years ago
inventory.networking.template Reflect new process for network integration tests (#35577) 8 years ago
inventory.remote.template Add support for OS X CI on Shippable. (#17160) 9 years ago
inventory.winrm.template Increase python version coverage for tests. (#24762) 9 years ago
network-integration.cfg increase timeout for connection reset by peer issue with httpapi (#41224) 8 years ago
target-prefixes.network Add cnos to network target prefixes. 8 years ago
windows-integration.cfg Fix ansible-test config management. 8 years ago