feat: complete dashcam catalog ingestion demo
Master Production Deploy / production (push) Failing after 49s
Master Production Deploy / production (push) Failing after 49s
This commit is contained in:
@@ -4,6 +4,9 @@ const required = [
|
||||
'RELEASE_ID',
|
||||
'COMMIT_SHA',
|
||||
'WEB_IMAGE',
|
||||
'INGESTION_IMAGE',
|
||||
'POSTGRES_PASSWORD',
|
||||
'INGESTION_ADMIN_PASSWORD',
|
||||
'PUBLIC_HOST',
|
||||
'TRAEFIK_NETWORK',
|
||||
'SWARM_MANAGER_HOST',
|
||||
@@ -16,9 +19,11 @@ if (missing.length > 0) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
if (!/@sha256:[a-f0-9]{64}$/i.test(process.env.WEB_IMAGE ?? '')) {
|
||||
console.error(`WEB_IMAGE must be pinned by immutable digest, got: ${process.env.WEB_IMAGE}`);
|
||||
process.exit(1);
|
||||
for (const imageName of ['WEB_IMAGE', 'INGESTION_IMAGE']) {
|
||||
if (!/@sha256:[a-f0-9]{64}$/i.test(process.env[imageName] ?? '')) {
|
||||
console.error(`${imageName} must be pinned by immutable digest, got: ${process.env[imageName]}`);
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
console.log(
|
||||
|
||||
Reference in New Issue
Block a user