Commit 8b2832ac authored by Vasyl Leskiv [SLB]'s avatar Vasyl Leskiv [SLB]
Browse files

Added cleaning up for manifests in the folder generated

parent ea3580ab
...@@ -62,6 +62,7 @@ steps: ...@@ -62,6 +62,7 @@ steps:
function git_commit() { function git_commit() {
echo "COPY YAML FILES FROM $GITOPS_MANIFEST_DIRECTORY..." echo "COPY YAML FILES FROM $GITOPS_MANIFEST_DIRECTORY..."
[ -d ./$GENERATION_PATH/$SERVICE_NAME ] && rm -rf ./$GENERATION_PATH/$SERVICE_NAME/*
cp -rf $GITOPS_MANIFEST_DIRECTORY . cp -rf $GITOPS_MANIFEST_DIRECTORY .
echo "SKIP DEPLOY: $SKIP_DEPLOY, HLD-REG: $HLD_REG_PATH" echo "SKIP DEPLOY: $SKIP_DEPLOY, HLD-REG: $HLD_REG_PATH"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment