added files
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import com.meesho.stages.helmGenerator
|
||||
import com.meesho.stages.validateBuTeam
|
||||
|
||||
def call(Map params) {
|
||||
podTemplate(yaml: libraryResource("org/meesho/${env.INFRA_ENV}-pod.yaml")) {
|
||||
node(POD_LABEL) {
|
||||
container('devops-tools') {
|
||||
timestamps {
|
||||
ansiColor('xterm') {
|
||||
env.GITHUB_CRED = 'svc-devops-meesho'
|
||||
// Initialize objects
|
||||
def validateObj = new validateBuTeam()
|
||||
def hemlGenObj = new helmGenerator()
|
||||
|
||||
// validate parameters
|
||||
validateObj.run(params.bu, params.team, params.module)
|
||||
// Create helm file
|
||||
hemlGenObj.run(params)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user