Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you can set up the production server to access the SVN repo via a secure channel, such as https with webdav maybe try the following:</p> <p>Create a script on the Production server that allows you to enter a tag directory and/or revision number/date and perform an svn export. This way, the prod server is pulling the changes from svn.</p> <p>Now, if you have a way to have this script called securely from, say a commit script. Voila, you have automation.</p> <p>Most importantly, you do not want an automatic update performed to the prod server that you were not planning for.</p> <p>To solve this:</p> <p>The commit script should only call the prod update script when something is committed to "/path/to/tags/release/dir"</p> <p>Make sure only appropriate change control staff (or whoever currently controls the manual prod deplyment) have the ability to perform an svn copy to this directory in the repo.</p> <p>For example, say your repo is set up as:</p> <pre><code>/yourWebsite --&gt; /branches --&gt; /trunk --&gt; /tags ----&gt; /releases </code></pre> <p>The commit that would trigger the auto deployment to prod would be something like:</p> <pre><code>svn copy https://mySvnRepo/yourWebSite/trunk \ https://mySvnRepo/yourWebSite/tags/releases/x.y \ -m "Tagging for production deployment" </code></pre> <p>Rolling back can be achieved by making a commit to a previous releases directory. Note however, that this will not cause new files that were added to be rolled back.</p> <p>Of course, your mileage may vary; this is only a suggestion for your <em>investigation</em>. You should take time to consider the security implications and potential for disaster if set up incorrectly.</p> <p>Hope this helps, even if only to get you thinking of other solutions.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload