feat(automation): add CT-Automation credential creation #254

Merged
simon merged 1 commit from feat/ct-automation-credential-management-v2 into main 2026-05-30 08:27:07 +00:00
Owner

Summary

  • add a CT-Automation Credentials tab with create and safe metadata listing
  • add server-side credential creation through the CT-Automation credentials API
  • extend unit and E2E coverage for credential creation and listing
  • replacement for #253 with the test private-key fixture split so secret scanning passes

Validation

  • node --experimental-strip-types --test lib/automation/ct-automation-credential-step-core.test.mjs
  • pnpm --filter web type-check
  • pnpm --filter web lint -- app/(dashboard)/automation/jobs/ct-automation-jobs-client.tsx lib/actions/automation.ts lib/automation/ct-automation-api.ts lib/automation/ct-automation-credential-step-core.ts lib/automation/ct-automation-credential-step-core.test.mjs tests/e2e/fixtures/ct-automation.ts tests/e2e/automation/ct-automation-mvp.spec.ts
  • pnpm --filter web test:e2e tests/e2e/automation/ct-automation-mvp.spec.ts
  • gitleaks detect --redact --log-opts origin/main..HEAD

Release notes

  • This is a web feature and should trigger the normal release/image flow after merge.
## Summary - add a CT-Automation Credentials tab with create and safe metadata listing - add server-side credential creation through the CT-Automation credentials API - extend unit and E2E coverage for credential creation and listing - replacement for #253 with the test private-key fixture split so secret scanning passes ## Validation - node --experimental-strip-types --test lib/automation/ct-automation-credential-step-core.test.mjs - pnpm --filter web type-check - pnpm --filter web lint -- app/(dashboard)/automation/jobs/ct-automation-jobs-client.tsx lib/actions/automation.ts lib/automation/ct-automation-api.ts lib/automation/ct-automation-credential-step-core.ts lib/automation/ct-automation-credential-step-core.test.mjs tests/e2e/fixtures/ct-automation.ts tests/e2e/automation/ct-automation-mvp.spec.ts - pnpm --filter web test:e2e tests/e2e/automation/ct-automation-mvp.spec.ts - gitleaks detect --redact --log-opts origin/main..HEAD ## Release notes - This is a web feature and should trigger the normal release/image flow after merge.
feat(automation): add CT-Automation credential creation
Some checks failed
Conventional PR title / Conventional PR title (pull_request) Successful in 0s
PR Checks (Docker images) / Ansible API contract (pull_request) Successful in 6s
PR Checks (Docker images) / Detect Docker image changes (pull_request) Successful in 8s
Secret Scan / gitleaks (pull_request) Successful in 27s
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m8s
PR Checks (Docker images) / Ansible API Docker image (pull_request) Has been skipped
SAST / semgrep (pull_request) Successful in 1m12s
SAST / trivy (filesystem) (pull_request) Failing after 1m42s
SAST / trivy (config / IaC) (pull_request) Failing after 1m41s
SAST / gosec (agent) (pull_request) Successful in 2m9s
SAST / gosec (ingest) (pull_request) Successful in 2m10s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m34s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 8m33s
dc7740028b
simon merged commit 6812324d2c into main 2026-05-30 08:27:07 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carrtech/ct-ops!254
No description provided.