7 Commits

Author SHA1 Message Date
Sharang Parnerkar
78b215bb77 ci: retrigger after transient clippy failure
Some checks failed
CI / Clippy (push) Successful in 2m54s
CI / Format (push) Successful in 4s
CI / Security Audit (push) Successful in 1m45s
CI / Tests (push) Successful in 4m11s
CI / Deploy (push) Successful in 1m28s
CI / E2E Tests (push) Failing after 1s
2026-04-08 16:20:43 +02:00
Sharang Parnerkar
58428892a8 ci: log orca webhook response so the step isnt silent on success
Some checks failed
CI / Format (push) Successful in 5s
CI / Clippy (push) Failing after 2s
CI / Security Audit (push) Successful in 1m52s
CI / Tests (push) Has been skipped
CI / Deploy (push) Has been skipped
CI / E2E Tests (push) Has been skipped
2026-04-08 15:09:01 +02:00
Sharang Parnerkar
24b604ce51 ci: install openssl for orca webhook HMAC signing
Some checks failed
CI / Clippy (push) Successful in 2m59s
CI / Security Audit (push) Successful in 1m54s
CI / Tests (push) Successful in 4m16s
CI / Deploy (push) Successful in 1m25s
CI / E2E Tests (push) Failing after 1s
CI / Format (push) Successful in 5s
2026-04-08 14:56:12 +02:00
Sharang Parnerkar
a02827a34b ci: smoke test full deploy cycle (build → push → orca redeploy)
Some checks failed
CI / Format (push) Successful in 4s
CI / Clippy (push) Successful in 3m4s
CI / Security Audit (push) Successful in 1m43s
CI / Tests (push) Successful in 3m59s
CI / Deploy (push) Failing after 1m19s
CI / E2E Tests (push) Has been skipped
2026-04-08 12:58:53 +02:00
Sharang Parnerkar
5b431f65dc chore(deps): cargo update to fix audit vulnerabilities
Some checks failed
CI / Format (push) Successful in 4s
CI / Clippy (push) Successful in 2m46s
CI / Security Audit (push) Successful in 1m44s
CI / Deploy (push) Successful in 13m45s
CI / E2E Tests (push) Failing after 15s
CI / Tests (push) Successful in 3m53s
Bumps transitive deps (aws-lc-sys, quinn-proto, rustls-webpki, etc.)
to versions without RUSTSEC advisories. Two unmaintained-warning
deps remain (fxhash via scraper, instant via async-stripe) but
those are non-blocking warnings only.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 10:05:36 +02:00
Sharang Parnerkar
b5ee887387 ci: replace coolify webhook with orca deploy
Some checks failed
CI / Security Audit (push) Failing after 1m43s
CI / Tests (push) Has been skipped
CI / Deploy (push) Has been skipped
CI / E2E Tests (push) Has been skipped
CI / Format (push) Successful in 22s
CI / Clippy (push) Successful in 2m49s
Build and push image to registry, then trigger orca redeploy via
HMAC-signed webhook. Coolify webhook is no longer the source of truth.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 09:31:43 +02:00
75a35dbb85 feat(sidebar): add compliance scanner link from env config (#19)
Some checks failed
CI / Format (push) Successful in 4s
CI / Clippy (push) Successful in 2m43s
CI / Security Audit (push) Successful in 1m37s
CI / Tests (push) Successful in 3m54s
CI / Deploy (push) Successful in 2s
CI / E2E Tests (push) Failing after 31s
2026-03-09 08:39:00 +00:00
2 changed files with 418 additions and 337 deletions

View File

@@ -262,10 +262,30 @@ jobs:
needs: [test]
if: github.ref == 'refs/heads/main'
container:
image: alpine:latest
image: docker:27-cli
steps:
- name: Trigger Coolify deploy
- name: Checkout
run: |
apk add --no-cache curl
curl -sf "${{ secrets.COOLIFY_WEBHOOK }}" \
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}"
apk add --no-cache git curl openssl
git init
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch --depth=1 origin "${GITHUB_SHA}"
git checkout FETCH_HEAD
- name: Build and push image
run: |
IMAGE=registry.meghsakha.com/certifai-dashboard
echo "${{ secrets.REGISTRY_PASSWORD }}" | \
docker login registry.meghsakha.com -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
docker build -t "$IMAGE:latest" -t "$IMAGE:${GITHUB_SHA}" .
docker push "$IMAGE:latest"
docker push "$IMAGE:${GITHUB_SHA}"
- name: Trigger orca redeploy
run: |
PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"sharang/certifai"},"head_commit":{"id":"%s","message":"CI deploy"}}' "${GITHUB_SHA}")
SIG=$(printf '%s' "$PAYLOAD" | openssl dgst -sha256 -hmac "${{ secrets.ORCA_WEBHOOK_SECRET }}" | awk '{print $2}')
echo "Calling orca webhook for sharang/certifai@${GITHUB_SHA}"
RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "http://46.225.100.82:6880/api/v1/webhooks/github" \
-H "Content-Type: application/json" \
-H "X-Hub-Signature-256: sha256=$SIG" \
-d "$PAYLOAD")
echo "$RESP"

725
Cargo.lock generated

File diff suppressed because it is too large Load Diff