CICD Pipeline Part3
Category : DevOps Tag : streamlit docker 101series
June 2, 2021, midnight

Short Description :
CICD explanation. Part3 includes demo on CICD pipeline automation
source : datak

<h2>CICD Pipeline Automation</h2><p>As we set `master` branch triggers `.travis.yml` script, let's verify if it works. General software development by teams are used by different branch name, such as `dev` branch.&nbsp; At local repo, push new changes to `dev` and make `pull request` at github repository.</p><pre># shellscript cd &lt;project directory&gt; git checkout dev #make sure you are in development directory git add . &amp;&amp; git commit -m '&lt;change note to the remote update&gt;' git push origin dev</pre><p>Push `Compare &amp; pull request`.</p><p><img src="/media/django-summernote/2021-06-02/8fc1ee4e-9b67-4ff2-ae3d-31762576efee.png" style="width: 100%;"></p><p>Make sure what branch you will use to merge to master, and check changes at bottom (red line to green line), then push `Create pull request`</p><p><img src="/media/django-summernote/2021-06-02/b1038c33-4388-424c-b61c-d5b4aadc896f.png" style="width: 100%;"></p><p>Travis checks 2 thigs. If the updated dev branch still passes and if the pull request passes the pipeline.</p><p><img src="/media/django-summernote/2021-06-02/9c6e2996-b526-460d-b1c8-3f3bef1e915a.png" style="width: 100%;"></p><p>If these are passes, push `Merge pull request` and `Confirm merge`.</p><p>Go to AWS elastic beanstalk, and it will take few min to update changes. If you see green check and Ok under health we are all set!</p><p><img src="/media/django-summernote/2021-06-02/d199a486-df65-42ff-9980-62b113434a8a.png" style="width: 100%;"><br></p>


<< Back to Blog Posts
Back to Home

Related Posts

Docker 101 : Basic Commands
Nov 28 2020
Basic commands for docker operation, such as build, run, and going into container etc.
CICD Pipeline Part1
Jun 1 2021
CICD explanation. Part 1 focuses on how to locally create a docker container using python streamlit
CICD Pipeline Part2
Jun 1 2021
CICD explanation. Part 2 focuses on how to create CICD script using travis and setup AWS EB
CICD Pipeline Part4
Jun 2 2021
CICD explanation. Part4 includes sub-domain assignment using google domain



© DATAK 2024