Add .gitattributes for binary files and extend order booking update tests. Enhance dynamic image and routing logic with program_picker support.

This commit is contained in:
Jeppe Bundgaard
2026-05-26 14:04:27 +02:00
parent f1c123a840
commit bc7c0280f2
23 changed files with 9296 additions and 3064 deletions
@@ -68,10 +68,11 @@ it('builds the installer around the compose stack artifacts and management polli
expect($launcherSource)->toContain('write_rollback_status "FAILED" "compose_up_failed" "$installed_version"');
expect($launcherSource)->toContain('write_rollback_status "FAILED" "rollback_apply_failed" "$installed_version"');
expect($launcherSource)->toContain('write_rollback_status "ROLLED_BACK" "healthcheck_failed" "$installed_version"');
expect($composeSource)->toContain('version: "2.4"');
expect($composeSource)->toContain('condition: service_healthy');
expect($composeSource)->toContain("minio:\n condition: service_started");
expect($composeSource)->toContain("mariadb:\n condition: service_started");
$normalizedComposeSource = str_replace("\r\n", "\n", $composeSource);
expect($normalizedComposeSource)->toContain('version: "2.4"');
expect($normalizedComposeSource)->toContain('condition: service_healthy');
expect($normalizedComposeSource)->toContain("minio:\n condition: service_started");
expect($normalizedComposeSource)->toContain("mariadb:\n condition: service_started");
expect($composeSource)->toContain('/opt/truckwash-edge-agent/runtime/control-plane-status.json');
expect($composeSource)->toContain('$$data[\\"last_loop_at\\"]');
expect($composeSource)->toContain('$$data[\\"last_successful_sync_at\\"]');