1. 17 Sep, 2018 2 commits
    • 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
    • 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
  2. 14 Sep, 2018 2 commits
  3. 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
  4. 12 Sep, 2018 6 commits
  5. 10 Sep, 2018 4 commits
  6. 07 Sep, 2018 2 commits
  7. 06 Sep, 2018 7 commits
  8. 04 Sep, 2018 6 commits
  9. 03 Sep, 2018 4 commits
  10. 20 Aug, 2018 6 commits