Skip to content

scap deploy: broken symlink warning log integration

Sandeeps requested to merge fix-broken-symlink into master

Issue: If config files are not present at /srv/deployment/wdqs/wdqs-cache/revs/$CURRENT_DEPLOY_COMMIT_HASH/.git/config-files/etc/query_service scap will silently "fail" the deploy but not raise an error.

Implement symlink verification and template re-rendering This commit introduces functionality to verify the existence of symlinks and render respective templates to a revision directory if their targets do not exist.

  • Implemented logic to check if symlink exists and if its target exists.
  • If a symlink's target does not exist, the respective template is rendered to the revision directory.
  • Included logging statements.

Bug: T342162

Edited by Sandeeps

Merge request reports