Skip to content

Commit

Permalink
ref(15): Start testing wild integration with Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjerome committed Aug 20, 2023
1 parent 9bf8397 commit 1a14308
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions vars/wildPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ def call() {
string pod_init_label = "wild-init-1"
string pod_run_label = "wild-run-1"
def k8s_containers_init = libraryResource('config/k8s/containers-init.yaml')
var k8s_containers_run = null

def colored_xterm = isColoredXterm()
def env_variables_list = [
Expand Down Expand Up @@ -59,18 +60,14 @@ def call() {
sh script: "test/action/test.sh", returnstatus: true
}

//def appConfig = readYaml(file: "${wild_path}/config/containers-config.yaml")
def appConfig = readYaml(file: "${wild_path}/config/containers-config.yaml")
def runContainerNames = ["bash", "maven"]
def runContainerConfig = containerConfig.getContainerConfig(appConfig, runContainerNames)
k8s_containers_run = containerConfig.generateContainerTemplate(runContainerConfig)

stash name: "init", usedefaultexcludes: false
}
}


//def runContainerConfig = containerConfig.getContainerConfig(appConfig, runContainerNames)
//def k8s_containers_run = containerConfig.generateContainerTemplate(runContainerConfig)


}
}

Expand Down

0 comments on commit 1a14308

Please sign in to comment.