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

ComposeUp fails when project name contains "{{" symbols #355

Open
mmarusich opened this issue May 3, 2022 · 0 comments
Open

ComposeUp fails when project name contains "{{" symbols #355

mmarusich opened this issue May 3, 2022 · 0 comments

Comments

@mmarusich
Copy link

Hey,

After upgrading plugin from 0.14.+ to latest we faced the issue with composeUp task if projectName contains characters like {{, for example projectName="{{template}}"

During execution exception happens without clear error but we do see that chars being removed and containers actually start but at the end error occurs.

` ./gradlew onlyResourcesComposeUp

Task :onlyResourcesComposeUp FAILED
Container app_rabbit Running
Container redis_db Running
Container app_mock Running
Container app_db Running
"docker inspect" requires at least 1 argument.
See 'docker inspect --help'.

Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...]

Return low-level information on Docker objects

Task :onlyResourcesComposeDownForcedOnFailure
{{template}} Warning: No resource found to remove

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':onlyResourcesComposeUp'.

Exit-code 1 when calling /usr/local/bin/docker, stdout:

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 5s
4 actionable tasks: 4 executed
`

Screen Shot 2022-05-03 at 15 55 40

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

No branches or pull requests

2 participants