Skip to content

Commit

Permalink
Update Jenkinsfile (#1090)
Browse files Browse the repository at this point in the history
  • Loading branch information
valeraBr authored Jul 9, 2023
1 parent 4c50670 commit 769dcd4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ node {
sh "rm -rf memphis-k8s"
dir ('memphis-k8s'){
git credentialsId: 'main-github', url: '[email protected]:memphisdev/memphis-k8s.git', branch: gitBranch
sh "helm install memphis-tests memphis --set analytics='false',teston='cp' --create-namespace --namespace memphis-$unique_id --wait"
sh """
helm install memphis-tests memphis --set memphis.extraEnvironmentVars.enabled=true,teston='cp' --set-json 'memphis.extraEnvironmentVars.vars=[{"name":"ENV","value":"staging"}]' --create-namespace --namespace memphis-$unique_id --wait
"""
}
}

Expand Down Expand Up @@ -152,7 +154,9 @@ node {
"""
dir ('memphis-k8s'){
git credentialsId: 'main-github', url: '[email protected]:memphisdev/memphis-k8s.git', branch: gitBranch
sh 'helm install my-memphis memphis --set analytics="false",global.cluster.enabled="true",exporter.enabled="true",websocket.tls.cert="tls.crt",websocket.tls.key="tls.key",websocket.tls.secret.name="ws-tls-certs" --create-namespace --namespace memphis --wait'
sh """
helm install my-memphis memphis --set memphis.extraEnvironmentVars.enabled=true,global.cluster.enabled="true",exporter.enabled="true",websocket.tls.cert="tls.crt",websocket.tls.key="tls.key",websocket.tls.secret.name="ws-tls-certs" --set-json 'memphis.extraEnvironmentVars.vars=[{"name":"ENV","value":"staging"}]' --create-namespace --namespace memphis --wait
"""
}
sh "rm -rf memphis-k8s"
}
Expand Down

0 comments on commit 769dcd4

Please sign in to comment.