Skip to content
Song Zheng edited this page Aug 18, 2020 · 2 revisions

Custom CI/CD

Continuous Integration - Self Hosted Runners

Used to run unit and integration tests. Custom runners needed because of environment variables.

Continuous Deployment

  • Webhook Setup to send a request to webhook server when a pull request is merged.

Setup

To gain access, please give your public key to song: cat ~/.ssh/id_rsa.pub

Then ssh song@learndatabases.dev. Tmux session is called learndatabases

Starting the github runner

  1. cd here: /home/song/github/actions-runner
  2. ./run.sh

Starting the server

  1. cd here: /home/song/hooks
  2. Run the app: nodemon app.js
Clone this wiki locally