Skip to content

Support for dockerized HAF setup to simplify deployment and optimize Haf-Apps CI processes

Bartek Wrona requested to merge bw_dockerized_haf_setup into develop

HAF provides a multitarget Dockerfile, to simplify creation of:

  • basic CI image required to perform CI process: ci-base-image
  • a CI image extended by 5M block_log, to simplify deployment for fast testing purposes: ci-base-image-5m
  • an image holding binaries built from specific branch or commit, be ready for starting data-supply (replay) process on provided mapped data-dir volume (external, persistent storage provided by user)
  • a 5M data supplied image holding ready-run HAF instance, to make deployment and testing process on HAF-apps side easier and faster
  • part of .gitlab-ci.yaml file (scripts/ci-helpers/prepare_data_image_job.yml) to be shared across HAF-apps to reuse functionality of building HAF image and using it at own CI. This way code specific to HAF instance configuration is reduced like also CI process takes much shorter, since it can reuse potentially prebuilt HAF instance/data image pushed into HAF container registry.

See HAfAH!17 (merged) as an example of HAF-app CI implementation.

Related to hive!372 (merged)

Edited by Bartek Wrona

Merge request reports