Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
j-bauer committed Apr 3, 2024
1 parent c97ade7 commit 6912ba2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions misc/datahub-hooks.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
#!/bin/bash
#
# This script relies on an external configuration file named
# 'datahub-secrets.include' to function properly. This file
# must be mounted within the datahub docker container under
# '/etc/gitlab/datahub-secrest.include' for this script to be
# able to read it.
#
# If that file is missing the script will do basically nothing.
#
# You can activate more logging output using the HOOK_DEBUG
# variable defined in the secrets file. HOOK_DEBUG set to 1
# will log all the commands being executed within a file.
# You can change the value on-the-fly as it is read everytime
# this scripts executes without the need to restart the docker
# container.
#
# *IMPORTANT NOTE*: If debug logging is active, API tokens will
# be printed as part of the commands within the logfile.
# Be careful who you send this log to avoid credentials leaks!


authenticated_request() {
Expand Down

0 comments on commit 6912ba2

Please sign in to comment.