diff options
| author | liqing.wu <liqing.wu@daoclod.io> | 2023-08-16 15:37:41 +0800 |
|---|---|---|
| committer | liqing.wu <liqing.wu@daoclod.io> | 2023-08-16 16:22:33 +0800 |
| commit | 15c5e6ef2e3d86e4cc980e57f765822c2b9e535c (patch) | |
| tree | 6d5e20ca4b65f24d503e39ba745cf539d16dfc29 /hack | |
| parent | Merge pull request #4773 from hellocn9/fix_rule (diff) | |
| download | kubeedge-15c5e6ef2e3d86e4cc980e57f765822c2b9e535c.tar.gz | |
Fix keadm e2e test ci failure
Signed-off-by: liqing.wu <liqing.wu@daoclod.io>
Diffstat (limited to 'hack')
| -rwxr-xr-x | hack/local-up-kubeedge.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hack/local-up-kubeedge.sh b/hack/local-up-kubeedge.sh index 8a5168496..a57eb1088 100755 --- a/hack/local-up-kubeedge.sh +++ b/hack/local-up-kubeedge.sh @@ -60,6 +60,7 @@ function uninstall_kubeedge { # delete data rm -rf /tmp/etc/kubeedge /tmp/var/lib/kubeedge + } # clean up @@ -69,6 +70,8 @@ function cleanup { echo "Running kind: [kind delete cluster ${CLUSTER_CONTEXT}]" kind delete cluster ${CLUSTER_CONTEXT} + + docker system prune -f } if [[ "${ENABLE_DAEMON}" = false ]]; then @@ -186,6 +189,8 @@ function start_edgecore { export CHECK_EDGECORE_ENVIRONMENT="false" nohup sudo -E ${EDGE_BIN} --config=${EDGE_CONFIGFILE} --v=${LOG_LEVEL} > "${EDGECORE_LOG}" 2>&1 & EDGECORE_PID=$! + docker system prune -f + } function check_control_plane_ready { |
