1. 19 Sep, 2018 2 commits
  2. 18 Sep, 2018 1 commit
  3. 17 Sep, 2018 7 commits
    • 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
  4. 14 Sep, 2018 2 commits
  5. 13 Sep, 2018 1 commit
    • BAIRE Anthony's avatar
      Merge branch... · 55c1d58b
      BAIRE Anthony authored
      Merge branch '228-webappversion-changelog-should-be-renamed-as-webappversion-description' into 'django'
      
      Resolve "WebappVersion.changelog should be renamed as WebappVersion.description"
      
      Closes #228
      
      See merge request !117
      55c1d58b
  6. 12 Sep, 2018 6 commits
  7. 10 Sep, 2018 4 commits
  8. 07 Sep, 2018 2 commits
  9. 06 Sep, 2018 7 commits
  10. 04 Sep, 2018 6 commits
  11. 03 Sep, 2018 2 commits