<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/16/2016 07:52 AM, Tristan
Cacqueray wrote:<br>
</div>
<blockquote
cite="mid:5ea29860-e9a0-b75f-12d8-4aa9c99ff9dc@redhat.com"
type="cite">
<pre wrap="">Hello folks,
here is a break down of the shell scripts in SF code base:
A) Image building
* Build cache
* Build image
* Logic to know when to build cache or image
B) Functional test runner
* Call image building
* Deploy image
* Do action such as turn off/turn on, run backup, ...
C) Configuration script (sfconfig.sh)
* Generate secrets
* Generate playbook/inventory
* Call configuration playbook
D) Generated script by sfconfig (/root/*.sh)
* Create user
* Set acls
E) Random scripts such as build doc, publish and fetch image
It seems like each of above point could be replaced by a better tool:
A) Use DIB</pre>
</blockquote>
<br>
I agree with that point, but what about the upgrade process with
only an image build with DIB instead edeploy ? Not sure will be able
to use the same upgrade path.<br>
<blockquote
cite="mid:5ea29860-e9a0-b75f-12d8-4aa9c99ff9dc@redhat.com"
type="cite">
<pre wrap="">
B and E) Rewrite in Ansible playbooks (which is more zuulV3 friendly)</pre>
</blockquote>
<br>
+1<br>
<blockquote
cite="mid:5ea29860-e9a0-b75f-12d8-4aa9c99ff9dc@redhat.com"
type="cite">
<pre wrap="">
C) A python based script that would subprocess ansible commands</pre>
</blockquote>
<br>
Why do not use only ansible ? What is the benefit to use a python
script ?<br>
<br>
Nico<br>
<blockquote
cite="mid:5ea29860-e9a0-b75f-12d8-4aa9c99ff9dc@redhat.com"
type="cite">
<pre wrap="">
D) Those are remaining legacy stuff from the puppet era that could
easily be integrated into SF roles.
Well if you thing that's worthy, then let's create stories and address
above point!
Yours,
-Tristan
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Softwarefactory-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Softwarefactory-dev@redhat.com">Softwarefactory-dev@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/softwarefactory-dev">https://www.redhat.com/mailman/listinfo/softwarefactory-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>