Hey everyone
I’ve been working on a small HR-focused web tool that helps automate salary and service-related calculations for employees. It’s a simple project, but I’m now trying to take it one step further by automating its deployment process using Bitbucket Pipelines and Docker.
Here’s my basic setup:
What I want to achieve:
main branch should build and deploy automatically.Has anyone here automated deployment for small utility or HR web apps using Pipelines? Would love to learn from your experience best practices, YAML config examples, or even common mistakes to avoid.
For reference, the tool I’m automating is similar to this salary automation tool that helps with employee service calculations.
Thanks in advance!
Thanks @Leo Southwell, this is very helpful. Good point on keeping build and deploy separate instead of deploying every commit.
The secrets and zero-downtime notes make sense too. The app is a small HR/calculator tool, so the deployment is not too heavy, but I’ll look into Bitbucket packages and larger build size if Docker builds become slow.
For context, this is the type of calculator setup being automated:
@Leo Southwell Our team deploys multiple complex apps using Pipelines with great success.
We build after every commit, but don't deploy all code versions. (We have a dedicated "deploy" build.)
Generally speaking, I think it is fairly trivial to convert an existing process or script to a pipeline.
Tips:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.