Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95b594d8cd | |||
| cd6651cc43 | |||
| 855390a27b | |||
| ea8bd46973 | |||
| ff269b1f84 | |||
| afa586c833 | |||
| 9b55c42f35 | |||
| 554f958ba2 | |||
| c9f174e828 | |||
| 8dce4890c4 | |||
| 963e572291 | |||
| 9887324469 |
@@ -428,7 +428,7 @@ jobs:
|
|||||||
echo "Waiting 10s for app to fully start..."
|
echo "Waiting 10s for app to fully start..."
|
||||||
sleep 10
|
sleep 10
|
||||||
echo "Checking basic health..."
|
echo "Checking basic health..."
|
||||||
curl -sf "$DEPLOY_URL/health" || { echo "❌ Basic health check failed"; exit 1; }
|
curl -sf "$DEPLOY_URL/api/health" || { echo "❌ Basic health check failed"; exit 1; }
|
||||||
echo "✅ Basic health OK"
|
echo "✅ Basic health OK"
|
||||||
|
|
||||||
- name: 🌐 Core Smoke Tests (HTTP, API, Locale)
|
- name: 🌐 Core Smoke Tests (HTTP, API, Locale)
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ CI (Woodpecker)
|
|||||||
https://ci.infra.mintel.me
|
https://ci.infra.mintel.me
|
||||||
|
|
||||||
Container Registry
|
Container Registry
|
||||||
https://registry.infra.mintel.me
|
https://git.infra.mintel.me
|
||||||
|
|
||||||
Errors (GlitchTip)
|
Errors (GlitchTip)
|
||||||
https://errors.infra.mintel.me
|
https://errors.infra.mintel.me
|
||||||
@@ -76,13 +76,13 @@ This directory contains:
|
|||||||
All production images must be built by CI and pushed to the Mintel Registry.
|
All production images must be built by CI and pushed to the Mintel Registry.
|
||||||
|
|
||||||
Registry:
|
Registry:
|
||||||
registry.infra.mintel.me
|
git.infra.mintel.me
|
||||||
|
|
||||||
Image naming:
|
Image naming:
|
||||||
registry.infra.mintel.me/ORG/APP_NAME:TAG
|
git.infra.mintel.me/mmintel/APP_NAME:TAG
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
registry.infra.mintel.me/mintel/mb-grid-solutions:latest
|
git.infra.mintel.me/mmintel/mb-grid-solutions:latest
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -204,8 +204,8 @@ steps:
|
|||||||
build:
|
build:
|
||||||
image: woodpeckerci/plugin-docker
|
image: woodpeckerci/plugin-docker
|
||||||
settings:
|
settings:
|
||||||
registry: registry.infra.mintel.me
|
registry: git.infra.mintel.me
|
||||||
repo: registry.infra.mintel.me/mintel/mb-grid-solutions
|
repo: git.infra.mintel.me/mmintel/mb-grid-solutions
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USER
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export const config = {
|
|||||||
// Matcher for all pages and internationalized pathnames
|
// Matcher for all pages and internationalized pathnames
|
||||||
// excluding api, _next, static files, etc.
|
// excluding api, _next, static files, etc.
|
||||||
matcher: [
|
matcher: [
|
||||||
"/((?!api|stats|errors|_next|_vercel|.*\\..*).*)",
|
"/((?!api|admin|stats|errors|_next|_vercel|.*\\..*).*)",
|
||||||
"/",
|
"/",
|
||||||
"/(de)/:path*",
|
"/(de)/:path*",
|
||||||
],
|
],
|
||||||
|
|||||||
BIN
public/assets/AGB MB Grid 3-2026.pdf
Normal file
BIN
public/assets/AGB MB Grid 3-2026.pdf
Normal file
Binary file not shown.
@@ -75,9 +75,15 @@ async function main() {
|
|||||||
);
|
);
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e: unknown) {
|
||||||
const error = e as Error;
|
if (axios.isAxiosError(e) && e.response) {
|
||||||
console.error(`\n❌ Critical Error during Sitemap Fetch:`, error.message);
|
console.error(
|
||||||
|
`\n❌ Critical Error during Sitemap Fetch: HTTP ${e.response.status} ${e.response.statusText}`,
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
const errorMsg = e instanceof Error ? e.message : String(e);
|
||||||
|
console.error(`\n❌ Critical Error during Sitemap Fetch: ${errorMsg}`);
|
||||||
|
}
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ import { Media } from "./collections/Media";
|
|||||||
import { FormSubmissions } from "./collections/FormSubmissions";
|
import { FormSubmissions } from "./collections/FormSubmissions";
|
||||||
import { Pages } from "./collections/Pages";
|
import { Pages } from "./collections/Pages";
|
||||||
|
|
||||||
|
import { migrations } from "../../migrations/index";
|
||||||
|
|
||||||
const filename = fileURLToPath(import.meta.url);
|
const filename = fileURLToPath(import.meta.url);
|
||||||
const dirname = path.dirname(filename);
|
const dirname = path.dirname(filename);
|
||||||
|
|
||||||
@@ -46,6 +48,7 @@ export default buildConfig({
|
|||||||
process.env.POSTGRES_URI ||
|
process.env.POSTGRES_URI ||
|
||||||
`postgresql://${process.env.DIRECTUS_DB_USER || "directus"}:${process.env.DIRECTUS_DB_PASSWORD || "directus"}@127.0.0.1:5432/${process.env.DIRECTUS_DB_NAME || "directus"}`,
|
`postgresql://${process.env.DIRECTUS_DB_USER || "directus"}:${process.env.DIRECTUS_DB_PASSWORD || "directus"}@127.0.0.1:5432/${process.env.DIRECTUS_DB_NAME || "directus"}`,
|
||||||
},
|
},
|
||||||
|
prodMigrations: migrations,
|
||||||
}),
|
}),
|
||||||
...(process.env.SMTP_HOST
|
...(process.env.SMTP_HOST
|
||||||
? {
|
? {
|
||||||
|
|||||||
Reference in New Issue
Block a user