Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test clean for resubmission pipeline #1292

Merged
merged 118 commits into from
Dec 12, 2024

Conversation

maximenoel8
Copy link
Contributor

@maximenoel8 maximenoel8 commented Aug 9, 2024

What does this PR ?

This PR gives the possibility to automatically handle the tools resubmission in the context of a release testing using BV.
In this PR there are two parts :

New cleanup pipeline ( for now 4.3 NUE and PRV )

What does this pipeline

Create a pipeline able to clean the server artifacts created during a BV run.
This pipeline will also redeploy the current clients using the new terracumber functionalities to modify a main.tf file.

What does NOT this pipeline

Adding or removing clients from the current deployment.
Redeploying monitoring and proxy.

New python scripts

SUSEManagerCleaner.py

Organize the modules and arguments.

suse_manager_api.py

Call the API ( from controller ) to clean the server artifacts.

suse_manager_ssh.py

Unfortunately, we require a ssh connection to server to remove the know hosts because the clients are fresh deployment.
Could be manage directly in groovy step if we don't want to add this python script.

Testing

Currently tested for debugging BV 4.3 NUE and PRV
Pipeline url : https://ci.suse.de/view/Manager/view/Manager-4.3/job/manager-4.3-qe-build-validation-NUE-cleaning/

What is missing ?

  • Unit tests for the python script
  • Improve the generic pipeline to seamlessly handle all the BV pipelines. We will still require two descriptions to point either on PRV or NUE.
  • Improvement to also redeploy monitoring and proxy, will be possible once all the BV hostnames are aligned to the testsuite names.

Issues

Related to:

@maximenoel8 maximenoel8 force-pushed the cleanup_pipeline branch 5 times, most recently from d64e530 to cc2d8d4 Compare November 4, 2024 02:45
@maximenoel8 maximenoel8 force-pushed the cleanup_pipeline branch 11 times, most recently from b6c62a8 to 86ac92e Compare November 11, 2024 00:30
@maximenoel8 maximenoel8 marked this pull request as ready for review November 13, 2024 02:34
@maximenoel8 maximenoel8 requested a review from a team November 13, 2024 02:38
@maximenoel8 maximenoel8 force-pushed the cleanup_pipeline branch 2 times, most recently from bbddf5c to 9dc36e5 Compare November 13, 2024 05:10
@maximenoel8 maximenoel8 force-pushed the cleanup_pipeline branch 7 times, most recently from 3f2a1bc to e500730 Compare December 10, 2024 21:44
@maximenoel8 maximenoel8 merged commit 16ccaba into SUSE:master Dec 12, 2024
2 checks passed
@maximenoel8 maximenoel8 deleted the cleanup_pipeline branch December 12, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants