<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Continuous Integration/Delivery of HDP clusters on Cloudbreak in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Continuous-Integration-Delivery-of-HDP-clusters-on/m-p/243777#M205575</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I are running a number of HDP clusters on Cloudbreak.   The code is residing on GitHub (Spark Python and Scala),  we would like to setup a Continuous integration and Delivery pipeline from Github.&lt;/P&gt;&lt;P&gt;I have searched quite a bit for recommended practices for this but to no avail.    At this point, I am thinking about using Cloudbreak Command Line (CLI) to create the scripts needed and run them from github.   &lt;/P&gt;&lt;P&gt;1.  Any better recommendations?&lt;/P&gt;&lt;P&gt;2. Does that seem like a valid approach? &lt;/P&gt;&lt;P&gt;3. How would I deal with security since I would need to store Cloudbreak credentials on Github to run my scripts?&lt;/P&gt;&lt;P&gt;Any input is appreciated.&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2019 12:47:46 GMT</pubDate>
    <dc:creator>c-joe_boctor</dc:creator>
    <dc:date>2019-02-08T12:47:46Z</dc:date>
    <item>
      <title>Continuous Integration/Delivery of HDP clusters on Cloudbreak</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Continuous-Integration-Delivery-of-HDP-clusters-on/m-p/243777#M205575</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I are running a number of HDP clusters on Cloudbreak.   The code is residing on GitHub (Spark Python and Scala),  we would like to setup a Continuous integration and Delivery pipeline from Github.&lt;/P&gt;&lt;P&gt;I have searched quite a bit for recommended practices for this but to no avail.    At this point, I am thinking about using Cloudbreak Command Line (CLI) to create the scripts needed and run them from github.   &lt;/P&gt;&lt;P&gt;1.  Any better recommendations?&lt;/P&gt;&lt;P&gt;2. Does that seem like a valid approach? &lt;/P&gt;&lt;P&gt;3. How would I deal with security since I would need to store Cloudbreak credentials on Github to run my scripts?&lt;/P&gt;&lt;P&gt;Any input is appreciated.&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 12:47:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Continuous-Integration-Delivery-of-HDP-clusters-on/m-p/243777#M205575</guid>
      <dc:creator>c-joe_boctor</dc:creator>
      <dc:date>2019-02-08T12:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous Integration/Delivery of HDP clusters on Cloudbreak</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Continuous-Integration-Delivery-of-HDP-clusters-on/m-p/243778#M205576</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;@automating cluster creation&lt;BR /&gt;Using the CLI for automated cluster setup is a valid approach. &lt;/P&gt;&lt;P&gt;@security&lt;BR /&gt;Storing secure data in git repository is not a good idea.&lt;/P&gt;&lt;P&gt;I would assume that you have Cloudbreak deployed and a CI job would have a configured cli to use it. I would also assume that this machine is secured as if you have access to this machine, you basically have access to everything cloudbreak stores.&lt;BR /&gt;&lt;BR /&gt;The configuration for CLI is located usually in ~/cb/config, and has the following &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;testenv1:
  username: user1
  password: user1pw
  server: 10.0.10.12
&lt;/PRE&gt; I'm not sure what kind of CI framework you plan to use (jenkins, teamcity, spinnaker), but basically you could have a CLI installed on an agent or a docker container having the cli and an example configuration file injected from the context of the CI build agent.&lt;BR /&gt;Another idea is to have the encrypted cli config stored in github, and have the agent the decryption key, and apply the correct config.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2019 20:12:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Continuous-Integration-Delivery-of-HDP-clusters-on/m-p/243778#M205576</guid>
      <dc:creator>lnardai</dc:creator>
      <dc:date>2019-02-12T20:12:55Z</dc:date>
    </item>
  </channel>
</rss>

