Skip to content
Snippets Groups Projects

Various changes to build pipeline

Closed Hannes Heine requested to merge pr1543head into pr1543base
  1. Sep 12, 2019
    • roschaefer's avatar
      Address @mattwr18's review here: · 08244ab4
      roschaefer authored
      https://github.com/Human-Connection/Human-Connection/pull/1543#pullrequestreview-287593264
      
      Thinking about it, I really ask myself why I did not find this solution
      earlier :see_no_evil:
      
      Of course, you don't want to share the generated `buildDir`
      with the host system. If you happen to share the `webapp/` folder,
      simply point NuxtJS to a build directory somewhere else. Easy!
      08244ab4
    • roschaefer's avatar
      Synchronize dockerfiles, fix cypress · bc153ee4
      roschaefer authored
      .. make tippy.js a production dependency (was throwing errors on my
      machine).
      bc153ee4
    • roschaefer's avatar
      Various changes to build pipeline · 10418f06
      roschaefer authored
      * Use `production` docker images for cypress tests. As one of our contributors
      pointed out: It is bad practice to end-to-end test sth. else than the actual
      production images.
      * Have a dedicated `docker-compose.travis-integration.yml` to test
      backend integration tests. The backend *needs* a database when doing
      integration tests. So there is no way around using docker-compose. But
      we could stop using the `build-and-test` stage when we do cypress tests.
      * Remove a couple of unused ports and DRY `docker-compose.override.yml`
      * Build and tag all images first and then run `docker-compose .. up` - I
      hope this will not rebuild the image.
      * Reduce docker image size
      10418f06
Loading