Skip to content

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

Notifications You must be signed in to change notification settings

khot-aditya/trunk-deployment

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks