Hello folks, here is a break down of the shell scripts in SF code base:
A) Image building * Build cache * Build image * Logic to know when to build cache or image B) Functional test runner * Call image building * Deploy image * Do action such as turn off/turn on, run backup, ... C) Configuration script (sfconfig.sh) * Generate secrets * Generate playbook/inventory * Call configuration playbook D) Generated script by sfconfig (/root/*.sh) * Create user * Set acls E) Random scripts such as build doc, publish and fetch image It seems like each of above point could be replaced by a better tool: A) Use DIB B and E) Rewrite in Ansible playbooks (which is more zuulV3 friendly) C) A python based script that would subprocess ansible commands D) Those are remaining legacy stuff from the puppet era that could easily be integrated into SF roles. Well if you thing that's worthy, then let's create stories and address above point! Yours, -Tristan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Softwarefactory-dev mailing list [email protected] https://www.redhat.com/mailman/listinfo/softwarefactory-dev
