rancher / distros-test-framework

5 stars 9 forks source link

test script and jenkinsfile for delete resources #168

Closed aganesh-suse closed 1 month ago

aganesh-suse commented 2 months ago

Proposed Changes

Update to the delete_resources.sh script - to take in a comma separated resource prefix name list. Retains the previous method of reading the tfvars resource_name var as well. The help documents these options in detail.

Adding Jenkinsfile_delete_resources file that the jenkins job will call. This then will call the script and pass the resource prefix comma separated for deletion.

Types of Changes

Testing

Checklist:

  1. If your PR changes anything on or related to Jenkins, run it pointing to your branch to make sure it's okay.

  2. Verify code lint; we should not have errors.

  3. Update the documentation if needed.

  4. Update makefile and docker run if adding new tests.

  5. Run your tests at least 4 times with all configurations needed and possible.

  6. If needed test with different os types.

Linked Issues

Further Comments