sync_template: ignoring infra-template and infra-wazuh-* repos
Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
27a1e3abeb
commit
0f43a86148
|
@ -13,7 +13,8 @@ shift
|
|||
for DIR in $(ls -d ~/work/infra-*); do
|
||||
[[ "${DIR}" =~ .*/infra-role-.*$ ]] && continue
|
||||
[[ "${DIR}" =~ .*/infra-tf-.*$ ]] && continue
|
||||
[[ "${DIR}" =~ .*/infra-(lido|utils|pass)$ ]] && continue
|
||||
[[ "${DIR}" =~ .*/infra-wazuh-.*$ ]] && continue
|
||||
[[ "${DIR}" =~ .*/infra-(lido|utils|pass|template)$ ]] && continue
|
||||
echo '---------------------------------'
|
||||
pushd "${DIR}"
|
||||
git reset
|
||||
|
|
Loading…
Reference in New Issue