summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2022-10-31 16:45:31 -0600
committerBen Busby <contact@benbusby.com>2022-10-31 16:45:31 -0600
commite58d6e23edd2cfc1da7feab3cfc2b09326b73bff (patch)
treee0f4681398dde168b5550b14122169122816b878 /.github
parent540822d8670540554f3aed16459d429eac9fac10 (diff)
downloadfarside-e58d6e23edd2cfc1da7feab3cfc2b09326b73bff.tar.gz
Remove Redis dep, replace w/ native Elixir lib
This removes the dependency on Redis for core app functionality. Rather than using the key/value store provided by Redis, Farside now uses a key/val store provided by [cubdb](https://github.com/lucaong/cubdb) for identical functionality but without reliance on a non-Elixir service. This solution was chosen instead of ets, because storing instance data in memory leads to a period of broken functionality whenever the app restarts and hasn't re-populated instance data yet. It was also chosen instead of dets, because the documentation for dets was pretty hard to understand at first glance. Tests and the CI build were updated to reflect the removed dependency on Redis. New environment variable `FARSIDE_DATA_DIR` can be used to point to a directory where the instance data can be stored by cubdb. Co-authored-by: Jason Clark <mithereal@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/elixir.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml
index e5439f3..8adbd87 100644
--- a/.github/workflows/elixir.yml
+++ b/.github/workflows/elixir.yml
@@ -28,9 +28,6 @@ jobs:
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- - name: Start Redis
- uses: supercharge/redis-github-action@1.2.0
-
- name: Install dependencies
run: mix deps.get