Closed novicecpp closed 3 weeks ago
about TaskWorker data files, current situation is surely not satisfactory, there are duplications and possibly extra stuff which we should cleanup. I agree to take a bit of time to review and simplify. Maybe we can build the tarballs when the container start ? All in all he current updateTMRuntime.sh
takes only a couple seconds to run. And surely htcondor_make_runtime.sh
is heavily dependent on the specifics of the installation via rpm's and should be heavily simplified.
Today, Alan asked me about what we are relying on current DMWM Jenkins because they need to migrate OS that use by the tools in Jenkins away from CC7.
Main problem for us is RPM build, the comp_gcc630 will not work anymore because it is native to CC7 and need to be migrated.
This mean,
need to be ready before June this year.
Another service/job we rely on is pylint/pycodestyle, but this is just Python process and can be install easily via pip.
if disaster happens, we should be able to start a CC7 container in the new Jenkins node and run the build that. But hopefully migration to PyPI can be completed :-)
New PyPI images are now in production thanks to @aspiringmind-code and @mapellidario.
Still need to do Build from WMCore private repository.
before I can close this issue.
But put it on hold until https://github.com/dmwm/CRABServer/issues/8522 done (avoid conflicts in Dockerfile).
Now, all tasks are done. I can close this issue!! Thank you very much @belforte @mapellidario
thank you @novicecpp !!! surely it was more work than it seemed at the time. But you tamed the beast !
Plan for PyPI
Goal: move POC to Production
./start.sh -g
https://github.com/dmwm/CRABServer/issues/8253- [ ] Replace python-ldap with CRICMove to https://github.com/dmwm/CRABServer/issues/8439[ ] Move gfal miniconda to our Dockerfile and install gfal2-utilNo need to do it for now.-Rework TaskWorker data files, move everything toNext improvement.setup.py
.[ ] This part will take a lot of time, at least 2 weeks. I still do not know how to do it.[ ] Also, deprecatingCRABTASKWORKER_ROOT
and put data files inside package.[ ] (optional) packaging crab code ready to install viaToo low priority.pip
.[ ] (optional) build on alma9Too low priorityPlan for CI
Move to #8267.
Sorry, I still cannot provide a clear path for what I will do with CI.The high-level goals are to eliminate manual intervention, shorten feedback time, and make it easy to maintain.I plan to switch from Jenkins to gitlab-ci which provides a declarative pipeline and makes it easy to write configurations, in exchange for extra maintenance.I believe gitlab-ci has better practice and can do fast POC (and I am more familiar with it) compared to Jenkins. Even if the new CI does not get approved, I can apply those practices that "work" back into Jenkins.I will start with the new PyPI CI from the "Plan for Pypi" above as a prototype.After getting more experience, there is a long list of "CI wishlist" in https://github.com/dmwm/CRABServer/issues/7958 that needs to be done.