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

CI use SMB cleanup variables from integration_config.yml #172

Closed justinc1 closed 1 year ago

justinc1 commented 1 year ago

Initially we had a configuration variable/secret for every possible line in integration_config.yml. Later we decided to have whole integration_config.yml except about 3 passwords as a single CI variable, and then we add only missing passwords to it.

The smb_cleanup.sh was not yet updated to get required configuration (SMB server, username etc) from integration_config.yml. This PR does this.

CI job to show that smb_cleanup integration "test" does pass - https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/4465664492/jobs/7842970112