Skip to content

Wrong exit code if apply fails because of wrong parameters #235

@markussiebert

Description

@markussiebert

Hi,

i use stack_master in our gitlab-ci environment a lot. One thing I think is not good is the exit code of the apply command, if there are empty/blanc parameters.

$ bundle exec stack_master apply tst sfn-seec--tst--default--base -y
Executing apply on sfn-seec--tst--default--base in eu-central-1
Stack diff: No changes
**Empty/blank parameters detected, ensure values exist for those parameters. Parameters will be read from the following locations:**
 - /builds/Free4All/SparkleformationPacks/sfn_seec_base/generic/parameters/tst/sfn_seec__tst__default__base.yml
Parameters diff: 
+---
.... my parameters


**No stack found**
$ bundle exec stack_master delete tst sfn-seec--tst--default--base -y
Stack does not exist
Job succeeded

So i think this should fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions