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

Specify bioviz details in appstore playbooks

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Fall 3 2021 Sep 13 - Sep 24, Fall 4 2021 Sep 27 - Oct 8, Fall 5 2021 Oct 11 - Oct 22, Fall 8 2021 Nov 29 - Dec 10, Fall 9 2021 Dec 13 - Dec 24

      Description

      App Store on startup grabs its menu.html file from the master branch of bioviz web site source code.

      Modify this to allow us to specify the specific branch of the bioviz code we want it to use, or deployed version. Also, document how this works.

        Attachments

          Activity

          Hide
          ann.loraine Ann Loraine added a comment -

          For now, commenting the track hub link in menu.html in bioviz repository.

          cc: Philip Badzuh

          Show
          ann.loraine Ann Loraine added a comment - For now, commenting the track hub link in menu.html in bioviz repository. cc: Philip Badzuh
          Hide
          ann.loraine Ann Loraine added a comment -

          BioViz branch and repository is indicated in settings:

          BIOVIZ_REPOSITORY=
          BIOVIZ_BRANCH=
          

          To fix:

          • Add logic to playbook that configures this - see roles/django_settings/tasks/main.yml

          Currently, deployed appstores are using a default, as indicated by the following text from settings.py:

          # Navigation Bar settings
          BIOVIZ_REPOSITORY = config('BIOVIZ_REPOSITORY', default='https://bitbucket.org/lorainelab/bioviz/')
          BIOVIZ_BRANCH = config('BIOVIZ_BRANCH', default='master')
          BIOVIZ_URL = config('BIOVIZ_URL', default='https://bioviz.org/')
          

          Also, it looks like the example settings ini file has some obsolete code that needs to be removed, such as AWS S3 access key, which is no longer needed because we configure this access on the AWS settings end of things, not using any kind of a password or token or what have you.

          Show
          ann.loraine Ann Loraine added a comment - BioViz branch and repository is indicated in settings: BIOVIZ_REPOSITORY= BIOVIZ_BRANCH= To fix: Add logic to playbook that configures this - see roles/django_settings/tasks/main.yml Currently, deployed appstores are using a default, as indicated by the following text from settings.py: # Navigation Bar settings BIOVIZ_REPOSITORY = config('BIOVIZ_REPOSITORY', default ='https: //bitbucket.org/lorainelab/bioviz/') BIOVIZ_BRANCH = config('BIOVIZ_BRANCH', default ='master') BIOVIZ_URL = config('BIOVIZ_URL', default ='https: //bioviz.org/') Also, it looks like the example settings ini file has some obsolete code that needs to be removed, such as AWS S3 access key, which is no longer needed because we configure this access on the AWS settings end of things, not using any kind of a password or token or what have you.
          Hide
          ann.loraine Ann Loraine added a comment -

          Committed change to settings.ini template - removed obsolete settings and added bioviz settings.

          Show
          ann.loraine Ann Loraine added a comment - Committed change to settings.ini template - removed obsolete settings and added bioviz settings.
          Hide
          ann.loraine Ann Loraine added a comment -

          Running playbooks to create and configure a new app store instance: testappstore1.bioviz.org, IP address 54.237.100.147.
          Playbooks ran without error. Settings file contains above "bioviz" variables.
          Registered domain with DNS.

          Show
          ann.loraine Ann Loraine added a comment - Running playbooks to create and configure a new app store instance: testappstore1.bioviz.org, IP address 54.237.100.147. Playbooks ran without error. Settings file contains above "bioviz" variables. Registered domain with DNS.
          Hide
          ann.loraine Ann Loraine added a comment - - edited

          Test by checking https://testappstore1.bioviz.org.
          It should look similar to https://apps.bioviz.org, with the same apps.
          Move to "Done" if yes.
          If not, make a note of it and return to "To-DO" and re-assign to [~aloraine].

          Show
          ann.loraine Ann Loraine added a comment - - edited Test by checking https://testappstore1.bioviz.org . It should look similar to https://apps.bioviz.org , with the same apps. Move to "Done" if yes. If not, make a note of it and return to "To-DO" and re-assign to [~aloraine] .
          Hide
          omarne Omkar Marne (Inactive) added a comment -

          The testing site https://testappstore1.bioviz.org looks similar to the production site https://apps.bioviz.org. I navigated through all the applications. Everything is same.

          Closing the ticket.

          Show
          omarne Omkar Marne (Inactive) added a comment - The testing site https://testappstore1.bioviz.org looks similar to the production site https://apps.bioviz.org . I navigated through all the applications. Everything is same. Closing the ticket.

            People

            • Assignee:
              ann.loraine Ann Loraine
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: