Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create docker volumes #15

Open
carlosebuenos opened this issue Jun 14, 2018 · 0 comments
Open

Create docker volumes #15

carlosebuenos opened this issue Jun 14, 2018 · 0 comments

Comments

@carlosebuenos
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant