-
Notifications
You must be signed in to change notification settings - Fork 107
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
Split microservices into separate packages #11324
Conversation
Jenkins results:
|
Jenkins results:
|
2b7a3f4
to
01bf2a3
Compare
Jenkins results:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Erik, changes look good to me. I left one comment along the code though.
I think we should stop building reqmgr2ms
for PyPi, even though we still need it for RPMs.
tools/build_pypi_packages.sh
Outdated
@@ -14,7 +14,9 @@ set -x | |||
# package passed as parameter, can be one of PACKAGES or "all" | |||
TOBUILD=$1 | |||
# list of packages that can be built and uploaded to pypi | |||
PACKAGES="wmagent wmagent-devtools wmcore reqmon reqmgr2 reqmgr2ms global-workqueue acdcserver" | |||
PACKAGES="wmagent wmagent-devtools wmcore reqmon reqmgr2 reqmgr2ms global-workqueue acdcserver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should stop building/uploading reqmgr2ms
to PyPi?
Jenkins results:
|
Jenkins results:
|
Thanks @amaltaro, I have removed reqmgr2ms from requirements.txt and the PyPI build script. |
Jenkins results:
|
Jenkins results:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Erik, this looks good to go!
Thanks Erik! |
Fixes #10159
Status
Not tested
Description
This PR updates
build_dependencies.py
, creates a new reqmgr2ms-core system and adds separate packages for all the current microservices.Is it backward compatible (if not, which system it affects?)
Yes, we leave the current
reqmgr2ms
package which is still used for RPM based builds.Related PRs
Follow up to #10357 as I have created a "MSCore" directory and moved MSCore, MSManager and TaskManager modules to it.
External dependencies / deployment changes
We will need to update each microservice's config.py since the path for MSManager has changed.
https://gitlab.cern.ch/cmsweb-k8s/services_config/-/merge_requests/168
https://gitlab.cern.ch/cmsweb-k8s/services_config/-/merge_requests/167
https://gitlab.cern.ch/cmsweb-k8s/services_config/-/merge_requests/166
dmwm/deployment#1192