1. 24 Sep, 2018 2 commits
  2. 20 Sep, 2018 4 commits
  3. 19 Sep, 2018 14 commits
  4. 18 Sep, 2018 10 commits
  5. 17 Sep, 2018 10 commits
    • BAIRE Anthony's avatar
      38026c69
    • BAIRE Anthony's avatar
      restore /usr/bin/sshd in the toolbox · 39e23d29
      BAIRE Anthony authored
      This partially reverts 607e56fb
      (it is unclear why this symlink was removed).
      
      Without this link we are unable to run the sshd daemon inside
      the sandboxes.
      39e23d29
    • BAIRE Anthony's avatar
      disable direct push/pull in the UI · 15b4af18
      BAIRE Anthony authored
      15b4af18
    • BAIRE Anthony's avatar
      remove WebappVersion.url · ade74d2d
      BAIRE Anthony authored
      (was not used at all)
      ade74d2d
    • BAIRE Anthony's avatar
      add doc about sandbox & version states · b2905227
      BAIRE Anthony authored
      b2905227
    • BAIRE Anthony's avatar
      fix integrity issue · 914e9efc
      BAIRE Anthony authored
      because django sets a foreign key constraint on sandbox_version_id
      we may have issues if it refers to a version we want to delete
      914e9efc
    • BAIRE Anthony's avatar
      77e60e80
    • BAIRE Anthony's avatar
      derive docker tags names from WebappVersion.id · b7b30d3e
      BAIRE Anthony authored
      With this change docker images are no longer
      named as: <Webapp.docker_name>:<WebappVersion.number>
      but       <Webapp.docker_name>:id</WebappVersion.id>
      
      This is only for storage, for the user we still present the image as
      <Webapp.docker_name>:<WebappVersion.number>
      
      There are multiple reasons to do that:
      - this simplifies the controller design, because docker images are no
        longer replaced (once an image is committed with tag, 'id<SOMETHING>'
        it won't be modified anymore) -> thus it is no longer necessary to
        track the image state carefully (when pushing/pulling from/to the
        registry)
      - this prevent reusing dangling images from a removed webapp (because we
        now have a strong guarantee that the image tags are unique)
      - this will avoid nasty race conditions when we implement direct 'push'
        to the registry (because we then assign the new image id before the
        manifest is actually pushed, if a push and commit are done in the same
        time we will keep the latest one, i.e. with the highest id)
      - this will make easy to implement image recovery: we can keep removed
        images in the registry for some time (eg: 1 month) before they are
        really deleted
      
      Note: the REPLACED state is no longer transient (since we now keep the
      replaced images in the db and since we may still have remaining
      job/sandboxes using them). Maybe we can rename it as DELETED when we
      implement #265.
      b7b30d3e
    • BAIRE Anthony's avatar
      fix race condition in the webapp events channel · a2624470
      BAIRE Anthony authored
      we need to keep a reference on the webapp_state (otherwise the
      state is removed immediately from the StatesDict and the condition
      is never notified)
      a2624470
    • BERJON Matthieu's avatar
      Update of templates for job creation · cfa7268c
      BERJON Matthieu authored
      We changed the job creation process (commit #90c7cdd9
      
      ). I forgot to
      update the templates accordingly creating errors. This commit fixes it.
      Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
      cfa7268c