Skip to content

Commit

Permalink
add preemptible vm and volume snapshot op sample tests (#2149)
Browse files Browse the repository at this point in the history
* add preemptible vm and volume snapshot op sample tests

* add config
  • Loading branch information
gaoning777 authored and k8s-ci-robot committed Sep 18, 2019
1 parent d72411c commit 551b0dc
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/sample-test/configs/default.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

test_name: default_sample_test
test_timeout: 1200
run_pipeline: True
run_pipeline: True
16 changes: 16 additions & 0 deletions test/sample-test/configs/preemptible_tpu_gpu.config.yaml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions test/sample-test/configs/volume_snapshot_ops.config.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions test/sample_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ spec:
- imagepullsecrets
- retry
- artifact_location
- preemptible_tpu_gpu
- volume_snapshot_ops
# Build and push image
- name: build-image-by-dockerfile
inputs:
Expand Down

0 comments on commit 551b0dc

Please sign in to comment.