sync_template: ignoring infra-template and infra-wazuh-* repos

Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
Alexis Pentori 2024-09-26 11:53:33 +02:00
parent 27a1e3abeb
commit 0f43a86148
No known key found for this signature in database
GPG Key ID: 65250D2801E47A10
1 changed files with 2 additions and 1 deletions

View File

@ -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