test(federation): M2 E2E peer-add enrollment flow (FED-M2-10) #500

Merged
jason.woltje merged 3 commits from feat/federation-m2-e2e into main 2026-04-22 05:37:07 +00:00
Showing only changes of commit 5ea040af4c - Show all commits

View File

@@ -54,7 +54,12 @@ import { GrantsService } from '../../federation/grants.service.js';
import { EnrollmentService } from '../../federation/enrollment.service.js';
const run = process.env['FEDERATED_INTEGRATION'] === '1';
const stepCaRun = run && process.env['STEP_CA_AVAILABLE'] === '1';
const stepCaRun =
run &&
process.env['STEP_CA_AVAILABLE'] === '1' &&
!!process.env['STEP_CA_URL'] &&
!!process.env['STEP_CA_PROVISIONER_KEY_JSON'] &&
!!process.env['STEP_CA_ROOT_CERT_PATH'];
const PG_URL = 'postgresql://mosaic:mosaic@localhost:5433/mosaic';