Skip to content

Instantly share code, notes, and snippets.

@kasunbg
Last active May 23, 2019 12:03
Show Gist options
  • Save kasunbg/331339bfe7ab65bbb2c306151b330419 to your computer and use it in GitHub Desktop.
Save kasunbg/331339bfe7ab65bbb2c306151b330419 to your computer and use it in GitHub Desktop.
Sample testgrid.yaml
#Sample Testgrid deployment / infrastructure.properties file.
#Thu May 23 11:59:20 UTC 2019
DepValue1=12345
TESTGRID_TINKERER_PASSWOR=********
TESTGRID_TINKERER_ENDPOINT=http\://localhost\:8080/deployment-tinkerer/v0.9
BallerinaVersionType=RC
dockerhub_ballerina_scenarios_username=ballerinascenarios
RCLocation=https\://product-dist.ballerina.io/nightly/0.992.0-m2-SNAPSHOT/ballerina-0.992.0-m2-SNAPSHOT.zip
ElasticSearchEndpoint=https\://search-testgrid-dev-********.us-east-1.es.amazonaws.com
IS_TESTGRID=True
dockerhub_ballerina_scenarios_passwor=********
TESTGRID_TINKERER_USERNAME=tguse
TestGroup=DataBackedService
isDebugEnabled=true
# TestGrid per-job configuration file: testgrid.yaml
version: '0.9'
emailToList: "builder@wso2.org"
infrastructureConfig:
includes:
- Ubuntu-18.04
- OracleJDK-8
- OpenJDK-8
- MySQL-5.7
provisioners:
- name: apim-two-node-deployment
remoteRepository: "git@github.com:wso2/aws-apim.git"
remoteBranch: "master"
description: Provision Infra for running scenario tests
scripts:
- name: 'apim-two-node-deployment'
type: CLOUDFORMATION
file: apim/Minimum-HA/apim.yaml
inputParameters:
KeyPairName: "deployment-prod"
CertificateName: "wso2cert"
scenarioConfigs:
- testType: TESTNG
remoteRepository: "https://github.com/wso2/product-apim.git"
remoteBranch: "product-scenarios"
name: "apim-scenarios"
description: "apim-scenarios"
file: product-scenarios/test.sh
# TestGrid per-job configuration file: testgrid.yaml
version: '0.9'
emailToList: "builder@wso2.org"
infrastructureConfig:
provisioners:
- name: apim-two-node-deployment
remoteRepository: "git@github.com:wso2/aws-apim.git"
remoteBranch: "master"
description: Provision Infra for running scenario tests
scripts:
- name: 'apim-two-node-deployment'
type: CLOUDFORMATION
file: apim/Minimum-HA/apim.yaml
inputParameters:
KeyPairName: "deployment-prod"
CertificateName: "wso2cert"
scenarioConfigs:
- testType: TESTNG
remoteRepository: "https://github.com/wso2/product-apim.git"
remoteBranch: "product-scenarios"
name: "apim-scenarios"
description: "apim-scenarios"
file: product-scenarios/test.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment