-
Notifications
You must be signed in to change notification settings - Fork 83
/
reference-testgrid.yaml
61 lines (60 loc) · 1.99 KB
/
reference-testgrid.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# A reference TestGrid job configuration. This uses shell scripts all the way.
version: '0.9'
emailToList: "[email protected]"
infrastructureConfig:
iacProvider: CLOUDFORMATION
infrastructureProvider: AWS
containerOrchestrationEngine: None
parameters:
- JDK : ORACLE_JDK8
includes:
- Ubuntu-18.04
- MySQL-5.7
- OracleJDK-8
provisioners:
- name: prod-wso2-ei-scenario-deployment
remoteRepository: "[email protected]:kasunbg/testgrid.git"
remoteBranch: testgrid-job
description: Provision Infra for running intg tests
scripts:
- name: 'Test-Phase-1-Deployment'
description: ''
type: SHELL
phase: CREATE
file: test/integration-tests/src/test/resources/test-phase1/infra.sh
inputParameters:
SampleInfraParam: "Infra Param 1"
FTPUserName: "wso2user"
testgridProvidedParameters:
- user_access_key
- user_secret_access_key
- name: destroy
file: test/integration-tests/src/test/resources/test-phase1/destroy.sh
type: SHELL
phase: DESTROY
deploymentConfig:
deploymentPatterns:
- name: 'deployment'
remoteRepository: "[email protected]:kasunbg/testgrid.git"
remoteBranch: testgrid-job
description: 'dummy'
dir: .
scripts:
- name: 'default'
type: SHELL
file: test/integration-tests/src/test/resources/test-phase1/deploy.sh
inputParameters:
MyInputParam: "Deploy Param 1"
testgridProvidedParameters:
- customParamDep
- customParam
scenarioConfigs:
- testType: TESTNG
remoteRepository: "[email protected]:kasunbg/testgrid.git"
remoteBranch: testgrid-job
name: "Test-Phase-1"
description: "Test-Phase-1"
file: test/integration-tests/src/test/resources/test-phase1/test.sh
inputParameters:
ProductVersion: "ei-6.4.0"
RemoteProductDir: "/usr/lib/wso2/wso2ei/6.4.0/wso2ei-6.4.0"