Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 554f958ba2 | |||
| c9f174e828 | |||
| 8dce4890c4 | |||
| 963e572291 | |||
| 9887324469 |
@@ -428,7 +428,7 @@ jobs:
|
||||
echo "Waiting 10s for app to fully start..."
|
||||
sleep 10
|
||||
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"
|
||||
|
||||
- name: 🌐 Core Smoke Tests (HTTP, API, Locale)
|
||||
|
||||
@@ -20,7 +20,7 @@ CI (Woodpecker)
|
||||
https://ci.infra.mintel.me
|
||||
|
||||
Container Registry
|
||||
https://registry.infra.mintel.me
|
||||
https://git.infra.mintel.me
|
||||
|
||||
Errors (GlitchTip)
|
||||
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.
|
||||
|
||||
Registry:
|
||||
registry.infra.mintel.me
|
||||
git.infra.mintel.me
|
||||
|
||||
Image naming:
|
||||
registry.infra.mintel.me/ORG/APP_NAME:TAG
|
||||
git.infra.mintel.me/mmintel/APP_NAME:TAG
|
||||
|
||||
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:
|
||||
image: woodpeckerci/plugin-docker
|
||||
settings:
|
||||
registry: registry.infra.mintel.me
|
||||
repo: registry.infra.mintel.me/mintel/mb-grid-solutions
|
||||
registry: git.infra.mintel.me
|
||||
repo: git.infra.mintel.me/mmintel/mb-grid-solutions
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
|
||||
@@ -15,7 +15,7 @@ export const config = {
|
||||
// Matcher for all pages and internationalized pathnames
|
||||
// excluding api, _next, static files, etc.
|
||||
matcher: [
|
||||
"/((?!api|stats|errors|_next|_vercel|.*\\..*).*)",
|
||||
"/((?!api|admin|stats|errors|_next|_vercel|.*\\..*).*)",
|
||||
"/",
|
||||
"/(de)/:path*",
|
||||
],
|
||||
|
||||
@@ -75,9 +75,15 @@ async function main() {
|
||||
);
|
||||
process.exit(0);
|
||||
}
|
||||
} catch (e) {
|
||||
const error = e as Error;
|
||||
console.error(`\n❌ Critical Error during Sitemap Fetch:`, error.message);
|
||||
} catch (e: unknown) {
|
||||
if (axios.isAxiosError(e) && e.response) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user