dataverse-kubernetes icon indicating copy to clipboard operation
dataverse-kubernetes copied to clipboard

Create a K8s Job for dataverse-sample-data

Open poikilotherm opened this issue 5 years ago • 3 comments

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.

poikilotherm avatar Jun 11 '19 13:06 poikilotherm

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.

pdurbin avatar Jun 28 '19 11:06 pdurbin

@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 avatar Feb 06 '20 12:02 poikilotherm

@poikilotherm, I'm busy with setting up testing processes. This image seems to work well, I've just tested.

4tikhonov avatar Feb 06 '20 15:02 4tikhonov