Uploaded image for project: 'Atlassian Cloud'
  1. Atlassian Cloud
  2. CLOUD-3744 Non-Gapps JIRA Studio should be installable on both Unicorn and Zeus
  3. CLOUD-4068

Change AAM deployment scripts to copy initial data file to home directory

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Medium
    • Summit Iteration 2, May 2011
    • None
    • None
    • None

    Description

      The AAM deployment scripts replace /data/* with a new directory structure from a template after running ant on a clean deploy. Because of this, the deployment scripts need to be change to copy the init.xml file created by the ant build to /data/jirastudio/home/ after /data/* is replaced. This needs to happen on an upgrade deploy too.

      Something like this:

      # Copy init.xml if it doesn't already exist
      if [ ! -e /data/jirastudio/home/init.xml ] ; then
          echo "Copying init.xml"
          cp /opt/jirastudio/build/current/init.xml /data/jirastudio/home/init.xml
      fi
      

      It's important that the file should not be replaced by the one from the ant build if it already exists, as the trusted apps key pair will have changed.

      Attachments

        Issue Links

          Activity

            People

              shaldane Sam Haldane (Inactive)
              shaldane Sam Haldane (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: