Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step-by-step guide to complete release for mixed v2 and v3 system

  1. Softare Development - Development Branches and Servers
    1. Geodashboard v2
      1. Core
        1. Geodashboard V2 is used for multiple projects
          1. release will be decided by larger group - contacts are Luigi MariniIndira Gutierrez Polo
          2. v2 should be on the most recent version of development branch on project's development server
        2. Project specific configuration
          1. the project specific configuration develop branch should be up to date with all necessary updates
      2. Build
        1. If set up with Puppet, the development server should update automatically to the most recent build
          1. If you need to update manually, shh to the geodashboard developement server

          2. Code Block
            sudo /home/geodashboard/update-geodashboard.sh --force


    2. Geodashboard v3
      1. Software
        1. Each project should have a specific branch of v3 named by project name, which the master branch merged into the configuration 
          1. The master branch should be merged into the project branch which maintains it's specific configuration
      2. Build (local by user)

        1. Code Block
          git clone ssh://git@opensource.ncsa.illinois.edu:7999/geod/geodashboard-v3.git
          cd geodashboard-v3
          checkout <project specific branch name>
          yarn install
          yarn run build


        2. Copy the contents of the build directory of the system's proxy server

          1. check the nginx root directory

          2. Code Block
            more /etc/nginx/sites-enabled/gltg | grep root


            1. this returns the path to the nginx root directory

          3. cd to nginx root directory
          4. there should be a directory call 'gd3' (maybe named something else)
          5. backup the directory

          6. Code Block
            cp -r gd3 gd3_backup


          7. copy the new build files into the gd3 directory (delete the previous of just overwrite)
    3. Clowder 
      1. clowder on dev uses the clowder development branch
      2. should update automatically 
      3. to update manually

        1. Code Block
          sudo /home/clowder/update-clowder.sh --force


    4. TEST THE SITE!!!

  2. Development - Data
    1. Make sure all data is up to date and correct
    2. backup the database 
      1. On the database server:

        Code Block
        sudo -u postgres pg_dump <geostream db name > geostream-backup.sql 


      2. If not sure of the geostream database name, on the clowder server:

        Code Block
        more /home/clowder/clowder/custom/custom.conf | grep postgres.db


    3. Make sure the cache is updated.  If not sure run (this will take a while depending upon how much data there is):

      Code Block
      <host>/clowder/api/geostreams/cache


  3. Softare Production - Production Branches and Servers (after thoroughly testing dev)

    1. Geodashboard
      1. Core - make sure the core master branch is ready
      2. project config
        1. Merge develop into master
      3. All software on production branches need to be updated manually on geodashboard server

        Code Block
        sudo /home/geodashboard/update-geodashboard.sh --force


    2. Clowder
      1. On clowder server

        Code Block
        sudo /home/clowder/update-clowder.sh --force


  4. Production - Data

 

Info

Content by Label
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@215333
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "GEOD"
labelskb-how-to-article

...