Skip to content

Create docker volumes #15

@carlosebuenos

Description

@carlosebuenos

Hello

I had problems creating volumes using cbf2.

Even adding the script "dockerVolumes.sh" in the "config" directory within my project did not obitive success with creating the volumes.

When checking the script "cbf2.sh" I noticed that the method that identifies the project name is causing the failure when the name contains a hyphen character "-".

Line 225
"projectName=$(echo $build | egrep 'pdu-' | cut -d' ' -f 1 | cut -d'-' -f 2)"

This also happens in the example project "horlogery-demo".
The mentioned method identifies the project name as "horlogery" instead of "horlogery-demo" causing the location of the "dockerVolumes.sh" script directory not to be located.

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