Skip to content

Commit

Permalink
fix: ensure cleandir
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansehgal99 committed Jul 1, 2024
1 parent 2d3806d commit 79e447d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/build-image-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,12 @@ runs:
echo "Creating Kind cluster"
if [[ "${{ inputs.runs_on }}" == "hostname:model-server" ]]; then
# Ensure clean etcd directory for mounting
rm -rf /datadrive/etcd/*
config_file=".github/workflows/kind-cluster/kind.yaml"
else
# Ensure clean etcd directory for mounting
rm -rf /mnt/storage/etcd/*
config_file=".github/workflows/kind-cluster/kind-1es.yaml"
fi
Expand Down

0 comments on commit 79e447d

Please sign in to comment.