Compare commits
58 Commits
v2026.06.05
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| d5ec25e91b | |||
| 9c15e29aa9 | |||
| 92015fc5e9 | |||
| 6722b0e796 | |||
| 88952a4651 | |||
| 9ec0a7b56c | |||
| 30fa99a717 | |||
| 0f375815f2 | |||
| f99dc97528 | |||
| 35b3b8406e | |||
| 88da9ee771 | |||
| ba7bcef05e | |||
| 1af633a619 | |||
| 9600de923c | |||
| 011264a87b | |||
| 7ff805c3a5 | |||
| 3a6190a805 | |||
| a2d18c18d8 | |||
| b5151db0ac | |||
| 28d38a298c | |||
| 80a2ea54be | |||
| 5cd46571f2 | |||
| 9c4f9b95a9 | |||
| e22010a907 | |||
| 5cdb4c63b8 | |||
| 4819d9c7ac | |||
| 1233d80c8f | |||
| 89fb02cdea | |||
| 76254d0dbb | |||
| c4536afa5f | |||
| 72f2568b68 | |||
| 8a49fc57f1 | |||
| a0be839632 | |||
| d5c5d2b6ba | |||
| 3198b21683 | |||
| ca1a732033 | |||
| eb436e2c31 | |||
| 70398efeea | |||
| 806843b9c7 | |||
| 91ab376f38 | |||
| 3496653d33 | |||
| 02b732e24c | |||
| b4420b3f87 | |||
| 1099037db1 | |||
| 8c37c764e9 | |||
| 6c71a2a1f8 | |||
| e308b15255 | |||
| 6f392bbbed | |||
| 4a63bc1da8 | |||
| ca423073f1 | |||
| d066c14d4b | |||
| 23ab939d2f | |||
| 8bf80a9890 | |||
| 359d108fee | |||
| f0291e8827 | |||
| a520a65f1b | |||
| bb8d7f159c | |||
| a92f578dcf |
@@ -0,0 +1 @@
|
|||||||
|
# CI trigger 20260525231507 - post-DinD verification (CAR-1042)
|
||||||
+74
-43
@@ -37,17 +37,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
DATE_TAG=$(date -u +%Y.%m.%d)
|
DATE_TAG=$(date -u +%Y.%m.%d)
|
||||||
EXISTING=$(git tag -l "v${DATE_TAG}*" | sort -V | tail -1)
|
EXISTING=$(git tag -l "v${DATE_TAG}*" | sort -V | tail -1)
|
||||||
if [ -z "$EXISTING" ]; then VERSION="$DATE_TAG"
|
if [ -z "$EXISTING" ]; then
|
||||||
elif [ "$EXISTING" = "v${DATE_TAG}" ]; then VERSION="${DATE_TAG}.2"
|
VERSION="$DATE_TAG"
|
||||||
else BUILD_NUM=$(echo "$EXISTING" | sed "s/v${DATE_TAG}\.//"); VERSION="${DATE_TAG}.$((BUILD_NUM + 1))"; fi
|
elif [ "$EXISTING" = "v${DATE_TAG}" ]; then
|
||||||
|
VERSION="${DATE_TAG}.2"
|
||||||
|
else
|
||||||
|
BUILD_NUM=$(echo "$EXISTING" | sed "s/v${DATE_TAG}\.//"); VERSION="${DATE_TAG}.$((BUILD_NUM + 1))";
|
||||||
|
fi
|
||||||
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login ${{ env.REGISTRY }} -u "${{ github.actor }}" --password-stdin
|
||||||
with:
|
|
||||||
registry: ${{ env.REGISTRY }}
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
|
|
||||||
- name: Extract metadata
|
- name: Extract metadata
|
||||||
id: meta
|
id: meta
|
||||||
@@ -59,11 +59,41 @@ jobs:
|
|||||||
type=raw,value=${{ steps.calver.outputs.version }},enable=${{ github.ref == 'refs/heads/main' }}
|
type=raw,value=${{ steps.calver.outputs.version }},enable=${{ github.ref == 'refs/heads/main' }}
|
||||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
|
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build Docker image
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
load: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
|
- name: Scan Docker image
|
||||||
|
uses: anchore/scan-action@v5
|
||||||
|
id: scan
|
||||||
|
env:
|
||||||
|
GRYPE_CONFIG: .grype.yaml
|
||||||
|
with:
|
||||||
|
image: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:sha-${{ github.sha }}"
|
||||||
|
fail-build: true
|
||||||
|
severity-cutoff: high
|
||||||
|
only-fixed: "true"
|
||||||
|
output-format: sarif
|
||||||
|
|
||||||
|
- name: Push Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
# CAR-1446: git.farh.net does not implement the OCI referrers API.
|
||||||
|
# Verified 2026-06-23: GET /v2/cartsnitch/auth/referrers/{digest} →
|
||||||
|
# HTTP 404 "page not found" (plain proxy 404, not an OCI error — the path
|
||||||
|
# does not exist in this Gitea registry version). OCI Distribution Spec
|
||||||
|
# >=1.1 is required for provenance/SBOM attestation manifests; without it
|
||||||
|
# the docker/build-push-action would fail at the attestation PUT.
|
||||||
|
# Compensating control: the Grype scan step above fails the build on any
|
||||||
|
# unfixed HIGH-severity CVE before the image reaches the registry.
|
||||||
|
provenance: false
|
||||||
|
sbom: false
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
@@ -82,8 +112,8 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: cartsnitch/infra
|
repository: cartsnitch/infra
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.CI_GITEA_TOKEN }}
|
||||||
ref: main
|
ref: ${{ github.ref == 'refs/heads/main' && 'main' || (github.ref == 'refs/heads/uat' && 'uat' || 'dev') }}
|
||||||
path: infra
|
path: infra
|
||||||
|
|
||||||
- name: Install kustomize
|
- name: Install kustomize
|
||||||
@@ -116,7 +146,7 @@ jobs:
|
|||||||
- name: Commit and push to infra (via PR)
|
- name: Commit and push to infra (via PR)
|
||||||
if: needs.build-and-push.result == 'success'
|
if: needs.build-and-push.result == 'success'
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
CI_GITEA_TOKEN: ${{ secrets.CI_GITEA_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cd infra
|
cd infra
|
||||||
@@ -132,10 +162,11 @@ jobs:
|
|||||||
echo "::notice::Refusing to push directly to protected branch — falling back to contents API"
|
echo "::notice::Refusing to push directly to protected branch — falling back to contents API"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
PR_BODY=$(jq -n --arg head "$BRANCH" --arg body "Bumps apps/overlays/dev/kustomization.yaml auth newTag to \`${{ steps.tag.outputs.tag }}\` from cartsnitch/auth CI build $GITHUB_SHA." \
|
TITLE="ci(dev): update auth image (${GITHUB_SHA::12})"
|
||||||
'{head: $head, base: "main", title: ("ci(dev): update auth image (" + env.GITHUB_SHA[:12] + ")"), body: $body}')
|
PR_BODY=$(jq -n --arg head "cartsnitch:${BRANCH}" --arg base main --arg title "$TITLE" --arg body "Bumps apps/overlays/dev/kustomization.yaml auth newTag to \`${{ steps.tag.outputs.tag }}\` from cartsnitch/auth CI build $GITHUB_SHA." \
|
||||||
|
'{head: $head, base: $base, title: $title, body: $body}')
|
||||||
PR_JSON=$(curl -sS -X POST \
|
PR_JSON=$(curl -sS -X POST \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${CI_GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "$PR_BODY" \
|
-d "$PR_BODY" \
|
||||||
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls")
|
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls")
|
||||||
@@ -146,30 +177,31 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "Opened cartsnitch/infra PR #${PR_NUM}"
|
echo "Opened cartsnitch/infra PR #${PR_NUM}"
|
||||||
REVIEW_HTTP=$(curl -sS -o /dev/null -w '%{http_code}' -X POST \
|
REVIEW_HTTP=$(curl -sS -o /dev/null -w '%{http_code}' -X POST \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${CI_GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"reviewers":["cs_savannah"]}' \
|
-d '{"reviewers":["cs_savannah"]}' \
|
||||||
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls/${PR_NUM}/requested_reviewers")
|
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls/${PR_NUM}/requested_reviewers")
|
||||||
if [ "${REVIEW_HTTP}" -lt 200 ] || [ "${REVIEW_HTTP}" -ge 300 ]; then
|
if [ "${REVIEW_HTTP}" -lt 200 ] || [ "${REVIEW_HTTP}" -ge 300 ]; then
|
||||||
echo "::notice::Failed to request reviewers for cartsnitch/infra PR #${PR_NUM} (HTTP ${REVIEW_HTTP}); continuing"
|
echo "::notice::Failed to request reviewers for cartsnitch/infra PR #${PR_NUM} (HTTP ${REVIEW_HTTP}); continuing"
|
||||||
fi
|
fi
|
||||||
|
# CAR-1216: the in-job merge attempt is a best-effort fast-path only.
|
||||||
|
# `cartsnitch/infra` main requires a human approving review; the CI bot
|
||||||
|
# cannot self-approve. Treat any non-merged outcome (approvals pending,
|
||||||
|
# checks pending, any other Gitea message) as the GitOps approval gate
|
||||||
|
# — the PR is already opened and cs_savannah is requested as reviewer.
|
||||||
MERGE_RESP=$(curl -sS -X POST \
|
MERGE_RESP=$(curl -sS -X POST \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${CI_GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"Do":"merge","delete_branch_after_merge":true}' \
|
-d '{"Do":"merge","delete_branch_after_merge":true}' \
|
||||||
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls/${PR_NUM}/merge")
|
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls/${PR_NUM}/merge")
|
||||||
MERGED=$(echo "$MERGE_RESP" | jq -r '.merged // false')
|
MERGED=$(echo "$MERGE_RESP" | jq -r '.merged // false')
|
||||||
if [ "$MERGED" = "true" ]; then
|
if [ "$MERGED" = "true" ]; then
|
||||||
echo "PR #${PR_NUM} merged into cartsnitch/infra main"
|
echo "PR #${PR_NUM} merged into cartsnitch/infra dev"
|
||||||
elif echo "$MERGE_RESP" | grep -qi 'does not have enough approvals'; then
|
|
||||||
# GitOps approval gate: PR is correctly opened and surfaces in
|
|
||||||
# CTO queue via the reviewers request above. Treat as success
|
|
||||||
# so the job does not hard-fail on approvals.
|
|
||||||
echo "::notice::infra PR #${PR_NUM} opened and awaiting CTO (cs_savannah) approve+merge — GitOps approval gate, not a failure"
|
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
echo "::error::Auto-merge of cartsnitch/infra PR #${PR_NUM} failed: $MERGE_RESP"
|
# CAR-1438: PR opened successfully; any non-merged outcome (empty body,
|
||||||
exit 1
|
# approval-gate, pending checks) is the GitOps gate — not a failure.
|
||||||
|
echo "::notice::infra PR #${PR_NUM} opened — auto-merge not available (${MERGE_RESP:-empty response}); awaiting CTO (cs_savannah) approve+merge"
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
deploy-uat:
|
deploy-uat:
|
||||||
@@ -181,8 +213,8 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: cartsnitch/infra
|
repository: cartsnitch/infra
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.CI_GITEA_TOKEN }}
|
||||||
ref: main
|
ref: ${{ github.ref == 'refs/heads/main' && 'main' || (github.ref == 'refs/heads/uat' && 'uat' || 'dev') }}
|
||||||
path: infra
|
path: infra
|
||||||
|
|
||||||
- name: Install kustomize
|
- name: Install kustomize
|
||||||
@@ -215,7 +247,7 @@ jobs:
|
|||||||
- name: Commit and push to infra (via PR)
|
- name: Commit and push to infra (via PR)
|
||||||
if: needs.build-and-push.result == 'success'
|
if: needs.build-and-push.result == 'success'
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
CI_GITEA_TOKEN: ${{ secrets.CI_GITEA_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cd infra
|
cd infra
|
||||||
@@ -231,10 +263,11 @@ jobs:
|
|||||||
echo "::notice::Refusing to push directly to protected branch — falling back to contents API"
|
echo "::notice::Refusing to push directly to protected branch — falling back to contents API"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
PR_BODY=$(jq -n --arg head "$BRANCH" --arg body "Bumps apps/overlays/uat/kustomization.yaml auth newTag to \`${{ steps.tag.outputs.tag }}\` from cartsnitch/auth CI build $GITHUB_SHA." \
|
TITLE="ci(uat): update auth image (${GITHUB_SHA::12})"
|
||||||
'{head: $head, base: "main", title: ("ci(uat): update auth image (" + env.GITHUB_SHA[:12] + ")"), body: $body}')
|
PR_BODY=$(jq -n --arg head "cartsnitch:${BRANCH}" --arg base main --arg title "$TITLE" --arg body "Bumps apps/overlays/uat/kustomization.yaml auth newTag to \`${{ steps.tag.outputs.tag }}\` from cartsnitch/auth CI build $GITHUB_SHA." \
|
||||||
|
'{head: $head, base: $base, title: $title, body: $body}')
|
||||||
PR_JSON=$(curl -sS -X POST \
|
PR_JSON=$(curl -sS -X POST \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${CI_GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "$PR_BODY" \
|
-d "$PR_BODY" \
|
||||||
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls")
|
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls")
|
||||||
@@ -245,28 +278,26 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "Opened cartsnitch/infra PR #${PR_NUM}"
|
echo "Opened cartsnitch/infra PR #${PR_NUM}"
|
||||||
REVIEW_HTTP=$(curl -sS -o /dev/null -w '%{http_code}' -X POST \
|
REVIEW_HTTP=$(curl -sS -o /dev/null -w '%{http_code}' -X POST \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${CI_GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"reviewers":["cs_savannah"]}' \
|
-d '{"reviewers":["cs_savannah"]}' \
|
||||||
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls/${PR_NUM}/requested_reviewers")
|
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls/${PR_NUM}/requested_reviewers")
|
||||||
if [ "${REVIEW_HTTP}" -lt 200 ] || [ "${REVIEW_HTTP}" -ge 300 ]; then
|
if [ "${REVIEW_HTTP}" -lt 200 ] || [ "${REVIEW_HTTP}" -ge 300 ]; then
|
||||||
echo "::notice::Failed to request reviewers for cartsnitch/infra PR #${PR_NUM} (HTTP ${REVIEW_HTTP}); continuing"
|
echo "::notice::Failed to request reviewers for cartsnitch/infra PR #${PR_NUM} (HTTP ${REVIEW_HTTP}); continuing"
|
||||||
fi
|
fi
|
||||||
|
# CAR-1216: see deploy-dev — same never-fail on merge outcome.
|
||||||
MERGE_RESP=$(curl -sS -X POST \
|
MERGE_RESP=$(curl -sS -X POST \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${CI_GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"Do":"merge","delete_branch_after_merge":true}' \
|
-d '{"Do":"merge","delete_branch_after_merge":true}' \
|
||||||
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls/${PR_NUM}/merge")
|
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls/${PR_NUM}/merge")
|
||||||
MERGED=$(echo "$MERGE_RESP" | jq -r '.merged // false')
|
MERGED=$(echo "$MERGE_RESP" | jq -r '.merged // false')
|
||||||
if [ "$MERGED" = "true" ]; then
|
if [ "$MERGED" = "true" ]; then
|
||||||
echo "PR #${PR_NUM} merged into cartsnitch/infra main"
|
echo "PR #${PR_NUM} merged into cartsnitch/infra uat"
|
||||||
elif echo "$MERGE_RESP" | grep -qi 'does not have enough approvals'; then
|
|
||||||
# GitOps approval gate: PR is correctly opened and surfaces in
|
|
||||||
# CTO queue via the reviewers request above. Treat as success
|
|
||||||
# so the job does not hard-fail on approvals.
|
|
||||||
echo "::notice::infra PR #${PR_NUM} opened and awaiting CTO (cs_savannah) approve+merge — GitOps approval gate, not a failure"
|
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
echo "::error::Auto-merge of cartsnitch/infra PR #${PR_NUM} failed: $MERGE_RESP"
|
# CAR-1438: PR opened successfully; any non-merged outcome (empty body,
|
||||||
exit 1
|
# approval-gate, pending checks) is the GitOps gate — not a failure.
|
||||||
|
echo "::notice::infra PR #${PR_NUM} opened — auto-merge not available (${MERGE_RESP:-empty response}); awaiting CTO (cs_savannah) approve+merge"
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Generated
+6
-6
@@ -818,9 +818,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/defu": {
|
"node_modules/defu": {
|
||||||
"version": "6.1.4",
|
"version": "6.1.7",
|
||||||
"resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz",
|
||||||
"integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==",
|
"integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/esbuild": {
|
"node_modules/esbuild": {
|
||||||
@@ -909,9 +909,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/kysely": {
|
"node_modules/kysely": {
|
||||||
"version": "0.28.14",
|
"version": "0.28.17",
|
||||||
"resolved": "https://registry.npmjs.org/kysely/-/kysely-0.28.14.tgz",
|
"resolved": "https://registry.npmjs.org/kysely/-/kysely-0.28.17.tgz",
|
||||||
"integrity": "sha512-SU3lgh0rPvq7upc6vvdVrCsSMUG1h3ChvHVOY7wJ2fw4C9QEB7X3d5eyYEyULUX7UQtxZJtZXGuT6U2US72UYA==",
|
"integrity": "sha512-nbD8lB9EB3wNdMhOCdx5Li8DxnLbvKByylRLcJ1h+4SkrowVeECAyZlyiKMThF7xFdRz0jSQ2MoJr+wXux2y0Q==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"node": ">=20.0.0"
|
||||||
|
|||||||
+6
-1
@@ -21,5 +21,10 @@
|
|||||||
"@types/pg": "^8.11.0",
|
"@types/pg": "^8.11.0",
|
||||||
"tsx": "^4.19.0",
|
"tsx": "^4.19.0",
|
||||||
"typescript": "^5.7.0"
|
"typescript": "^5.7.0"
|
||||||
|
},
|
||||||
|
"overrides": {
|
||||||
|
"picomatch": "^4.0.4",
|
||||||
|
"defu": "^6.1.5",
|
||||||
|
"kysely": "^0.28.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -115,6 +115,9 @@ export const auth = betterAuth({
|
|||||||
trustedOrigins: [
|
trustedOrigins: [
|
||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"http://localhost:5173",
|
"http://localhost:5173",
|
||||||
|
"https://cartsnitch.farh.net",
|
||||||
|
"https://cartsnitch.dev.farh.net",
|
||||||
|
"https://cartsnitch.uat.farh.net",
|
||||||
"https://cartsnitch.com",
|
"https://cartsnitch.com",
|
||||||
"https://dev.cartsnitch.com",
|
"https://dev.cartsnitch.com",
|
||||||
"https://uat.cartsnitch.com",
|
"https://uat.cartsnitch.com",
|
||||||
|
|||||||
Reference in New Issue
Block a user