Skip to content

Commit

Permalink
Release: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS committed Jul 28, 2022
1 parent 0f2caea commit fb7ca5b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.0
1.6.1
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,13 @@ phases:
post_build:
on-failure: ABORT
commands:
- export PYTHONPATH="$DEFAULT_PATH/aws-aft-core-framework/sources/aft-lambda-layer:$PYTHONPATH"
- export AWS_PROFILE=aft-management
- python3 $DEFAULT_PATH/aws-aft-core-framework/sources/aft-lambda-layer/aft_common/report_metrics.py --codebuild-name "aft-account-customizations" --codebuild-status $CODEBUILD_BUILD_SUCCEEDING
- unset AWS_PROFILE
- |
if [[ ! -z "$CUSTOMIZATION" ]]; then
export PYTHONPATH="$DEFAULT_PATH/aws-aft-core-framework/sources/aft-lambda-layer:$PYTHONPATH"
export AWS_PROFILE=aft-management
python3 $DEFAULT_PATH/aws-aft-core-framework/sources/aft-lambda-layer/aft_common/report_metrics.py --codebuild-name "aft-account-customizations" --codebuild-status $CODEBUILD_BUILD_SUCCEEDING
unset AWS_PROFILE
fi
- |
if [[ $CODEBUILD_BUILD_SUCCEEDING == 0 ]]; then
exit 1
Expand Down
2 changes: 1 addition & 1 deletion sources/aft-lambda-layer/aft_common/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from datetime import datetime
from typing import Any, Dict, Optional, TypedDict

import requests # type: ignore
import requests
from aft_common import aft_utils as utils
from aft_common.auth import AuthClient
from boto3.session import Session
Expand Down
1 change: 1 addition & 0 deletions sources/aft-lambda-layer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"aws_lambda_powertools == 1.25.9",
"autoflake == 1.4",
"prospector == 1.7.7",
"types-requests == 2.27.5",
]
},
)

0 comments on commit fb7ca5b

Please sign in to comment.