LoveShack-Inc / LoveShack-Inc/represent

Continous deployment

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently deploying requires that I SSH to our little server, pull latest, rebuild the images on the machine, run some docker commands, and then restart all of the processes. It'd be neat if merging to master did that for us

There are a ton of ways to do this. A couple ideas:

  • Run a cron job on the target host that polls github every couple of minutes to see if there's a newer revision of master, if there is, pull it, and do the needful to replace the running service with a newer build
  • Run a github actions agent on the box, and write an actions workflow to deploy it
  • Interact with the DigitialOcean API in the github actions workflow to create a new host, run the setup, setup the latest build, and then cut traffic over to it (this is definitely waaaay overkill for our purposes and would actually create other problems for us)
  • Run commands from github actions on our remote host over SSH (I don't really like this one either)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified. Start by reviewing the current SSH, pull, image rebuild, Docker command, and process restart steps on the target server, then choose and document one deployment approach; done means merging to master reliably deploys the updated service.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions
Domain
ci-cd, devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.