Skip to content

Instantly share code, notes, and snippets.

@JoelJWest
Created August 24, 2017 19:37
Show Gist options
  • Save JoelJWest/25bd8bf305f479d93fffe3090fbdcff7 to your computer and use it in GitHub Desktop.
Save JoelJWest/25bd8bf305f479d93fffe3090fbdcff7 to your computer and use it in GitHub Desktop.
# BotGen v1.0
# Joel West and Scott Recker
# This document is written using TOML format.
# For more information visit https://github.com/toml-lang/toml
############################ Required Configurations ############################
#Servers BotGen can connect to
# Use the following format for each server you wish to add:
# [[servers]]
# Name = <#SERVER_NAME#>
# ip-address = <#SERVER_IP_ADDRESS#>
[[servers]]
name = "Bender"
ip-address = "10.4.0.25"
[[servers]]
name = "Flexo"
ip-address = "10.4.0.193"
[[servers]]
name = "Calculon"
ip-address = "10.4.0.14"
[[servers]]
name = "Roberto"
ip-address = "10.4.0.249"
#Bots to create when the "botgen default" is run
# Use the following format for each bot you wish to be created:
# [[bot]]
# bot-name-suffix = "<#BOT_NAME_SUFFIX#>"
# simulators-to-test = ["<#SIMULATOR_NAME#>", "<#SIMULATOR_NAME#>", ...]
# server-to-run-on = "<#SERVER_NAME# OR #IP_ADDRESS#>"
# The new bot's name will begain with the branch under test.
# The branch name is provided as a command argument, or defaults to the current branch
# Example bot name: master_iOS8_iPhone
# To find a list of simulators run the following command:
# botgen simulators -x <#SERVER_NAME# OR #IP_ADDRESS#>
[[bot]]
bot-name-suffix = "iOS9_iPhone"
simulators-to-test = ["iPhone_5[9.3]", "iPhone_5s[9.3]"]
server-to-run-on = "10.4.0.193"
[[bot]]
bot-name-suffix = "iOS9_iPad"
simulators-to-test = ["iPad_2[9.3]", "iPad_Air_2[9.3]"]
server-to-run-on = "Flexo"
[[bot]]
bot-name-suffix = "iOS10_iPhone"
simulators-to-test = ["iPhone_5[10.3.1]", "iPhone_5s[10.3.1]"]
server-to-run-on = "Calculon"
[[bot]]
bot-name-suffix = "iOS10_iPad"
simulators-to-test = ["iPad_Air_2[10.3.1]", "iPad_Retina[10.3.1]"]
server-to-run-on = "Calculon"
[[bot]]
bot-name-suffix = "iOS11"
simulators-to-test = ["iPad_Air_2[11.0]", "iPhone_6[11.0]"]
server-to-run-on = "Bender"
#Project path
# This is required to determine what git branch is currently checked out.
# Many botgen commands default to using the current branch.
# Ex: Creating a new bot with out specifing a branch will create a bot that
# tests the current branch
# If left blank, the present working directory will be used to determine what
# branch to test.
[project-path]
projectPath = ""
#SSH Key locations
# When creating a new bot, Xcode server requires a copy of your public
# and private SSH keys to authenticate to GitHub.
# If you SSH key files are not in the default location,
# the following paths will need to be modified.
[ssh-key-locations]
privateSSHKeyFileLocation = "~/.ssh/id_rsa"
publicSSHKeyFileLocation = "~/.ssh/id_rsa.pub"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment