ScaleComputing / HyperCoreAnsibleCollection

Official Ansible collection for Scale Computing SC//HyperCore (HC3) v1 API
GNU General Public License v3.0
12 stars 8 forks source link

Integ test #192

Closed justinc1 closed 1 year ago

justinc1 commented 1 year ago

Just refactoring content in tests/integration/integration-config.yml. I want to be able to select SC_HOST for tests with a single line change. After this PR, we need to change only sc_host, the username and password are moved from top-level .sc_username to .sc_config.<sc_host>.sc_username.

In similar way, each sc_host will have a different replication destination - sc_config.<sc_host>.sc_replication_dest_host. The presence or absence of sc_replication_dest_host tells us if host was configured with replication or not. This will be used later to decide if replication related tests can be run.

In similar way we should be (later) able to add expected ICOS version, and expected next_update_version for each available test host. It is annoying to see tests are failing only because we cannot hard-code expected values.

Assigning everyone, as everyone needs to update local integration-config.yml too.