Commit Graph

8 Commits

Author SHA1 Message Date
72ad41c529 fix: health check retry loop instead of fixed 35s sleep
All checks were successful
NALU Deployment Pipeline / Run Tests (push) Successful in 1m29s
NALU Deployment Pipeline / PR Validation (push) Has been skipped
NALU Deployment Pipeline / Build and Push Image (push) Successful in 1m16s
NALU Deployment Pipeline / Deploy naluai.dev (push) Successful in 47s
NALU Deployment Pipeline / Cleanup Old Resources (push) Successful in 12s
Retry up to 12x with 10s intervals (2 min total).
Also reuse SSH setup in health check step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 22:18:00 -03:00
971c390ea3 fix: remove stack before secret rotation (scale=0 doesn't free secret refs)
Some checks failed
NALU Deployment Pipeline / Run Tests (push) Successful in 1m14s
NALU Deployment Pipeline / PR Validation (push) Has been skipped
NALU Deployment Pipeline / Build and Push Image (push) Successful in 1m59s
NALU Deployment Pipeline / Deploy naluai.dev (push) Failing after 1m8s
NALU Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
docker stack rm nalu releases all secret references.
Wait for services to terminate before recreating secrets.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:43:12 -03:00
958e71d9bf fix: scale service to 0 before secret rotation to avoid AlreadyExists error
Some checks failed
NALU Deployment Pipeline / Run Tests (push) Successful in 1m7s
NALU Deployment Pipeline / PR Validation (push) Has been skipped
NALU Deployment Pipeline / Build and Push Image (push) Failing after 3m51s
NALU Deployment Pipeline / Deploy naluai.dev (push) Has been skipped
NALU Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
Docker Swarm refuses to delete secrets in use by running services.
Scale nalu_app to 0 first, then rotate, then stack deploy re-creates.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 20:21:16 -03:00
c5cb9df468 fix: use env var + sed for SSH key CRLF/escaped-newline handling
Some checks failed
NALU Deployment Pipeline / Run Tests (push) Successful in 1m9s
NALU Deployment Pipeline / PR Validation (push) Has been skipped
NALU Deployment Pipeline / Build and Push Image (push) Successful in 9m41s
NALU Deployment Pipeline / Deploy naluai.dev (push) Failing after 20s
NALU Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
Pass secret via env var (not inline), strip \r, convert literal \n to real newlines.
Added head/wc debug output to diagnose key format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 14:44:51 -03:00
ba72b04313 fix: strip CRLF from SSH key in all workflow steps
Some checks failed
NALU Deployment Pipeline / Run Tests (push) Successful in 1m6s
NALU Deployment Pipeline / PR Validation (push) Has been skipped
NALU Deployment Pipeline / Build and Push Image (push) Failing after 21s
NALU Deployment Pipeline / Deploy naluai.dev (push) Has been skipped
NALU Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
Gitea act runner injects secrets with \r\n line endings.
Use printf + tr -d '\r' instead of echo to avoid libcrypto error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 14:08:47 -03:00
1177322f10 Fix failing tests: case-insensitive accept patterns + correct CPF expectation
Some checks failed
NALU Deployment Pipeline / Run Tests (push) Successful in 4m16s
NALU Deployment Pipeline / PR Validation (push) Has been skipped
NALU Deployment Pipeline / Build and Push Image (push) Failing after 13s
NALU Deployment Pipeline / Deploy naluai.dev (push) Has been skipped
NALU Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
- DeterministicLayer: accept patterns now use IgnoreCase (was None)
- Test: CPF ExtractedValue is raw formatted match, not stripped digits
- CI filter: also exclude McpServerTests (require live server)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 13:02:01 -03:00
9a68120adf Fix CI: update test project reference and namespaces for Nalu.Web
Some checks failed
NALU Deployment Pipeline / Run Tests (push) Failing after 2m29s
NALU Deployment Pipeline / PR Validation (push) Has been skipped
NALU Deployment Pipeline / Build and Push Image (push) Has been skipped
NALU Deployment Pipeline / Deploy naluai.dev (push) Has been skipped
NALU Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
- Test project was referencing non-existent Nalu.Api.csproj → Nalu.Web.csproj
- Replace using Nalu.Api.* → Nalu.Web.* in all test files
- Skip PipelineIntegration tests in CI (require live MongoDB)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 12:49:54 -03:00
e01787ee60 Add deploy infrastructure, missing validators, and new features
- Add Docker Swarm deploy stack, CI workflow (.gitea), entrypoint script
- Fix Dockerfile to build Nalu.Web (was pointing to old Nalu.Api path)
- Add validate_name.md and other missing validators to prod
- Add Stripe endpoints, HangfireDashboardAuth, InputGuard, NameLookupService
- Add SuspiciousRateLimiter, En/ pages, Legal/ pages, Seguranca docs
- Add Nalu.Jobs and Nalu.NameImporter projects (were untracked)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 12:31:12 -03:00