Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • allgo allgo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 82
    • Issues 82
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • allgo
  • allgoallgo
  • Merge requests
  • !136

Merged
Created Sep 24, 2018 by BAIRE Anthony@abaireOwner

Resolve "feature: import projects from the previous allgo instance"

  • Overview 0
  • Commits 3
  • Pipelines 2
  • Changes 14

Closes #253 (closed)

Allow importing a webapp from a legacy allgo instance

This PR adds two views:

  • WebappImport for importing the webapp (but without the versions). The import is allowed if the requesting user has the same email as the owner of the imported app. The webapp is created with imported=True, which enables the WebappVersionImport view

  • WebappVersionImport for requisting the import of webapp version. This only creates the WebappVersion entry with state=IMPORT (the actual import is performed by the controller)

A version may be imported multiple times. In that case, the newly imported version overwrite the local version with the same number.

This features requires:

  • that the rails server implements !138 (merged)
  • that the docker daemon hosting the sandboxes is configured with credentials for pulling from the legacy registry

Note it also apply two model changes

  • make Webapp created with sandbox_state=IDLE by default
  • make Webapp<->WebappParameter a one-to-many relationship
Edited Sep 26, 2018 by BAIRE Anthony
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 253-feature-import-projects-from-the-previous-allgo-instance