forked from Stratio/kind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
26 lines (24 loc) · 1.12 KB
/
Jenkinsfile
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
@Library('libpipelines') _
hose {
EMAIL = 'eso'
BUILDTOOL = 'make'
DEVTIMEOUT = 30
BUILDTOOL_IMAGE = 'golang:1.19'
VERSIONING_TYPE = 'stratioVersion-3-3'
UPSTREAM_VERSION = '0.17.0'
DEPLOYONPRS = true
GRYPE_TEST = false
BUILDTOOL_INSTALL = 'make'
MODULE_LIST = [ "paas.cloud-provisioner:cloud-provisioner:tar.gz"]
BUILDTOOL_MEMORY_REQUEST = "1024Mi"
BUILDTOOL_MEMORY_LIMIT = "4096Mi"
DEV = { config ->
doPackage(conf: config, parameters: "GOCACHE=/tmp")
doDeploy(conf: config)
doDocker(conf: config)
doAT(conf: config, buildToolOverride: ['BUILDTOOL_IMAGE' : 'qa.int.stratio.com:8443/stratio/kind:%%VERSION', 'BUILDTOOL_PRIVILEGED' : true, 'BUILDTOOL_RUNASUSER' : "0"], configFiles: [[fileId: "Clouds-EKS-yaml", variable: "credentials"]], runOnPR: true)
}
INSTALL = { config ->
doAT(conf: config, buildToolOverride: ['BUILDTOOL_IMAGE' : 'qa.int.stratio.com:8443/stratio/kind:%%VERSION', 'BUILDTOOL_PRIVILEGED' : true, 'BUILDTOOL_RUNASUSER' : "0"], configFiles: [[fileId: "Clouds-EKS-yaml", variable: "credentials"]], runOnPR: true)
}
}