khot-aditya / trunk-deployment

Trunk-based development: Learn why this version control management practice is common practice among DevOps teams. This is a test repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trunk Based Workflow

Trunk-based development is a version control management practice where developers merge small, frequent updates to a core “trunk” or main branch. Since it streamlines merging and integration phases, it helps achieve CI/CD and increases software delivery and organizational performance.

Usage Commands

  • Run deploy.sh command to show available options

    deploy.sh
  • Select options for deployment

    Select deployment option:
    1. Development
    2. Staging
    3. Production
    Enter the option number:
  • Once it is selected the docker will create new image for selected environment and run docker container on specified port.

Todo

  • Add option for instant rollback
  • Add option to rollback to particular hash

Source

About

Trunk-based development: Learn why this version control management practice is common practice among DevOps teams. This is a test repository.


Languages

Language:Shell 29.9%Language:CSS 27.2%Language:TypeScript 20.1%Language:Dockerfile 10.4%Language:JavaScript 6.7%Language:HTML 5.6%