| # 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. |
| |
| # a config file used in unittest. |
| lab_name: lab1 |
| host_login_name: lab_user1 |
| owners: |
| - lab_user1 |
| - user1 |
| control_server_url: tfc_url |
| docker_image: lab_docker_image |
| docker_server: docker_server_1 |
| enable_stackdriver: True |
| enable_autoupdate: True |
| enable_ui_update: True |
| operation_mode: ON_PREMISE |
| service_account_json_key_path: path/to/key.json |
| secret_project_id: secret_project_id |
| service_account_key_secret_id: lab_sv_key |
| service_account: sa@project.google.com |
| engprod_api_key: AStringToRepresentApiKey |
| ssh_arg: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -F /path/to/ssh/config -C" |
| |
| cluster_configs: |
| - cluster_name: cluster1 |
| host_login_name: user1 |
| owners: |
| - user1 |
| - user2 |
| tf_global_config_path: path/to/config.xml |
| control_server_url: tfc_url |
| docker_image: gcr.io/dockerized-tradefed/tradefed:golden |
| docker_server: docker_server_2 |
| graceful_shutdown: True |
| shutdown_timeout_sec: 600 |
| enable_stackdriver: True |
| enable_autoupdate: True |
| extra_docker_args: ['--arg1', 'value1'] |
| max_concurrent_update_percentage: 20 |
| tmpfs_configs: |
| - path: /atmpfs |
| size: 1000 |
| - path: /btmpfs |
| host_configs: |
| - hostname: host1 |
| max_local_virtual_devices: 5 |
| extra_docker_args: ['--arg2', 'value2'] |
| tmpfs_configs: |
| - path: /atmpfs |
| size: 2000 |
| mode: '750' |
| - hostname: host2 |
| enable_ui_update: True |
| - hostname: host3 |
| tf_global_config_path: path/to/new/config.xml |
| docker_image: gcr.io/dockerized-tradefed/tradefed:canary |
| docker_server: docker_server_3 |
| |
| - cluster_name: cluster2 |
| tf_global_config_path: path/to/config.xml |
| control_server_url: tfc_control_server_url |
| enable_ui_update: True |
| host_configs: |
| - hostname: host4 |
| - hostname: host5 |