forked from wso2/testgrid-job-configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wso2am-intg-testgrid-yaml
59 lines (58 loc) · 2.39 KB
/
wso2am-intg-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
# TestGrid Test Configuration Parameters
# TODO use dash as the separator instead of camelCase.
version: '0.9'
emailToList: "kasung@wso2.com, pasinduj@wso2.com"
infrastructureConfig:
iacProvider: CLOUDFORMATION
infrastructureProvider: AWS
containerOrchestrationEngine: None
includes:
- ADOPT_OPEN_JDK8
# - OracleJDK-8
- CentOS-7.5
- MySQL-5.7
# - SQLServer-SE-13.00
# - Oracle-SE2-12.1
provisioners:
- name: prod-wso2am-intg-deployment
remoteRepository: "https://github.com/wso2/testgrid"
description: Provision Infra for running intg tests
scripts:
- name: 'prod-wso2am-intg-deployment'
description: ''
type: CLOUDFORMATION
file: jobs/intg-test-resources/wso2-intg-test-cfn.yaml
inputParameters:
parseInfrastructureScript: false
region: us-east-1
DBPassword: "DB_Password"
DBClass: "db.m4.large"
EC2KeyPair: "deployment-prod"
ALBCertificateARN: "arn:aws:acm:us-east-1:809489900555:certificate/2ab5aded-5df1-4549-9f7e-91639ff6634e"
ProductName: "wso2-apim"
scenarioConfigs:
- testType: TESTNG
remoteRepository: "https://github.com/wso2/apim-test-integration.git"
name: integrationtests
description: "integration tests"
file: integrationtests/run-scenario.sh
inputParameters:
PRODUCT_CODE: wso2am
PRODUCT_GIT_URL: "https://github.com/wso2/product-apim"
PRODUCT_DIST_DOWNLOAD_API: https\://wso2.org/jenkins/job/products/job/product-apim_2.x/lastRelease/api/
INFRA_LOCATION: workspace/testgrid"
DEPLOYMENT_LOCATION: workspace/testgrid
SCENARIOS_LOCATION: workspace/apim-test-integration
REMOTE_WORKSPACE_DIR_UNIX: /opt/testgrid/workspace
REMOTE_WORKSPACE_DIR_WINDOWS: c:/testgrid/workspace
SQL_DRIVERS_LOCATION_UNIX: /opt/testgrid/sql-drivers/
SQL_DRIVERS_LOCATION_WINDOWS: /testgrid/sql-drivers
DBUsername: wso2carbon
TEST_MODE: RELEASE
USE_CUSTOM_TESTNG: "FALSE"
WUM_PRODUCT_VERSION: 2.6
WUM_CHANNEL: full
PRODUCT_GIT_BRANCH: "2.x"
LATEST_PRODUCT_RELEASE_API: https\://wso2.org/jenkins/job/products/job/product-apim_2.x/lastRelease/api/
LATEST_PRODUCT_BUILD_ARTIFACTS_API: https://wso2.org/jenkins/job/products/job/product-apim_2.x/lastStableBuild/mavenArtifacts/api/
keyFileLocation: "/testgrid/testgrid-home/testgrid-key.pem"