File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ phases:
55
55
# build DLC GPU image because the base DLC image is too big and takes too long to build as part of the test
56
56
- python3 setup.py sdist
57
57
- $(aws ecr get-login --registry-ids $DLC_ACCOUNT --no-include-email --region $AWS_DEFAULT_REGION)
58
+ - create-key-pair
58
59
- |
59
60
for FRAMEWORK_VERSION in $FRAMEWORK_VERSIONS;
60
61
do
61
- create-key-pair;
62
62
launch-ec2-instance --instance-type $instance_type --ami-name ami-03e3ef8c92fdb39ad;
63
63
DLC_GPU_TAG="$FRAMEWORK_VERSION-dlc-gpu-$BUILD_ID";
64
64
build_dir="test/container/$FRAMEWORK_VERSION";
@@ -71,8 +71,8 @@ phases:
71
71
execute-command-if-has-matching-changes "$test_cmd" "test/" "src/*.py" "setup.py" "setup.cfg";
72
72
docker system prune --all --force;
73
73
cleanup-gpu-instances;
74
- cleanup-key-pairs;
75
74
done
75
+ - cleanup-key-pairs;
76
76
77
77
# run CPU sagemaker integration tests
78
78
- |
@@ -110,4 +110,4 @@ phases:
110
110
aws ecr batch-delete-image --repository-name $ECR_REPO --region $AWS_DEFAULT_REGION --image-ids imageTag=$DLC_GPU_TAG;
111
111
done
112
112
113
- # - aws ecr batch-delete-image --repository-name $ECR_REPO --region $AWS_DEFAULT_REGION --image-ids imageTag=$DLC_EIA_TAG
113
+ # - aws ecr batch-delete-image --repository-name $ECR_REPO --region $AWS_DEFAULT_REGION --image-ids imageTag=$DLC_EIA_TAG
You can’t perform that action at this time.
0 commit comments