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

Added some missing switches to apply, init, and plan settings #56

Merged

Conversation

tannerwatson
Copy link
Contributor

Description

  • Added the -input switch to init, plan, apply settings
  • Added the -backend switches to init settings

Related Issue

#55

Motivation and Context

Adds missing switches

How Has This Been Tested?

Wrote unit tests of course, then referenced the dll directly in one of my ADO builds that performs init with the backend disabled for template validation. The build packaged the cake scripts, along with the referenced dll, as an artifact that was then used to deploy to my development environment. During the deployment the init, plan, and apply tasks are executed. The behavior of the build and deployment was identical to manually adding the settings via ArgumentCustomization = args =>

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@nils-a nils-a force-pushed the feature/add_missing_switches branch from c569658 to cac550a Compare May 23, 2024 19:18
@nils-a nils-a linked an issue May 23, 2024 that may be closed by this pull request
@nils-a nils-a added the Feature label May 23, 2024
@nils-a nils-a added this to the 0.12.0 milestone May 23, 2024
Copy link
Contributor

@nils-a nils-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nils-a nils-a merged commit 3959942 into cake-contrib:develop May 23, 2024
3 checks passed
@nils-a
Copy link
Contributor

nils-a commented May 23, 2024

@tannerwatson your changes have been merged, thanks for your contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing Input and Backend Switches In Apply, Init, and Plan settings
2 participants