wip - jenkins
parent
4f601a8cc0
commit
8525170d76
|
|
@ -37,21 +37,6 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
||||||
stage('terraform init') {
|
|
||||||
steps {
|
|
||||||
container('terraform') {
|
|
||||||
sshagent(credentials: ['sofa-user-automation']) {
|
|
||||||
script {
|
|
||||||
|
|
||||||
sh "cd environments/${CLOUD_PROVIDER}/${AWS_REGION}/${STAGE} "
|
|
||||||
sh "terraform init"
|
|
||||||
sh "terraform fmt"
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue