Project

General

Profile

Actions

Bug #19071

open

content not correcty added on file

Added by Fabien C. over 3 years ago. Updated 3 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

I try to manage some docker-compose files with rudder.
I use the directive "file content" with the "enforce content by section"
I have header and footer (with # for docker-compose ignore them) and the content is : 

demo-backend:
image: registry.gitlab.com/some-backend:3.6
volumes:
- "..."
networks:
- demo-network
demo-frontend:
image: registry.gitlab.com/some-frontend:3.6
volumes:
- "..."
ports:
- "8091:80"
networks:
- demo-network
depends_on:
- demo-backend

networks:
demo-network:
driver: bridge

First problem is that the space at the beginning is removed when i save ... and this space is important
Second problem is that some lines are missing after a run. The section "networks: -demo-network" in the demo-frontend service is missing. If I had some char on the lines, they are added. I thing rudder ignore it because those 2 lines are already on the demo-backend section. But i need those lines on two services ....

Actions

Also available in: Atom PDF