chore: add current provisioning state before migration
This commit is contained in:
parent
a9703b4748
commit
50745b0f22
660 changed files with 88126 additions and 0 deletions
7
o-klab/wuji/bin/on_deploy_remove
Executable file
7
o-klab/wuji/bin/on_deploy_remove
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
RUN_PATH=$(dirname "$(dirname "$0")")
|
||||
if [ -d "$RUN_PATH/resources/etcdcerts" ] && [ ! -r "$RUN_PATH/resources/etcdcerts/lockfile" ] ; then
|
||||
if rm -rf "$RUN_PATH/resources/etcdcerts" ; then
|
||||
echo "$RUN_PATH/resources/etcdcerts removed"
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue