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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add db migration guide sample tests #380

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

Conversation

vishwarajanand
Copy link
Contributor

@product-auto-label product-auto-label bot added api: alloydb Issues related to the googleapis/langchain-google-alloydb-pg-python API. samples Issues that are directly related to samples. labels Mar 6, 2025
@vishwarajanand vishwarajanand marked this pull request as ready for review March 6, 2025 19:36
@vishwarajanand vishwarajanand requested review from a team as code owners March 6, 2025 19:36
Comment on lines +86 to +91
- versionName: projects/$PROJECT_ID/secrets/PINECONE_INDEX_NAME/versions/1
env: "PINECONE_INDEX_NAME"
- versionName: projects/$PROJECT_ID/secrets/CHROMADB_COLLECTION_NAME/versions/1
env: "CHROMADB_COLLECTION_NAME"
- versionName: projects/$PROJECT_ID/secrets/MILVUS_COLLECTION_NAME/versions/1
env: "MILVUS_COLLECTION_NAME"
Copy link
Collaborator

Choose a reason for hiding this comment

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

These don't need to be need to be secrets

Comment on lines +97 to +99
env: "WEAVIATE_COLLECTION_NAME"
- versionName: projects/$PROJECT_ID/secrets/QDRANT_COLLECTION_NAME/versions/1
env: "QDRANT_COLLECTION_NAME"
Copy link
Collaborator

Choose a reason for hiding this comment

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

These don't need to be need to be secrets

Comment on lines +26 to +33
- id: proxy-install
name: alpine:3.10
entrypoint: sh
args:
- -c
- |
wget -O /workspace/alloydb-auth-proxy https://storage.googleapis.com/alloydb-auth-proxy/v1.11.0/alloydb-auth-proxy.linux.386
chmod +x /workspace/alloydb-auth-proxy
Copy link
Collaborator

Choose a reason for hiding this comment

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

The proxy isn't needed if we are using the connector

args:
- "-c"
- |
/workspace/alloydb-auth-proxy --port ${_DATABASE_PORT} ${_INSTANCE_CONNECTION_NAME} & sleep 2;
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove proxy

Comment on lines +109 to +110
pool:
name: "projects/langchain-alloydb-testing/locations/us-central1/workerPools/my-pool2"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not needed if running public ip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: alloydb Issues related to the googleapis/langchain-google-alloydb-pg-python API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants