Problem:
This is not a problem per say, but wanted to hear ideas and feedback to understand how we can improve sync time in pulp.
we have a large number of RHEL/CentOS/OEL Repos to sync and while exploring the CLI options in pulp3, we noticed a --background option.
While this can be used to successfully sync the repos in background, wanted to know how we can use this feature in a bash script where we can monitor the progress of the the tasks in background and after its completed, we can run commands to create rpm publications and rpm distributions.
Have you come across such a requirement and if yes, how have you scripted it?
Expected outcome:
Looking for feedback or snippets of code to help achieve sync and monitor of the sync in background
Pulpcore version:
3.14
Pulp plugins installed and their versions:
pulp_rpm
Operating system - distribution and version:
RHEL7
Other relevant data: