<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Waldo,</p>
<p>You have several approaches for synchronizing different Rudder
environments. The most commonly used rely on the underlying git
which archive all configurations (in
/var/rudder/configuration-repository). Options are:<br>
</p>
<ul>
<li>Set all the configurations in the Dev environment only, and
force synchronize it to the QA and Prod environments: with this
approach, you have 3 Rudder Servers, *in exactly the same
version*, and prohibit any changes of configuration in QA &
Prod. When you are happy with configuration in Dev environment,
you manually promote it through git to the QA server, and load
the configuration from git (like in
<a class="moz-txt-link-freetext" href="https://docs.rudder.io/reference/5.0/administration/server.html#_importing_configuration">https://docs.rudder.io/reference/5.0/administration/server.html#_importing_configuration</a>).</li>
<ul>
<li>The main issue with this approach is that you can't do
changes in QA or Prod, and when you want to promote
configurations to QA, you need to make sure that nobody are
doing any changes on the Dev Rudder<br>
</li>
</ul>
<li>Cherry pick the configuration from Dev to import them in QA.
All modifications of Groups, Directives, Rules and Techniques
are stored in git, they can be tracked, and you can pick them by
importing them in the QA & Prod environment. This is a
fine-grained approach.</li>
<ul>
<li>Here, detecting possible dependencies can be tricky: you'll
need to cherry-pick also Directives that are within a Rule for
instance. But since it is in a "human-readable" (understand:
XML) format, you can use diff, or even better meld to see
differences.</li>
</ul>
</ul>
<p>You can also use the API (see documentation
<a class="moz-txt-link-freetext" href="https://docs.rudder.io/api/">https://docs.rudder.io/api/</a> ) to synchronize between environments
- GET on the DEV, POST on the QA - which is probably the most
convenient way to do.</p>
<p>Does it help you to see how to do it?<br>
</p>
<div class="moz-signature">Nicolas<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-cite-prefix">Le 20/11/2018 à 09:35, Waldo Delport a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:DB5PR05MB18934FFB3D85A1E27159BF19E0D90@DB5PR05MB1893.eurprd05.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are planning to use Rudder and really
like the tool. The problem we are experiencing is with
multi-environment.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We want segregated dev, QA and prod
environments. With this in mind we cannot have a single server
serving all three enviroments, the configuration eends to
follow the dev,qa and prod route. Where once tested on QA we
can move it to prod. How can we do this on Rudder?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoTableGrid"
style="width:616.4pt;border-collapse:collapse;border:none"
width="822" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td rowspan="5" style="border:none;border-right:solid
#323E4F 2.25pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal"><img
style="width:3.1875in;height:1.2604in"
id="Picture_x0020_25"
src="cid:part1.EEFE067C.9A18D531@normation.com"
class="" width="306" height="121"><o:p></o:p></p>
</td>
<td colspan="3"
style="width:375.65pt;border:none;padding:0cm 5.4pt 0cm
5.4pt" width="501">
<p class="MsoNormal"><b><span
style="font-size:20.0pt;color:#323E4F">Waldo
Delport<o:p></o:p></span></b></p>
</td>
</tr>
<tr>
<td colspan="3"
style="width:375.65pt;border:none;padding:0cm 5.4pt 0cm
5.4pt" width="501">
<p class="MsoNormal"><b><span
style="font-size:14.0pt;color:#4E9C73">Group HOD:
Development<o:p></o:p></span></b></p>
</td>
</tr>
<tr>
<td colspan="3"
style="width:375.65pt;border:none;padding:0cm 5.4pt 0cm
5.4pt" width="501" valign="top">
<p class="MsoNormal"><span
style="font-family:"Calibri
Light",sans-serif"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="height:19.7pt">
<td style="border:none;padding:0cm 5.4pt 0cm
5.4pt;height:19.7pt" valign="top">
<p class="MsoNormal"><img
style="width:.177in;height:.177in"
id="Picture_x0020_26"
src="cid:part2.91F52E7B.B510E7D3@normation.com"
alt="A close up of a logo

Description
generated with high confidence" class="" width="17"
height="17"><o:p></o:p></p>
</td>
<td style="width:123.1pt;padding:0cm 5.4pt 0cm
5.4pt;height:19.7pt" width="164" valign="top">
<p class="MsoNormal" style="text-align:justify"><span
style="color:#323E4F" lang="EN-US">+27 (0)12 111
7000
<o:p></o:p></span></p>
</td>
<td style="border:none;padding:0cm 0cm 0cm 0cm"
width="302">
<p class="MsoNormal"> </p>
</td>
</tr>
<tr style="height:18.65pt">
<td style="border:none;padding:0cm 5.4pt 0cm
5.4pt;height:18.65pt" valign="top">
<p class="MsoNormal"><img
style="width:.1979in;height:.1979in"
id="Picture_x0020_27"
src="cid:part3.EBB6D87A.26E6FD04@normation.com"
class="" width="19" height="19"><o:p></o:p></p>
</td>
<td style="width:123.1pt;padding:0cm 5.4pt 0cm
5.4pt;height:18.65pt" width="164" valign="top">
<p class="MsoNormal" style="text-align:justify"><span
style="color:#323E4F" lang="EN-US">+27 (0)82 567
7220<o:p></o:p></span></p>
</td>
<td style="border:none;padding:0cm 0cm 0cm 0cm"
width="302">
<p class="MsoNormal"> </p>
</td>
</tr>
<tr style="height:22.45pt">
<td style="border:none;border-right:solid #323E4F
2.25pt;padding:0cm 5.4pt 0cm 5.4pt;height:22.45pt"
valign="top">
<p class="MsoNormal"><o:p> </o:p></p>
</td>
<td style="border:none;padding:0cm 5.4pt 0cm
5.4pt;height:22.45pt" valign="top">
<p class="MsoNormal"><img
style="width:.177in;height:.177in"
id="Picture_x0020_20"
src="cid:part4.05B52B5C.A3C9E620@normation.com"
alt="A close up of a logo

Description
generated with high confidence" class="" width="17"
height="17"><o:p></o:p></p>
</td>
<td style="width:123.1pt;padding:0cm 5.4pt 0cm
5.4pt;height:22.45pt" width="164" valign="top">
<p class="MsoNormal" style="text-align:justify"><span
style="color:#323E4F"><a class="moz-txt-link-abbreviated" href="mailto:waldod@pqfgroup.co.za">waldod@pqfgroup.co.za</a></span><span
style="color:#323E4F" lang="EN-US"><o:p></o:p></span></p>
</td>
<td style="border:none;padding:0cm 0cm 0cm 0cm"
width="302">
<p class="MsoNormal"> </p>
</td>
</tr>
<tr style="height:64.85pt">
<td style="border:none;border-right:solid #323E4F
2.25pt;padding:0cm 5.4pt 0cm 5.4pt;height:64.85pt"
valign="top">
<p class="MsoNormal"><img
style="width:3.0729in;height:.8437in"
id="Picture_x0020_28"
src="cid:part5.015A4565.E5293609@normation.com"
class="" width="295" height="81"><o:p></o:p></p>
</td>
<td colspan="3"
style="width:375.65pt;border:none;padding:0cm 5.4pt 0cm
5.4pt;height:64.85pt" width="501" valign="top">
<p class="MsoNormal" style="text-align:justify"><span
style="font-size:8.0pt;color:#323E4F" lang="EN-US">This
message and any attachments and or links are
confidential and intended solely for the addressee.
If you have received this message in error, please
notify PQF Group Services (Pty) Ltd immediately,
e-mail </span><a href="mailto:info@pqfgroup.co.za"
moz-do-not-send="true"><span
style="font-size:8.0pt;color:#323E4F;mso-fareast-language:EN-ZA"
lang="EN-US">info@pqfgroup.co.za</span></a><span
style="font-size:8.0pt;color:#323E4F" lang="EN-US">
. Any unauthorized use; alteration or dissemination
of the contents of this email is strictly
prohibited. In no event will PQF Group Services
(Pty) Ltd or the sender be liable in any manner
whatsoever to any person for any loss or any direct,
indirect, special or consequential damages arising
from use of this email or any linked website,
including, without limitation, from any lost
profits, business interruption, loss of programs or
other data that may be stored on any information
handling system or otherwise from any assurance that
this email is virus free even if PQF Group Services
(Pty) Ltd is expressly advised of the possibility of
such damages.</span><span style="color:#323E4F"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:EN-ZA"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">
_______________________________________________
rudder-users mailing list
FAQ: <a class="moz-txt-link-freetext" href="https://faq.rudder.io/">https://faq.rudder.io/</a>
Bug Tracker: <a class="moz-txt-link-freetext" href="https://issues.rudder.io/">https://issues.rudder.io/</a>
<a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a class="moz-txt-link-freetext" href="https://www.rudder-project.org/mailman/listinfo/rudder-users">https://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
</blockquote>
</body>
</html>