Update contributing guidelines for CLI and Helm#3
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive contributing guidelines for a backup service, including setup instructions for both CLI and Helm deployment options.
Key changes:
- Added complete CLI installation and usage documentation with command examples
- Included Helm deployment instructions with Kubernetes setup steps
- Documented S3 backup verification process using MinIO client
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Some Feedback:
|
Review Steps (WIP) 🌀
Tip See Comment below for test steps to deploy Backup Service to the default namespace ️
|
|
Important @matthewpeterkort's review already done. ✔️ @lbeckman314 (self) to implement changes and update here... |
- To `G.V().outE()` from `G.query().E()`
Deployment StepsImportant Here we're deploying to the 1. Update➜ kubectl config current-context
calypr-dev
➜ kubectl get deployments -n backups
NAME READY UP-TO-DATE AVAILABLE AGE
backups 1/1 1 1 93d
➜ helm repo update ohsu
Update Complete. ⎈Happy Helming!⎈
➜ helm search repo ohsu
NAME CHART VERSION APP VERSION DESCRIPTION
ohsu/backups 0.4.1 1.13.0 A Helm chart for Kubernetes2. DeployWarning TODO: Currently we are manually setting the S3 credentials for the Bucket the backups will be uploaded to Ideally this would simply pull in credentials stored in the existing ➜ kubectl create secret generic s3-credentials \
--from-literal=ACCESS_KEY='example' \
--from-literal=SECRET_KEY='example'
➜ helm upgrade --install backups ohsu/backups --values values.yaml3. Create Example Job➜ kubectl create job example-backup-job --from=cronjob/backup-service-cronjob
job.batch/example-backup-job created
# ~5 minute wait...
➜ kubectl get jobs/example-backup-job
NAME COMPLETIONS DURATION
example-backup-job 1/1 4m34s
➜ kubectl logs jobs/example-backup-job
Backup Complete:
- ENDPOINT: https://aced-storage.ohsu.edu
- BUCKET: calypr-backups
- DIR: calypr-dev/2025-10-08T00:42:34
➜ kubectl delete jobs/example-backup-job
job.batch "example-backup job" deleted4. Verify Example Backup➜ mc ls <ALIAS>/calypr-backups/calypr-dev/2025-10-08T00:42:34
214MiB CALYPR.edges
1.9GiB CALYPR.vertices
0B CALYPR__schema__.edges
1.4MiB CALYPR__schema__.vertices
111KiB arborist_local.sql
234KiB fence_local.sql
6.0KiB gecko_local.sql
23MiB indexd_local.sql
9.6KiB metadata_local.sql
2.9KiB postgres.sql
72KiB requestor_local.sql
8.0KiB wts_local.sql |
|
🎉 This PR is included in version 1.14.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Overview ⚙️
This PR adds initial
CONTRIBUTING.mdguide with steps on installing, running, and updating the backup service.