You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upstream daemon container runs the start-daemons.shscript as ENTRYPOINT.
This command apply patches AND start the daemon.
When using CI (or manually) building new images, one cannot verify the validity of the patches without running the daemon.
For example, while preparing new CMS releases, the build is successful but it fails at runtime because the patches conflict with each other.
See dmwm/CMSRucio#872.
I've added a new envar RUCIO_DAEMON_ONLY_CHECK_PATCHES, that can be used to verify the patches when building the image without impacting the existing runtime patching.
Downstream packagers, can use this environment variable to make sure their builds (incorporating patches) are valid (no conflicts) without having to run the daemons.
Context:
Downstream packagers, like for example in CMS (but probably applies to anyone), we build our own docker images, based on upstream, for example, this is the
rucio-daemons
cms Docker:https://github.com/dmwm/CMSRucio/tree/master/docker/rucio-daemons/Dockerfile.
The upstream daemon container runs the
start-daemons.sh
script as ENTRYPOINT.This command apply patches AND start the daemon.
When using CI (or manually) building new images, one cannot verify the validity of the patches without running the daemon.
For example, while preparing new CMS releases, the build is successful but it fails at runtime because the patches conflict with each other.
See dmwm/CMSRucio#872.
I've added a new envar
RUCIO_DAEMON_ONLY_CHECK_PATCHES
, that can be used to verify the patches when building the image without impacting the existing runtime patching.Downstream packagers, can use this environment variable to make sure their builds (incorporating patches) are valid (no conflicts) without having to run the daemons.
Example for CI, adding an extra step here to verify the patches before pushing the Docker image into repositories:
https://github.com/dmwm/CMSRucio/blob/master/.github/workflows/rucio-release-images.yml#L39
The example below shows the issue:
The text was updated successfully, but these errors were encountered: