1. 05 Jun, 2019 1 commit
  2. 08 Apr, 2019 1 commit
  3. 25 Mar, 2019 1 commit
    • sebastien letort's avatar
      Pylint integration with pylint-django plugin. · d157e169
      sebastien letort authored
      Note that pylint will store its metrics in the metrics directory, through the PYLINTHOME env variable.
      
      The command to launch "from outside":
      docker exec -i dev-django pylint3 --rcfile=.pylintrc allgo
      d157e169
  4. 07 Mar, 2019 1 commit
  5. 05 Feb, 2019 1 commit
  6. 14 Jan, 2019 1 commit
  7. 27 Sep, 2018 1 commit
  8. 18 Sep, 2018 1 commit
    • BAIRE Anthony's avatar
      run job containers as an ordinary user · 8e55e780
      BAIRE Anthony authored
      The "UID:GID" is configurable in the JOB_USER environment.
      
      This config is the same for all the jobs. In production this has
      to be set to the squashed uid/gid configured in the NFS exports
      so that we can read/write job files.
      8e55e780
  9. 03 Jul, 2018 1 commit
    • BAIRE Anthony's avatar
      allow using network prefixes in ALLGO_ALLOWED_IP_ADMIN · 40c2945a
      BAIRE Anthony authored
      Rationale: in development the ip address of the local machine is not
      easily predictible because when docker creates virtual networks it
      assigns the ip prefixes/addres dynamically by default (and i do not want
      to configure static addresses because of it may interefere and cause
      nasty side-effects if using docker for other projects on the same
      machine)
      
      Now in development we allow admin actions from 0.0.0.0/0 (which means
      all ip addresses)
      
      Note: I used the IPy package (whose purpose is to handle ranges of
      IP addresses)
      40c2945a
  10. 28 Jun, 2018 1 commit
  11. 27 Jun, 2018 1 commit
    • BAIRE Anthony's avatar
      remove the factories · 52a9e3ec
      BAIRE Anthony authored
      Fix #185
      
      - webapps are now located directly at the root of the registry
        (not in the /webapp subdir)
      
      - factories are no longer stored in our registry, we directly reference
        images on the official docker registry
      52a9e3ec
  12. 14 Jun, 2018 5 commits
  13. 13 Jun, 2018 3 commits
  14. 06 Jun, 2018 1 commit
  15. 05 Jun, 2018 3 commits
  16. 25 Apr, 2018 1 commit
  17. 24 Apr, 2018 1 commit
  18. 20 Apr, 2018 1 commit
  19. 19 Apr, 2018 6 commits
    • BAIRE Anthony's avatar
      32a18d1c
    • BAIRE Anthony's avatar
      fix the nginx config · cf0d22dd
      BAIRE Anthony authored
      - install django statics into /var/www at image build time
      - django now on port 8000 (django's default) instead of 4000
      - rename @allgo as @Django in nginx's config to decrease confusion
      - publish port 8080 in docker-compose
      cf0d22dd
    • BAIRE Anthony's avatar
      remove supervisor and allow choosing the http server implementation · b1130481
      BAIRE Anthony authored
      - django is now launch in the foregroud, and its stdout/stderr is now
        the container stdout/stderr
      
      - nginx is now run as a background process, without supervision. A
        HEALTHCHECK CMD is added to monitor the status of nginx (so as to
        a nagios alert in case an hypothetical nginx crash)
      
      - add ALLGO_HTTP_SERVER to select the http server. Default is
       'gunicorn', docker-compose.yml sets it to 'django' for development.
      b1130481
    • BAIRE Anthony's avatar
      rename the token-related env var as ALLGO_TOKEN_XXXXXX · 75371692
      BAIRE Anthony authored
      and define them in config.env with a default value
      75371692
    • BAIRE Anthony's avatar
      formalise the definition, documentation and loading of env variables · 9708c4fb
      BAIRE Anthony authored
      - env variables are defined in 'config/env.py', this includes:
        - their default value
        - their documentation
      
      - the loaded variables are stored as attributes of this module
        (eg: config.env.ALLGO_DEBUG)
      
      - all variables are guaranteed to be set once the module is loaded
        thus, the config.settings just has to use env.ALLGO_XXXXX
      
      - the sphinx documentation of the variables is generated directly
        from the source code
      
      - the plumbing is done by the config.env_loader module (while loads
        the variables, and patches the docstring of the config.env module)
      9708c4fb
    • CAMPION Sebastien's avatar
      fix env variable · 30954aa6
      CAMPION Sebastien authored
      30954aa6
  20. 18 Apr, 2018 1 commit
  21. 16 Apr, 2018 2 commits
  22. 13 Apr, 2018 2 commits
  23. 12 Apr, 2018 2 commits
  24. 11 Apr, 2018 1 commit