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

Deploy release candidate branch release-10.1.0 to early access section

    Details

    • Type: Task
    • Status: To-Do (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Update early access version available on the bioviz.org website to be from branch release-10.1.0 instead of branch main.

      For this, need to provide a new parameter in the inventory file being used to update the web site.

        Attachments

          Activity

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

          Revised inventory file by adding a new parameter early_access_branch - see below:

          [targets]
          ubuntubioviz2 ansible_host=52.207.108.150 domain=bioviz.org stack=Prod igb_branch=release-10.0.1 igb_version=10.0.1 igb_major_version=10 igb_repository=https://bitbucket.org/lorainelab/integrated-genome-browser bioviz_repo=https://bitbucket.org/lorainelab/bioviz.git bioviz_version=main hub_facade_domain=translate.bioviz.org maven_domain=maven.bioviz.org early_access_branch=release-10.1.0
          
          [targets:vars]
          ansible_ssh_common_args="-o StrictHostKeyChecking=no"
          ansible_ssh_user=ubuntu
          

          Updated security group to include a rule allowing ssh from my local machine's IP address.

          Then, ran the playbooks with:

          ansible-playbook -i inventory.ini setup.yml
          

          with setup variables defined:

          #
          # Define the following variables to provision and update
          # a BioViz host.
          #
          
          #
          # certificate authority chain file, e.g., Digicert.crt
          # put it in files directory
          #
          ssl_chain_file: STAR_bioviz_org.ca-bundle
          
          #
          # domain private key, e.g., star_mydomain.key
          # put it in files directory
          #
          ssl_cert_key_file: bioviz.org.key
          
          #
          # domain certificate, e.g., star_mydomain.crt
          # put it in files directory
          #
          ssl_cert_file: STAR_bioviz_org.crt
          
          #
          # e.g., 1.1.9
          #
          # See: https://bitbucket.org/lorainelab/genoviz-sdk
          #
          genoviz_version: 1.1.9
          
          Show
          ann.loraine Ann Loraine added a comment - - edited Revised inventory file by adding a new parameter early_access_branch - see below: [targets] ubuntubioviz2 ansible_host=52.207.108.150 domain=bioviz.org stack=Prod igb_branch=release-10.0.1 igb_version=10.0.1 igb_major_version=10 igb_repository=https: //bitbucket.org/lorainelab/integrated-genome-browser bioviz_repo=https://bitbucket.org/lorainelab/bioviz.git bioviz_version=main hub_facade_domain=translate.bioviz.org maven_domain=maven.bioviz.org early_access_branch=release-10.1.0 [targets:vars] ansible_ssh_common_args= "-o StrictHostKeyChecking=no" ansible_ssh_user=ubuntu Updated security group to include a rule allowing ssh from my local machine's IP address. Then, ran the playbooks with: ansible-playbook -i inventory.ini setup.yml with setup variables defined: # # Define the following variables to provision and update # a BioViz host. # # # certificate authority chain file, e.g., Digicert.crt # put it in files directory # ssl_chain_file: STAR_bioviz_org.ca-bundle # # domain private key, e.g., star_mydomain.key # put it in files directory # ssl_cert_key_file: bioviz.org.key # # domain certificate, e.g., star_mydomain.crt # put it in files directory # ssl_cert_file: STAR_bioviz_org.crt # # e.g., 1.1.9 # # See: https: //bitbucket.org/lorainelab/genoviz-sdk # genoviz_version: 1.1.9
          Hide
          ann.loraine Ann Loraine added a comment - - edited

          To test:

          • Visit bioviz.org
          • Follow "early access" links
          • Download and install the early access IGB version
          • Open Help > About IGB
          • Confirm that the version listed there is 10.1.0
          • Confirm that the commit hash listed there is the latest tip of branch release-10.1.0 from https://bitbucket.org/lorainelab/integrated-genome-browser
          Show
          ann.loraine Ann Loraine added a comment - - edited To test: Visit bioviz.org Follow "early access" links Download and install the early access IGB version Open Help > About IGB Confirm that the version listed there is 10.1.0 Confirm that the commit hash listed there is the latest tip of branch release-10.1.0 from https://bitbucket.org/lorainelab/integrated-genome-browser
          Hide
          nfreese Nowlan Freese added a comment -

          Early access download is for the branch "main" with commit id "6ce5a97812" so it doesn't look like the early access has the release-10.1.0 branch. Tested on Mac/Windows/Linux

          Show
          nfreese Nowlan Freese added a comment - Early access download is for the branch "main" with commit id "6ce5a97812" so it doesn't look like the early access has the release-10.1.0 branch. Tested on Mac/Windows/Linux
          Hide
          ann.loraine Ann Loraine added a comment -

          Needed to modify a link in the HTML code. Added new task to bioviz-playbooks:

          - name: Edit bioviz HTML to use correct early access link
            become: yes
            replace:
              regexp: "-main"
              path: "/var/www/{{ domain }}/htdocs/earlyAccessDownload.html"
              replace: "-{{ early_access_branch }}"
          

          Deployed to bioviz.org host.

          Confirmed that file IGB-macos-universal-release-10.1.0.dmg got downloaded when I clicked the early access installation download button.

          Ready for testing.

          Show
          ann.loraine Ann Loraine added a comment - Needed to modify a link in the HTML code. Added new task to bioviz-playbooks: - name: Edit bioviz HTML to use correct early access link become: yes replace: regexp: "-main" path: "/ var /www/{{ domain }}/htdocs/earlyAccessDownload.html" replace: "-{{ early_access_branch }}" Deployed to bioviz.org host. Confirmed that file IGB-macos-universal-release-10.1.0.dmg got downloaded when I clicked the early access installation download button. Ready for testing.
          Hide
          nfreese Nowlan Freese added a comment - - edited

          Tested on Mac - the early access button is now downloading the IGB-macos-universal-release-10.1.0.dmg installer. This does have the release-10.1.0 branch, though the commit id (de7957f0) is behind the release-10.1.0 branch. The only difference is that it is missing a commit fixing a bug in DAS, so I think this is fine for the early access, but we will want to make sure that the official release has the bug fix. On the bitbucket downloads page the correct installer is from October 15 and is called IGB-macos-universal-10.1.0.dmg. It looks like Windows/Linux are also using the older release branch, though again this is fine for the early access.

          Ann Loraine - I think we can close this ticket, as it is perfectly good for early access, but I'm moving it back to to do so you can decide.

          Show
          nfreese Nowlan Freese added a comment - - edited Tested on Mac - the early access button is now downloading the IGB-macos-universal-release-10.1.0.dmg installer. This does have the release-10.1.0 branch, though the commit id (de7957f0) is behind the release-10.1.0 branch . The only difference is that it is missing a commit fixing a bug in DAS, so I think this is fine for the early access, but we will want to make sure that the official release has the bug fix. On the bitbucket downloads page the correct installer is from October 15 and is called IGB-macos-universal-10.1.0.dmg. It looks like Windows/Linux are also using the older release branch, though again this is fine for the early access. Ann Loraine - I think we can close this ticket, as it is perfectly good for early access, but I'm moving it back to to do so you can decide.
          Hide
          ann.loraine Ann Loraine added a comment - - edited

          Thanks for letting me know about the missing commit.

          Update:

          • Running the "build installers for dev" pipeline on branch release-10.1.0
          • Also running the "release" pipeline on branch release-10.1.0

          Probably I should not have run both pipelines. Pipeline "release" does exactly the same thing as "build installers for dev" pipeline plus makes a couple extra files

          Show
          ann.loraine Ann Loraine added a comment - - edited Thanks for letting me know about the missing commit. Update: Running the "build installers for dev" pipeline on branch release-10.1.0 Also running the "release" pipeline on branch release-10.1.0 Probably I should not have run both pipelines. Pipeline "release" does exactly the same thing as "build installers for dev" pipeline plus makes a couple extra files
          Hide
          ann.loraine Ann Loraine added a comment -

          I have deployed the newly built installer to bioviz.org. Please check now. Also, it is now notarized.

          Show
          ann.loraine Ann Loraine added a comment - I have deployed the newly built installer to bioviz.org. Please check now. Also, it is now notarized.
          Hide
          nfreese Nowlan Freese added a comment -

          Ann Loraine - Both Windows and Mac on the early access site are throwing security errors as if they are not signed/notarized. The name of the Windows file is not the same as the file I signed in IGBF-3964, can you check that the new files have been deployed to early access?

          Show
          nfreese Nowlan Freese added a comment - Ann Loraine - Both Windows and Mac on the early access site are throwing security errors as if they are not signed/notarized. The name of the Windows file is not the same as the file I signed in IGBF-3964 , can you check that the new files have been deployed to early access?

            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: