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():
8888
8989
9090if __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() {
2828}
2929
3030function 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+
3136 echo " Cleaning up resources"
3237 set +e
3338 kubectl delete monitoringschedules --all
@@ -63,10 +68,6 @@ function cleanup {
6368 export PYTHONPATH=..
6469 python service_cleanup.py
6570
66- # push to metrics to cloudwatch
67- echo " Pushing Codebuild stats to Cloudwatch."
68- cd $SCRIPTS_DIR
69- python push_stats_to_cloudwatch.py
7071}
7172trap cleanup EXIT
7273
You can’t perform that action at this time.
0 commit comments