Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConfirmApplyPlugin - allow it to be disabled #264

Open
kmanning opened this issue Jul 31, 2020 · 0 comments
Open

ConfirmApplyPlugin - allow it to be disabled #264

kmanning opened this issue Jul 31, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@kmanning
Copy link
Collaborator

This is super dangerous. Is this something we need? Can we make this safer?

@Library(['terraform-pipeline']) _

ConfirmApplyPlugin.disable()
Jenkinsfile.init(this)

def validate = new TerraformValidateStage()
def deployQa = new TerraformEnvironmentStage('qa')
def deployUat = new TerraformEnvironmentStage('uat')
def deployProd = new TerraformEnvironmentStage('prod')

// I'm no longer prompted before applying changes to an environment
validate.then(deployQa)
        .then(deployUat)
        .then(deployProd)
        .build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant