gdcc / dataverse-action

MIT License
1 stars 1 forks source link

Add a simple S3 option #14

Open poikilotherm opened 5 months ago

poikilotherm commented 5 months ago

Until we have a more sophisticated flavor thing going, let's unblock people who want to test S3 related things. (Looking at you @JR-1991 :wink: )

JR-1991 commented 1 month ago

@poikilotherm, digging into this now šŸ˜. I just created a branch to address this issue. The first two bullet points should be straightforward. However, Iā€™m having trouble figuring out how to create the two S3-enabled collections. I remember we discussed this at Distribits, but I canā€™t recall if we reached a conclusion. So, how can we change a collectionā€™s store besides using the webpage?

pdurbin commented 1 month ago

@JR-1991 please see the "set storage driver to S3" lines at https://github.com/IQSS/dataverse/blob/v6.3/src/test/java/edu/harvard/iq/dataverse/api/S3AccessIT.java#L135

Probably somewhere in https://github.com/IQSS/dataverse-client-javascript/pull/153 you'll find similar code.