Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding first shot at drift server #112

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Adding first shot at drift server #112

wants to merge 3 commits into from

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Jul 16, 2021

@alecbcs is working on a drift analysis for spack (or BUILD SI) and part of that requires deploying this drift server:

https://github.com/buildsi/drift-server

We have a PR underway that is going to do an automated build for the container base:

https://github.com/buildsi/drift-server/pull/7

and our plan is to create an AWS database to connect to (via the DRIFTSERVER_DATABASE_DSN that is a secret). We will also define some username and password (also secrets) that have permission to write to it.

In terms of the kubernetes yaml recipes, I took my best effort first shot here! The container basically runs the app when you run it on port 8080, so it shouldn't need to look very different than the other spack webby things. I'm thinking before this gets added here so it's automated, we probably want to get the container deployed, create the database, and then test our deploying the files from our local machines. If that works, then would adding the recipes here automate it (but we would still need to deploy our secrets from our local machines?)

@opadron if you have maybe 30 minutes next week (and think it would be fun) I think this could be a fun way for @alecbcs and I to meet up with you and walk through the steps of interacting with kubernetes to test this out. Hey, maybe we might even be useful someday! 馃槅

Signed-off-by: vsoch vsoch@users.noreply.github.com

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
we were close to getting to a deployment, but our app (drift-server) had an error with the database string
we want to debub this first and then come back to test again.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch
Copy link
Member Author

vsoch commented Jul 24, 2021

@opadron @alecbcs this is WORKING! wooo!!!! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant