Add haf-app-test-runner shared image for HAF applications

Summary

  • Add shared haf-app-test-runner Docker image for HAF applications
  • Consolidates test runner requirements from balance_tracker, reputation_tracker, and haf_block_explorer
  • Eliminates need for each project to build and maintain its own CI runner image

What's included

  • Docker-in-Docker (from docker-builder base)
  • JMeter and m2u (from benchmark-test-runner)
  • Python 3.12+ with psycopg2
  • Build tools for Python wheels (gcc, musl-dev, python3-dev, linux-headers)
  • glibc compatibility for pre-built wheels (gcompat, libstdc++)
  • PostgreSQL client

Benefits

  • Single maintenance point for HAF app CI dependencies
  • Faster CI (no per-project image build step)
  • Consistent test environment across all HAF applications

Migration

Once merged, each HAF app can migrate by:

  1. Updating .gitlab-ci.yml to use registry.gitlab.syncad.com/hive/common-ci-configuration/haf-app-test-runner:1.0
  2. Removing their docker/ci/Dockerfile
  3. Removing their docker-ci-runner-build CI job

Closes #9

Merge request reports

Loading