Characteristics
- Issue Type: [bug]
- Reproducibility: [always]
- Severity: [minor]
- Tool/Service/Component: [Camp all versions]
- Execution Environment: [Ubuntu 16.04]
- Reporter: [mohamed.boussaa@activeeon.com, Mohamed Boussaa]
Description
When generating two configs, it seems that the generated docker-compose file for one of the two generated configs is erroneous.
In the build: parameter of generated compose, the reference to the right dockerfile file is not always correct. It does correctly the changes for one configuration but not for the other.
I had to define the changes manually in camp.yml to make this working as below:
- targets: [ docker-compose.yml ]
pattern: "build: ./springpetclinicMS"
replacements: [ "build: ./images/springpetclinicpg_0" ]
However, I didn't need to define the replacements for the other config as it was correctly generated, defining the right build reference.
Steps to reproduce
-generate 2 configs.
-check if the the build parameter in the generated dokcer-compose files references to the right dockerfile location.
Other files and URLs
Relationships
Preview to follow the link or open file .github/ISSUE_DOC.md
Characteristics
Description
When generating two configs, it seems that the generated docker-compose file for one of the two generated configs is erroneous.
In the
build:parameter of generated compose, the reference to the right dockerfile file is not always correct. It does correctly the changes for one configuration but not for the other.I had to define the changes manually in camp.yml to make this working as below:
However, I didn't need to define the replacements for the other config as it was correctly generated, defining the right build reference.
Steps to reproduce
-generate 2 configs.
-check if the the build parameter in the generated dokcer-compose files references to the right dockerfile location.
Other files and URLs
Relationships
Help on issue template
Preview to follow the link or open file .github/ISSUE_DOC.md