Project

General

Profile

SFTPSSH Component Repository » History » Revision 2

Revision 1 (Henning Blohm, 05.04.2021 18:55) → Revision 2/3 (Henning Blohm, 05.04.2021 22:14)

h1. SFTP / SSH Component Repository - TBC 

 Currently the Git support in z2, while very efficient and convenient in development, is somewhat inefficient for repeated deployments due to the inability of selective downloads and Git and hence high network load due to full repo clones. 

 This proposal for a more generic SFTP and SSH based file system backed repository among other features completely eleminates the need to provide anything non-required to nodes and, in conjunction with Git, provides a simple and yet straightforward way for an efficient and versioned central system definition. 

 h2. Concept 

 * Provisioning side is an SFTP location that is accessible via SSH for code execution 
 * Clients run (by need) repository scan to create component index DB for download by clients: 
 ** Throttling by time lapse 
 ** Keeping the last n revisions (number and age) 
 ** Indexing code supplied by client (providing side needs up-to-date Java install) 
 * Download of index DB and component resources via SFTP 

 h2. How to Apply w/ Git 

 h2. How to Provide for Development vs. Production Setup