Hey! Thank you for the reply and links, I'll read upon them.

- Anis

On Monday, December 12, 2022 at 4:49:21 PM UTC Tim Donohue wrote:

> Hi Anis,
>
> If I understand the question, the only "required" configs for the Maven 
> build are those listed with asterisks in the "Initial Configuration" setup 
> of the backend install (step 6): 
> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation
>   
>  Generally, those are the "dspace.dir", "dspace.*.url" fields, 
> "solr.server" and "db.*" fields.  It is possible that other fields will be 
> required for your setup (e.g. mail.* fields or similar), depending on what 
> your setup requires.  But, those are the basic fields that are almost 
> always required (and almost always unique for different DSpace sites).
>
> One tip I will add is that *every* field in DSpace configuration can be 
> specified via environment variables instead of local.cfg.... and 
> environment variables can sometimes make CI/CD easier. See the detailed 
> docs on the backend's configuration overriding options: 
> https://wiki.lyrasis.org/display/DSDOC7x/Configuration+Reference#ConfigurationReference-ConfigurationSchemeforReloadingandOverriding
>
> Similarly, the UI's configs can also be specified via environment 
> variables. See 
> https://github.com/DSpace/dspace-angular/blob/main/README.md#configuring
>
> If you have more questions, let us know on this list.
>
> Tim
>
> On Monday, December 12, 2022 at 3:16:36 AM UTC-6 Anis wrote:
>
>> Hey! I'm in the middle of building a CI/CD -pipe for our new DSpace 7 
>> environment. We're thinking of using Github Actions for this. My idea is to 
>> build (mvn package) DSpace on Github and send the package to our servers 
>> and finish the deployment with an ant run on the servers. My question is, 
>> as we have multiple DSpace instances with different configs, what configs 
>> are required for the maven run, and is it possible to build it with one set 
>> of configs and maybe just copy instance specific configs over those? Or do 
>> I have to run the build separately with each set of configs?
>>
>> - Anis
>>
>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1624ffb5-d1a5-49b9-be96-77149bae04f4n%40googlegroups.com.

Reply via email to