indigo-dc / sqa-baseline

A set of Common Software Quality Assurance Baseline Criteria for Research Projects
Other
11 stars 3 forks source link

[ENHANCEMENT] Proposal to Consider "Size" In Automated Delivery #75

Closed gmolto closed 2 years ago

gmolto commented 2 years ago

Please elaborate here on the enhancement request. I am not sure if by "artifact" we refer to plain packages (e.g. RPM), or other artifacts such as Virtual Machines, Docker images, etc.

In the latter case, the size of the artifact has an impact on the deployment time of the software and, therefore, a mention to try to minimize the size of the built artifact should be included.

Describe the solution you'd like I suggest rephrasing QC.Del01 as : "[QC.Del01] Production-ready code MUST be built as an artifact that can be efficiently executed on a system." and including:

QC.Del01.1 The built artifact SHOULD be as minimal as possible, including no more than the precise runtime environment and dependencies required for the execution of the software.

Additional context Consider the time of deploying a bloated Virtual Machine with unnecessary libraries vs a Docker container from a minified Linux distribution with the just the precise libraries required to run the software.

mariojmdavid commented 2 years ago

I agree