armory / dinghy

Pipelines as code for Spinnaker
Apache License 2.0
31 stars 11 forks source link

fix(pipelineID): create application when use the pipelineID function if application not exist #150

Closed cristhian-castaneda closed 3 years ago

cristhian-castaneda commented 3 years ago

This PR enables Dinghy to avoid user confusion when using pipelineID function.

Context: When users use pipelineID function, the first time they push a dinghyfile, this function tries to retrieve the pipelines that belong application, since the applications do not exist it fails trying to add the pipeline id reference, however, the second time (the application was created) dinghy gets the pipeline id correctly.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.02%) to 53.835% when pulling 1bf81b19f9a4f46a8dd11827af200ba4484db30f on fix/create-application-when-use-the-pipelineID-function-and-application-not-exist into 10b43fe1e978113f271beb317e497d7bac9e8a8a on master.