-
Notifications
You must be signed in to change notification settings - Fork 34
backport 1.10 - fix(lightspeed): pre-create /rag-content/vector_db/notebooks in init … #449
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-1.10
Are you sure you want to change the base?
Changes from all commits
aee5c8a
d500e6b
f65c857
0caaa25
810aab8
9ad9e2f
47df148
fcc0a0c
5aa9e3a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -135,8 +135,10 @@ global: | |||||||||
| - >- | ||||||||||
| mkdir -p /tmp/data && | ||||||||||
| echo 'Copying Lightspeed RAG data...' && | ||||||||||
| cp -r /rag/vector_db /rag-content/ && | ||||||||||
| cp -r /rag/embeddings_model /rag-content/ && | ||||||||||
| cp -r --no-preserve=mode,ownership /rag/vector_db /rag-content/ && | ||||||||||
| cp -r --no-preserve=mode,ownership /rag/embeddings_model /rag-content/ && | ||||||||||
| mkdir -p /rag-content/vector_db/notebooks && | ||||||||||
| chmod -R a+rwX /rag-content && | ||||||||||
| echo 'Copy complete.' | ||||||||||
| env: [] | ||||||||||
| # -- Resource requests/limits for the Lightspeed RAG bootstrap init container. | ||||||||||
|
|
@@ -193,6 +195,8 @@ upstream: | |||||||||
| repository: rhdh-community/rhdh | ||||||||||
| tag: next-1.10 | ||||||||||
| pullPolicy: "" | ||||||||||
| podSecurityContext: | ||||||||||
| enabled: false | ||||||||||
|
Comment on lines
+198
to
+199
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There is no such
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And with only the rhdh-chart/.github/actions/test-charts/action.yml Lines 169 to 170 in e767157
|
||||||||||
| command: [] | ||||||||||
| # FIXME (tumido): USE POSTGRES_PASSWORD and POSTGRES_USER instead of POSTGRES_ADMIN_PASSWORD | ||||||||||
| # This is a hack. In {fedora,rhel}/postgresql images, regular user is forbidden | ||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should chmod the specific subdirectories IMO if you are changing the permissions.