Skip to content

Improve error message when the user tries to freeze a Dockerfile to Seqera Containers #723

@itrujnara

Description

@itrujnara

Reproduction

Run the command

wave -f Dockerfile --freeze

with any valid Dockerfile.

The current output is

Wave invalid response: [400] {"message":"Attribute `buildRepository` must be specified when using freeze mode [1]"}

Explanation

The error message does not explain the source of the issue (especially since --freeze works without --build-repository in some use cases).

Proposed solution

Change the error message to the following:

Attribute `buildRepository` must be specified when using freeze mode with a Dockerfile. Only Conda and pip packages can be frozen to Seqera Containers.

or OWTTE.

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