Skip to content
Snippets Groups Projects
  • Quentin Duchemin's avatar
    35a4f491
    [docker_test.sh] Do not reset hard after launching testing containers · 35a4f491
    Quentin Duchemin authored
    There is some situations where this is not desirable : docker_test.sh replaces all .picasoft.net with .test.picasoft.net to help testing. If, for example, you have a mounted config.json with a modified URL, and that you reset the repository, the file will be reset inside the container, leading to strange bug, such as the test container trying to connect to the production database. Also, it is really easier to debug the test instance with test values
    Verified
    35a4f491
    History
    [docker_test.sh] Do not reset hard after launching testing containers
    Quentin Duchemin authored
    There is some situations where this is not desirable : docker_test.sh replaces all .picasoft.net with .test.picasoft.net to help testing. If, for example, you have a mounted config.json with a modified URL, and that you reset the repository, the file will be reset inside the container, leading to strange bug, such as the test container trying to connect to the production database. Also, it is really easier to debug the test instance with test values