we are running Magento 2 on an AWS Infrastructure (Single EC2 instance, Elastic Search Serves, DB Service).
We have a Prod and a seperate Stage environment up and running.
Right now our deployment is quite manual process
- Pushe code to repo, create PR to stage branch
- Connect to Stage isntance via SSH, git pull stage branch, execute magento commands like reindex, restart etc.
- PR to master branch and same as above (Connect to instance, pull master brnach, execute commands)
I would like to improve this by using a more automated process with for example BitBucket pipelines. So far I did understand that I could run SCP to transfer my code to my environments but how to execute the update commands on each server or update db for example?
And also, how can I have different config files per environment? Right now we just have the config files on gitignore and do not have them on version control and manage them manually on the server.
I hope you can give me an insight where to start and how all this could look like.
Right now I am lost and dont understand how to improve this and where to start how the final picture could look like.
Thanks in advance!
Hello there Cloud Community members! Today, we’re thrilled to announce Jira Service Management, the next generation of Jira Service Desk. Jira Service Management touts advancements in IT service ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events