Skip to content
Snippets Groups Projects
12-06-2021-update-and-harmonize.sh 344 B
Newer Older
Pierre Ozoux's avatar
Pierre Ozoux committed
#!/bin/bash
for folder in `find . -type d | grep -v 'chat\|trash\|temp\|tmp\|pad\|git\|common' | grep 'wombat\|nuage\|partage\|mairie'`;
do
  cd $folder;
  libre update
  export NS=`pwd | rev | cut -d'/' -f 2 | rev`
  kubectl -n $NS delete job update-nc-11-06
  libre apply ../../common/migrations/12-06-2021-harmonize-nc.yml;
  cd ../..;
done