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..."
|
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*",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user