refactor: migrate to Phase 4 DinD test templates

Summary

Migrate test jobs to use Phase 4 DinD templates from common-ci-configuration, replacing 160+ lines of inline scripting with composable templates.

Before vs After

Before: 168 lines of inline bash in .test-with-docker-compose After: 8 lines extending .haf_app_dind_complete_test

Changes

  1. Variable aliases - Added APP_SYNC_CACHE_TYPE, APP_CACHE_KEY, HAF_APP_SCHEMA for template compatibility
  2. Replaced .test-with-docker-compose - Now extends .haf_app_dind_complete_test from common-ci
  3. Test jobs unchanged - regression-test, setup-scripts-test, performance-test, pattern-test inherit new behavior

Templates Used

Template Purpose
.haf_app_dind_complete_test Complete test job (combines all below)
.haf_app_dind_extract_cache Cache extraction with blockchain handling
.haf_app_dind_compose_startup Create ci.env and start compose
.haf_app_dind_wait_for_services Wait for PostgreSQL/PostgREST with DNS fix
.haf_app_dind_compose_teardown Log collection and cleanup

Dependencies

⚠️ Depends on: common-ci-configuration MR !150

Currently points to feat/phase4-dind-test-templates branch. Update to develop after MR !150 is merged.

Test plan

  • All test jobs pass (regression-test, setup-scripts-test, performance-test, pattern-test)
  • Verify cache extraction works correctly
  • Verify PostgreSQL and PostgREST service waits work
  • Verify log collection on job completion

Merge request reports

Loading