Skip to content

Commit 00f921d

Browse files
Finalizing tests for release
1 parent d94d40b commit 00f921d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

run_tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ export AWS_SESSION_TOKEN=${sts[2]}
112112
# Smoke test of `sm-ssh` utility
113113
AWS_DEFAULT_REGION=eu-west-1 sm-ssh list
114114
AWS_DEFAULT_REGION=eu-west-2 sm-ssh list
115+
mkdir -p /root/.ssh
116+
cat ssh_config_template.txt >>/root/.ssh/config
117+
ssh -o StrictHostKeyChecking=no sagemaker-ssh-helper.notebook.sagemaker \
118+
python --version
115119

116120
# Run tests
117121
cd tests

tests/test_ide.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
SSH_TEST_IMAGES = [
2929
# 0 - Data Science
3030
('test-data-science', 'ssh-test-ds1-cpu',
31-
'datascience-1.0', 'ml.m5.large', 'Python 3.7.10'),
31+
'datascience-1.0', 'ml.m5.large', '** Deprecated **'),
3232
# 1 - Data Science 2.0
3333
('test-data-science', 'ssh-test-ds2-cpu',
3434
'sagemaker-data-science-38', 'ml.m5.large', 'Python 3.8.18'),
@@ -55,10 +55,10 @@
5555

5656
# 8 - MXNet 1.9 Python 3.8 CPU Optimized
5757
('test-mxnet', 'ssh-test-mx19-cpu',
58-
'mxnet-1.9-cpu-py38-ubuntu20.04-sagemaker-v1.0', 'ml.m5.large', 'Python 3.8.10'),
58+
'mxnet-1.9-cpu-py38-ubuntu20.04-sagemaker-v1.0', 'ml.m5.large', '** Deprecated **'),
5959
# 9 - MXNet 1.9 Python 3.8 GPU Optimized
6060
('test-mxnet', 'ssh-test-mx19-gpu',
61-
'mxnet-1.9-gpu-py38-cu112-ubuntu20.04-sagemaker-v1.0', 'ml.g4dn.xlarge', 'Python 3'),
61+
'mxnet-1.9-gpu-py38-cu112-ubuntu20.04-sagemaker-v1.0', 'ml.g4dn.xlarge', '** Deprecated **'),
6262

6363
# 10 - PyTorch 1.12 Python 3.8 CPU Optimized
6464
('test-pytorch', 'ssh-test-pt112-cpu',

0 commit comments

Comments
 (0)