Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Reset UAT DB #197

Open
colinbruce opened this issue Feb 9, 2021 · 0 comments
Open

Reset UAT DB #197

colinbruce opened this issue Feb 9, 2021 · 0 comments

Comments

@colinbruce
Copy link
Contributor

colinbruce commented Feb 9, 2021

Sometimes databases get into inconsistent states
This requires logging in and running

rake db:migrate
rake db:seed

before the instance can be used.
Using @colinbruce's bash scripts it's possible to ID the web pod and run

kubectl -n uat-namespace exec pod-name -- rake db:migrate; rake db:seed

this could be done from a slack bot command and allow non-tech staff to reset the DB on demand without waiting for a dev to be available

@colinbruce colinbruce created this issue from a note in Kanban board (Features) Feb 9, 2021
@colinbruce colinbruce moved this from Features to Next up in Kanban board Apr 27, 2021
@colinbruce colinbruce moved this from Next up to Features in Kanban board Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Kanban board
  
Features
Development

No branches or pull requests

1 participant