Skip to content

Define a persistentVolume for internal database - #90

Merged
dpordomingo merged 2 commits into
src-d:masterfrom
dpordomingo:prepare-persistent-volume
Feb 13, 2018
Merged

Define a persistentVolume for internal database#90
dpordomingo merged 2 commits into
src-d:masterfrom
dpordomingo:prepare-persistent-volume

Conversation

@dpordomingo

@dpordomingo dpordomingo commented Feb 13, 2018

Copy link
Copy Markdown
Contributor

This PR only prepares the volume where the sqlite should be scped (the app will be prepared in a separated PR)
As I was talking with @rporres we're not still supporting Postgresql in staging but sqlite.

After this PR is merged, it will be needed to push a sqlite bd into the volume as described by https://github.com/src-d/issues-infrastructure/issues/129

# tag must be received as a parameter
pullPolicy: IfNotPresent
deployment:
internalDatabasePath: /var/code-annotation

@rporres rporres Feb 13, 2018

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

If there's no env variable that will inform that this may change beyond the default, I would not give the possibility of overriding it and I would hardcode it in the deployment yaml template

@dpordomingo dpordomingo Feb 13, 2018

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think this bfa612c is what you're looking for... isn't it?

@dpordomingo

Copy link
Copy Markdown
Contributor Author

You're right, thanks for spotting it @rporres
fixed? #90 (comment)

@dpordomingo
dpordomingo requested a review from bzz February 13, 2018 16:54
@bzz
bzz requested a review from smacker February 13, 2018 16:54

@bzz bzz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@dpordomingo
dpordomingo force-pushed the prepare-persistent-volume branch from bfa612c to ce89db0 Compare February 13, 2018 16:59
@dpordomingo
dpordomingo merged commit 3b81a35 into src-d:master Feb 13, 2018
@dpordomingo
dpordomingo deleted the prepare-persistent-volume branch February 14, 2018 05:33
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.

4 participants