Skip to content

'mu project add service migrations' fails #18

@ajuvercr

Description

@ajuvercr

Running command mu project add service migrations results in "Could not fetch image description. Are you online?".

After looking through mu this is due to globbing in bash when curling at line 194.
Adding -g flag fixes this issue.

Next I was greated with "Could not find image in the repository.", the search results in an empty data array.
This might be a new problem in the backend.
Possible fix:
Change line 177 serivce_image=$4 to service_image=semtech/mu-$4-service
Change line 194 to service_image_description=`curl -gs "https://info.mu.semte.ch/microservice-revisions?filter[:exact:i mage]=$service_image&filter[:exact:version]=$service_tag&page[size]=1"`

(this probably defeats the purpose though?)

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