Skip to content

Releases: cms-PdmV/RelMonService2

master-2023-09-21_01-07-41

20 Sep 23:08
Compare
Choose a tag to compare
Bugfix: `ROOT` module, HTCondor and remote modules

For some reason, the execution environment (HTCondor workers) is not able to import the ‘ROOT’ Python module. Therefore, there were issues retrieving the number of events from *.root files. So:

1. Remove the last change and use Python 2 again
2. Remove the use of the `encoding` parameter for Python modules that run in HTCondor to allow Python 2 support again.

master-2023-09-14_01-07-51

13 Sep 23:09
00b0811
Compare
Choose a tag to compare
SSO Migration & Container Deployment (#62)

* Dockerfile

* Refactor: Black formatter

Also include mypy into requirements.txt file

* Remove support for configuration files & Update packages

All the required configuration is now being set as environment variables
Also, packages used are updated

* Include OIDC authentication

Include AuthenticationMiddleware via core_lib

* Configure callback to authenticate using an access token

This configures two modules: `remote_apparatus.py` for requesting an access token
via client credentials grant and `controller.py` to give the required credentials via
environment variables when the job is submitted

* Enable OpenShift container account to create folders into relmons/
for job submission

* Set environment variables into HTCondor config file

Reference: https://htcondor.readthedocs.io/en/latest/man-pages/condor_submit.html

* Bugfix: RelMon validation status

Fix a logic error on /api/update endpoint that impedes the batch job running into HTCondor to update the RelMon status

* Bugfix: Include some extra logging instruction to debug behaviour into HTCondor

* Bugfix: Use the updated version of remote_apparatus.py into HTCondor

Also, update how environment variables are sent to HTCondor into JDS configuration file

* Bugfix: Double quote for wrapping environment variables

* Bugfix: Repository version

Clone directly the specific desired branch

* Bugfix: Repair finished

Remove access token from log file

* Update Pylint workflow

Use Ubuntu 22.04 for the runner and update Python version to 3.11.4

* Update Pylint

Some features the old Pylint version used where removed in Python 3.11
For more details, please see: https://github.com/python/cpython/pull/28618

* Modify Pylint score

* Pylint: Avoid to scan core_lib and venv packages

* Pylint & GitHub Actions

1. Update Pylint configuration (.pylintrc)
2. Raise the acceptance score to 9.75
3. Fix some linting issues: Encoding errors, broad exceptions, etc.
4. Increase the GitHub Action checkout version to 4
5. Disable linting for core_lib and venv packages

* core_lib & Repository version for remote execution

1. Update core_lib to use the version available in PdmVWebCore/master
2. Update `local/file_creator.py` to pull the remote code from `master` instead of `SSOMigrationV2`

master-2023-06-09_13-23-35

09 Jun 11:24
5e8b89b
Compare
Choose a tag to compare
Merge pull request #60 from cms-PdmV/EmailServer

[PDMVDEV-32] Change SMTP server