DevSecOps: CI/CD

Started getting into automated deployments.

Project: Personal

Summary

Started playing with Bitbucket Pipelines to automate deployments.

First exposed at work back in 2017, the infra they were using was Bamboo then moved to Jenkins.

I've experimented with several services like Travis CI, Trellis which uses Ansible for WordPress.

Currently I just went with 2 services.

Saves a lot of time with configuration. Easy to get started with hooking GitHub repos then push to deploy.

Vercel also provides good service but I've already setup domains with Netlify.

Sample Screens

Netlify

Alt text

Laravel Forge

Alt text

Bitbucket Pipelines

Sample Pipeline

Alt text

Sample YML file

Alt text

Deployment with manual trigger for production deployment

Alt text

Tools

  • Docker
    Docker
  • Git
    Git
  • GitHub
    GitHub
  • Bitbucket
    Bitbucket
  • Ansible
    Ansible
  • Jenkins
    Jenkins