From 2640d93f1acb1c094770c35b186e7579fe161493 Mon Sep 17 00:00:00 2001 From: Ning Gao Date: Tue, 17 Sep 2019 16:29:31 -0700 Subject: [PATCH 1/2] add preemptible vm and volume snapshot op sample tests --- test/sample-test/configs/default.config.yaml | 2 +- test/sample_test.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/sample-test/configs/default.config.yaml b/test/sample-test/configs/default.config.yaml index 24acd64c005..358c14ea2d9 100644 --- a/test/sample-test/configs/default.config.yaml +++ b/test/sample-test/configs/default.config.yaml @@ -14,4 +14,4 @@ test_name: default_sample_test test_timeout: 1200 -run_pipeline: True \ No newline at end of file +run_pipeline: True diff --git a/test/sample_test.yaml b/test/sample_test.yaml index 57e2401b42a..7c245537ec7 100644 --- a/test/sample_test.yaml +++ b/test/sample_test.yaml @@ -78,6 +78,8 @@ spec: - execution_order - imagepullsecrets - artifact_location + - preemptible_tpu_gpu + - volume_snapshot_ops # Build and push image - name: build-image-by-dockerfile inputs: From d33291a4d2443994cba6a36167d414165d8f2046 Mon Sep 17 00:00:00 2001 From: Ning Gao Date: Tue, 17 Sep 2019 16:30:21 -0700 Subject: [PATCH 2/2] add config --- .../configs/preemptible_tpu_gpu.config.yaml | 16 ++++++++++++++++ .../configs/volume_snapshot_ops.config.yaml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 test/sample-test/configs/preemptible_tpu_gpu.config.yaml create mode 100644 test/sample-test/configs/volume_snapshot_ops.config.yaml diff --git a/test/sample-test/configs/preemptible_tpu_gpu.config.yaml b/test/sample-test/configs/preemptible_tpu_gpu.config.yaml new file mode 100644 index 00000000000..e3d10fc8127 --- /dev/null +++ b/test/sample-test/configs/preemptible_tpu_gpu.config.yaml @@ -0,0 +1,16 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +test_name: preemptible_tpu_gpu +run_pipeline: False diff --git a/test/sample-test/configs/volume_snapshot_ops.config.yaml b/test/sample-test/configs/volume_snapshot_ops.config.yaml new file mode 100644 index 00000000000..001db5b34b8 --- /dev/null +++ b/test/sample-test/configs/volume_snapshot_ops.config.yaml @@ -0,0 +1,16 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +test_name: volume_snapshot_ops +run_pipeline: False