Skip to content

Commit 581375e

Browse files
authored
Merge branch 'master' into master
2 parents c3a5976 + 1ba29db commit 581375e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

buildspec.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ phases:
2020
pre_build:
2121
commands:
2222
- start-dockerd
23-
- ACCOUNT=$(aws sts get-caller-identity --query 'Account' --output text)
23+
- ACCOUNT=$(aws --region $AWS_DEFAULT_REGION sts --endpoint-url https://sts.$AWS_DEFAULT_REGION.amazonaws.com get-caller-identity --query 'Account' --output text)
2424
- PREPROD_IMAGE="$ACCOUNT.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$ECR_REPO"
2525
- PR_NUM=$(echo $CODEBUILD_SOURCE_VERSION | grep -o '[0-9]\+')
2626
- BUILD_ID="$(echo $CODEBUILD_BUILD_ID | sed -e 's/:/-/g')"
@@ -54,7 +54,7 @@ phases:
5454
- build_dir="docker/$FRAMEWORK_VERSION/py$GPU_PY3_VERSION"
5555
- CPU_PY3_TAG="$FRAMEWORK_VERSION-cpu-py3-$BUILD_ID"
5656
- GPU_PY3_TAG="$FRAMEWORK_VERSION-gpu-py3-$BUILD_ID"
57-
- docker build -f "$build_dir/$gpu_dockerfile" --build-arg py_version=3 -t $PREPROD_IMAGE:$CPU_PY3_TAG .
57+
- docker build -f "$build_dir/$cpu_dockerfile" --build-arg py_version=3 -t $PREPROD_IMAGE:$CPU_PY3_TAG .
5858
- docker build -f "$build_dir/$gpu_dockerfile" --build-arg py_version=3 -t $PREPROD_IMAGE:$GPU_PY3_TAG .
5959

6060
# push images to ecr

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def read(fname):
4646
'Programming Language :: Python :: 2.7',
4747
'Programming Language :: Python :: 3.6',
4848
],
49-
install_requires=['numpy==1.16.4', 'Pillow==6.0.0', 'retrying==1.3.3', 'sagemaker-containers==2.5.4',
50-
'six==1.12.0', 'torch==1.2.0', 'requests_mock==1.6.0', 'sagemaker-inference==1.0.1',
49+
install_requires=['numpy==1.16.4', 'Pillow==6.2.0', 'retrying==1.3.3', 'sagemaker-containers==2.5.4',
50+
'six==1.12.0', 'torch==1.2.0', 'requests_mock==1.6.0', 'sagemaker-inference==1.1.0',
5151
'retrying==1.3.3'],
5252
extras_require={
5353
'test': ['boto3==1.9.213', 'coverage==4.5.3', 'docker-compose==1.23.2', 'flake8==3.7.7', 'Flask==1.1.1',

test/conftest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
dir_path = os.path.dirname(os.path.realpath(__file__))
3939

4040
NO_P2_REGIONS = ['ap-east-1', 'ap-northeast-3', 'ap-southeast-2', 'ca-central-1', 'eu-central-1', 'eu-north-1',
41-
'eu-west-2', 'eu-west-3', 'us-west-1', 'sa-east-1']
41+
'eu-west-2', 'eu-west-3', 'us-west-1', 'sa-east-1', 'me-south-1']
4242
NO_P3_REGIONS = ['ap-east-1', 'ap-northeast-3', 'ap-southeast-1', 'ap-southeast-2', 'ap-south-1', 'ca-central-1',
43-
'eu-central-1', 'eu-north-1', 'eu-west-2', 'eu-west-3', 'sa-east-1', 'us-west-1']
43+
'eu-central-1', 'eu-north-1', 'eu-west-2', 'eu-west-3', 'sa-east-1', 'us-west-1', 'me-south-1']
4444

4545

4646
def pytest_addoption(parser):

0 commit comments

Comments
 (0)