<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. At local repo, push new changes to `dev` and make `pull request` at github repository.</p><pre># shellscript cd <project directory> git checkout dev #make sure you are in development directory git add . && git commit -m '<change note to the remote update>' git push origin dev</pre><p>Push `Compare & 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