Skip to content

Conversation

foot
Copy link
Collaborator

@foot foot commented May 19, 2022

Fixes #771

We've recently removed support for SQLite database. All state is now
held in etcd/k8s.

This also deprecates the whole agent model so we can remove that too.

NATS and the event-writer were supporting that too.

This PR removes all the red bits:

image

Checklist

  • Tests pass
  • Tilt still works?

Approach

I started off trying to only remove the database / agent etc from the clusters-service to do this a bit more incrementally, but then it all came down..

Mopping up I grep'd the codebase for

  • agent
  • nats
  • database
  • db
  • sqlite
  • gorm
  • postgres
  • /gitops/

@foot foot added the enhancement New feature or request label May 19, 2022
@foot foot requested a review from yiannistri May 19, 2022 06:54
Copy link
Collaborator

@yiannistri yiannistri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It felt great reading this 🧹 🥇

Tilt worked for me fine in this branch 👌

@foot foot marked this pull request as ready for review May 20, 2022 08:36
foot added 2 commits May 23, 2022 11:53
We've recently removed support for SQLite database. All state is now
held in etcd/k8s.

This also deprecates the whole agent model so we can remove that too.

NATS and the event-writer were supporting that too.
- Git provider should show an error failing to delete no-existant files
  from git.
@foot foot force-pushed the remove-the-sqlite-db branch from b6f8d24 to 8cc611a Compare May 23, 2022 09:54
@foot foot changed the title Remove the sqlite db Remove the SQLite DB, wkp-agent, event-writer and NATS May 23, 2022
@foot foot merged commit 25da7e2 into main May 23, 2022
@foot foot deleted the remove-the-sqlite-db branch May 23, 2022 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up MCCP agent from WGE
2 participants