Some Automated CI/CD

The documentation I wrote for the Git Pull requests:

Alrighty! There’s a script/cron running on 172.18.18.107. It runs every 60 mins. To make a staging release:

Go to DevOps or setup a pull request in CLI:

image

Create a new pull request. Make sure

  1. You are in either od-dashboard-dev or ui_development depending on what you want to merge.
  2. In the top left make sure you select “main” for the source and “staging” for the into branch.

image

Go to pull requests and click “complete” in the top right. In the pop-up be sure “delete source branch” is unchecked unless you really do want to delete it

image

That’s it! The staging server will now pull and run install/build automatically.

And the Bash script running every hour on staging via Cron:

 

Leave a Comment

Your email address will not be published. Required fields are marked *