File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,8 @@ echo "INFO: Copy latest dc-app-performance-toolkit folder to the exec env pod"
50
50
start=$( date +%s)
51
51
# tar only app folder, exclude results and util/k8s folder
52
52
tar -czf dcapt.tar.gz -C dc-app-performance-toolkit --exclude results --exclude util/k8s app Dockerfile requirements.txt
53
- kubectl cp --retries 10 dcapt.tar.gz atlassian/" $exec_pod_name " :/dcapt.tar.gz
54
53
kubectl exec -it " $exec_pod_name " -n atlassian -- mkdir /dc-app-performance-toolkit
55
- kubectl exec -it " $exec_pod_name " -n atlassian -- tar -xf /dcapt.tar.gz -C /dc-app-performance-toolkit
54
+ cat dcapt.tar.gz | kubectl exec -i -n atlassian " $exec_pod_name " -- tar xzf - -C /dc-app-performance-toolkit
56
55
rm -rf dcapt.tar.gz
57
56
end=$( date +%s)
58
57
runtime=$(( end- start))
You can’t perform that action at this time.
0 commit comments