这是indexloc提供的服务,不要输入任何密码
Skip to content

cli: cli-migrations image fails if actions files are not present #4670

@shahidhk

Description

@shahidhk

CLI migrations v2 image throws an error if the metadata directory does not contain actions.graphql, even though there are no actions in the project

I don't get the actions files when I export the metadata

metrics_1        | time="2020-05-05T06:39:18Z" level=fatal msg="failed to apply metadata: cannot apply metadata on the database: cannot build actions from metadata: error in reading actions.graphql file: open /tmp/hasura-project/metadata/actions.graphql: no such file or directory"

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/cliRelated to CLIk/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions