Skip to content
Snippets Groups Projects
Commit 660def70 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Remove git diff step

parent db39a688
No related branches found
No related tags found
6 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!51Fix acct create wait,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!21Feat git commit agent
...@@ -73,8 +73,6 @@ def git_commit(ch, method, properties, body): ...@@ -73,8 +73,6 @@ def git_commit(ch, method, properties, body):
ldapsearch('-LLL', '-x', '-h', 'ldapserver', '-b', "'ou=Group,dc=cm,dc=cluster'", f"cn={username}", _out=ldif_g) ldapsearch('-LLL', '-x', '-h', 'ldapserver', '-b', "'ou=Group,dc=cm,dc=cluster'", f"cn={username}", _out=ldif_g)
logger.info('user ldif files generated.') logger.info('user ldif files generated.')
logger.debug('git diff')
git.diff()
logger.debug('git add %s', user_ldif) logger.debug('git add %s', user_ldif)
git.add(user_ldif) git.add(user_ldif)
logger.debug('git add %s', group_ldif) logger.debug('git add %s', group_ldif)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment