Implementing continuous delivery
To deploy the Gin application to production, you need to spin up a dedicated EC2 instance or EKS cluster. You must ask for manual validation before deploying to production.
With CircleCI, you can use the pause_workflow
job to interact with the user and ask for approval before resuming the pipeline. To do so, follow these steps:
- Add the
pause_workflow
job before thedeploy
job and define arelease
job, as follows:workflows: ci_cd:    jobs:      - test      - build:          requires:            - test      - deploy:          requires:            - test            - build      ...