Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • cameo cameo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CameoCameo
  • cameocameo
  • Issues
  • #16
Closed
Open
Issue created Apr 10, 2017 by yannick legoc@legocOwner

Deployment of a new version of a managed application

  • Solution
    • new set of states for an Application that are independent from the current states: UP_TO_DATE, WAITING_FOR_UPDATE (version is waiting to be installed), UPDATING, ERROR (blocking the application?). We call it the update state.
    • push a new version on a Cameo server. It is a request when processed:
      • application becomes WAITING_FOR_UPDATE immediately
      • the new version data is saved locally and replaces the previous new version if it is not installed yet
      • the server installs it when the application is stopped (option: stop the application immediately)
      • the application has the state UPDATING (new state in the current list)
      • the config file is modified after each installation (to memorize the version number)
        • the server shall not be brutally stopped
        • enable to stop nicely the server
      • default installation: copy file (jar) to install_directory, untar a tar to install_directory
      • or an installation script
      • command line: cmo app1 update app1.jar 1.2.3
    • monitoring notifications:
      • the Cameo server publishes a new status when the version is installed
      • status VERSION value
      • version in the application info
    • class This can access version
Edited Oct 01, 2020 by yannick legoc
Assignee
Assign to
Time tracking