dataverse-kubernetes
dataverse-kubernetes copied to clipboard
Create a K8s Job for dataverse-sample-data
For testing and demo purposes, it will be usefull to have some sample data around. Currently, upstream created https://github.com/IQSS/dataverse-sample-data as a solution to IQSS/dataverse#5235.
This can be used in a simple Kubernetes Job
to populate with sample data.
While https://github.com/IQSS/dataverse-sample-data isn't "done" and it probably never will be, as of https://github.com/IQSS/dataverse-sample-data/commit/ed52c316f530229b0c40463dc18c5f16d07cf11d (the latest in master) I think it's usable. There's a script called create_sample_data.py
that I don't plan to rename that you can call.
If nothing else, trying to set up the job would be a good test of my README. I hope you can follow it and I'm happy for feedback.
@4tikhonov if you want to add a PR for a Job
now that IQSS/dataverse-sample-data#14 is to merged soon, I'd appreciate help. This should go into k8s/dataverse/jobs
just like the other jobs. Documentation updates would be even fancier and dramatically raise chances to get it merged :wink:
@poikilotherm, I'm busy with setting up testing processes. This image seems to work well, I've just tested.