File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,4 @@ def main():
88
88
89
89
90
90
if __name__ == "__main__" :
91
- main ()
92
-
93
-
94
-
91
+ main ()
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ function print_controller_logs() {
28
28
}
29
29
30
30
function cleanup {
31
+ # push to metrics to cloudwatch
32
+ echo " Pushing Codebuild stats to Cloudwatch."
33
+ cd $SCRIPTS_DIR
34
+ python push_stats_to_cloudwatch.py
35
+
31
36
echo " Cleaning up resources"
32
37
set +e
33
38
kubectl delete monitoringschedules --all
@@ -63,10 +68,6 @@ function cleanup {
63
68
export PYTHONPATH=..
64
69
python service_cleanup.py
65
70
66
- # push to metrics to cloudwatch
67
- echo " Pushing Codebuild stats to Cloudwatch."
68
- cd $SCRIPTS_DIR
69
- python push_stats_to_cloudwatch.py
70
71
}
71
72
trap cleanup EXIT
72
73
You can’t perform that action at this time.
0 commit comments