Skip to content

Test script can corrupt application source-code from test container #82

@aramalipoor

Description

@aramalipoor

Currently test container is running on the same volume as staging container with a read-write permission.

This can cause trouble if the developer accidentally/on-purpose tries to change the source code from test script.

  • We can set read-only option on mounted volume on test container but I think it would prevent the application from working (e.g. Cannot create cache/logs).
  • Another solution would be to copy all of the source code on a temporary directory which causes a very slow performance on big codebases (> 1GB).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions