Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2403

Add crt,redis,rds, mysql,migrate roles to BioViz Connect playbooks

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Spring 9 : 25 May to 8 Jun, Summer 1: 8 Jun - 19 Jun, Summer 2: 22 Jun - 3 Jul, Summer 3: 6 Jul - 17 Jul, Summer 4: 14 Jul - 28 Jul, Summer 5: 3 Aug - 14 Aug, Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep, Fall 2: 28 Sep - 9 Oct, Fall 3: Oct 12 - Oct 23, Fall 4 Oct 26 - Nov 6

      Description

      Add roles to the bioviz-connect playbooks:

      • crt - copy certs, configure ssl
      • redis - configure database
      • rds - create and configure RDS host (if does not already exist)
      • mysql - create and configure mysql database for django
      • migrate - run migrations as needed

        Attachments

          Issue Links

            Activity

            Hide
            ann.loraine Ann Loraine added a comment - - edited

            I advise using the ansible "git" module to pull the latest commit for whatever branch you have deployed.

            A couple things to keep in mind:

            • If there are any edits to version-controlled files in your cloned copy (on the server), then those edits will be lost.
            • If there are files saved in the cloned repo residing on your server that are NOT in the repository, such as something a user uploaded, then those will NOT be lost.

            As an example of how this can work, see the bioviz-playbooks.

            We configured it to let us replace the cloned copy on the server with newer versions, with different branches, with different branches from different repositories, etc.

            You can see how this is working by looking at the "clone" role:

            https://bitbucket.org/lorainelab/bioviz-playbooks/src/master/roles/clone/tasks/main.yml

            Show
            ann.loraine Ann Loraine added a comment - - edited I advise using the ansible "git" module to pull the latest commit for whatever branch you have deployed. A couple things to keep in mind: If there are any edits to version-controlled files in your cloned copy (on the server), then those edits will be lost. If there are files saved in the cloned repo residing on your server that are NOT in the repository, such as something a user uploaded, then those will NOT be lost. As an example of how this can work, see the bioviz-playbooks. We configured it to let us replace the cloned copy on the server with newer versions, with different branches, with different branches from different repositories, etc. You can see how this is working by looking at the "clone" role: https://bitbucket.org/lorainelab/bioviz-playbooks/src/master/roles/clone/tasks/main.yml
            Show
            cdias1 Chester Dias (Inactive) added a comment - PR: https://bitbucket.org/lorainelab/bioviz-connect-playbooks/pull-requests/10/igbf-2403/diff
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged.

            Show
            ann.loraine Ann Loraine added a comment - Merged.
            Hide
            nfreese Nowlan Freese added a comment -

            Need one final apache restart for the site to be functional. There is a final restart in the playbook, but it doesn't seem to be working. Chester is going to come up with a work around.

            Show
            nfreese Nowlan Freese added a comment - Need one final apache restart for the site to be functional. There is a final restart in the playbook, but it doesn't seem to be working. Chester is going to come up with a work around.
            Hide
            nfreese Nowlan Freese added a comment -

            Created IGBF-2571 to address the issue of the final apache restart.

            Closing issue.

            Show
            nfreese Nowlan Freese added a comment - Created IGBF-2571 to address the issue of the final apache restart. Closing issue.

              People

              • Assignee:
                cdias1 Chester Dias (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: