As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 45881f17 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #60 from amacarthur/fix-rewrite-hooks

added optional argument so to override default repo location
parents f6e74dee 0d51c4f3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# $1 is an optional argument specifying the location of the repositories directory.
# Defaults to /home/git/repositories if not provided
home_dir="/home/git"
src="$home_dir/repositories"
src=${1:-"$home_dir/repositories"}
for dir in `ls "$src/"`
do
Loading
Loading
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