Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Return error details when pipelines:setup fails #84

@wadewegner

Description

@wadewegner

(I believe this is related to #83 but manifests and error that is a blocker for pipelines:setup.

When running the pipelines:setup command I got the error:

 ▸    Couldn't create application ⬢ pipelinedeleme-staging: invalid app.json

Digging in, it seems it's because my app.json requires vars that aren't set on the pipeline. Something like:

 "manifest_errors": [
    "config var \"DEV_HUB_SFDX_AUTH_URL\" is required",
    "config var \"SFDX_BUILDPACK_DEBUG\" is required"
  ],

However, that error wasn't exposed to me. I had to get support.

It would be good return the error so the developer knows what needs to be fixed.

As an aside, it appears that there's no way to resolve this with pipelines:setup because I don't have a way to run setup on a pipeline and set of apps that are already configured, and the command itself doesn't expose a way to set these vars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions