Skip to content

Make Forjfile information different for file save and usage in `forjj`

lac-admin requested to merge github/fork/clarsonneur/re-organize-scan into master

Created by: clarsonneur

it fix issues to stored data in appropriate files (Forjfile/creds) and use a merged of those data in memory while forjj do the creation, update or maintenance of the forge.

I re-organized the way data are collected at every layers.

create load Forjfile template and dispatch it to several Forjfiles in the source repo. It extract creds and dispatch them as well. All those data are saved. then forjj build the merge of those information and use them to:

  • send payload data to plugins
  • update it from plugins for next plugins (upstream for others)

Update do quite the same except it do not read a Forjfile template but all Forjfile from source repo and do not update them (at least today) Of course it generates the deploy code to the deploy repo. Only credentials are saved, if we update one of them.

maintain reads the deploy code, and send the required payload for the deploy script to work. usually credential data. nothing is saved.

Merge request reports