Skip to content

Commit 7bb4475

Browse files
authored
fix: remove setup file in release build gpu test (#194)
1 parent 5b81f42 commit 7bb4475

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

buildspec-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ env:
44
variables:
55
FRAMEWORK_VERSION: '1.13.1'
66
GPU_INSTANCE_TYPE: 'ml.p2.xlarge'
7-
SETUP_CMDS: '#!/bin/bash\npip install --upgrade pip\npip install -U -e .\npip install -U -e .[test]'
87

98
phases:
109
pre_build:
@@ -43,11 +42,10 @@ phases:
4342
- create-key-pair
4443
- launch-ec2-instance --instance-type $instance_type --ami-name dlami-ubuntu
4544

46-
- printf "$SETUP_CMDS" > $SETUP_FILE
4745
- py2_cmd="IGNORE_COVERAGE=- tox -e py36 -- test/integration/local --docker-base-name sagemaker-tensorflow-scriptmode --py-version 2 --framework-version $FRAMEWORK_VERSION --processor gpu"
48-
- remote-test --github-repo $GITHUB_REPO --test-cmd "$py2_cmd" --setup-file $SETUP_FILE
46+
- remote-test --github-repo $GITHUB_REPO --test-cmd "$py2_cmd"
4947
- py3_cmd="IGNORE_COVERAGE=- tox -e py36 -- test/integration/local --docker-base-name sagemaker-tensorflow-scriptmode --framework-version $FRAMEWORK_VERSION --processor gpu"
50-
- remote-test --github-repo $GITHUB_REPO --test-cmd "$py3_cmd" --setup-file $SETUP_FILE
48+
- remote-test --github-repo $GITHUB_REPO --test-cmd "$py3_cmd"
5149

5250
# Publish all images
5351
- python3 scripts/publish_all.py --account $ACCOUNT --region $AWS_DEFAULT_REGION

0 commit comments

Comments
 (0)