forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
62 lines (54 loc) · 2.28 KB
/
Jenkinsfile
File metadata and controls
62 lines (54 loc) · 2.28 KB
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
62
@Library('libpipelines@master') _
hose {
MAIL = 'support'
SLACKTEAM = 'stratiosecurity'
MODULE = 'stratio-spark'
REPOSITORY = 'spark'
DEVTIMEOUT = 300
RELEASETIMEOUT = 200
BUILDTOOLVERSION = '3.5.0'
PKGMODULESNAMES = ['stratio-spark']
DEV = { config ->
doPackage(config)
doUT(config)
parallel(DOCKER1: {
doDocker(conf: config, dockerfile:"DockerfileDispatcher")
},DOCKER2: {
doDocker(conf: config, dockerfile:"DockerfileDriver", image:"spark-stratio-driver")
}, DEPLOY: {
doDeploy(config)
}, DOCKER3: {
doDocker(conf: config, dockerfile:"DockerfileHistory", image:"spark-stratio-history-server")
}, failFast: config.FAILFAST)
}
INSTALLSERVICES = [
['DCOSCLI': ['image': 'stratio/dcos-cli:0.4.15-SNAPSHOT',
'volumes': ['stratio/paasintegrationpem:0.1.0'],
'env': ['DCOS_IP=10.200.0.156',
'SSL=true',
'SSH=true',
'TOKEN_AUTHENTICATION=true',
'DCOS_USER=admin@demo.stratio.com',
'DCOS_PASSWORD=1234',
'BOOTSTRAP_USER=operador',
'PEM_FILE_PATH=/paascerts/PaasIntegration.pem'],
'sleep': 10]]
]
INSTALLPARAMETERS = """
| -DDCOS_CLI_HOST=%%DCOSCLI#0
| -DDCOS_IP=10.200.0.156
| -DPEM_PATH=/paascerts/PaasIntegration.pem
| -DBOOTSTRAP_IP=10.200.0.155
| -DSPARK_DOCKER_IMAGE=qa.stratio.com/stratio/stratio-spark
| -DSTRATIO_SPARK_VERSION=%%VERSION
| -DCLUSTER_ID=nightly
| -DSPARK_COVERAGE_IMAGE=qa.stratio.com/stratio/stratio-spark-coverage
| -DCOVERAGE_VERSION=0.2.0-SNAPSHOT
| -DSPARK_FW_NAME=spark-fw
| -DPOSTGRES_INSTANCE=pg-0001-postgrestls.service.paas.labs.stratio.com:5432/postgres
| """.stripMargin().stripIndent()
INSTALL = { config, params ->
def ENVIRONMENTMAP = stringToMap(params.ENVIRONMENT)
doAT(conf: config)
}
}