Skip to content

Feature/v2 sdk upgrade#2

Merged
leneffets merged 6 commits intomainfrom
feature/v2-sdk-upgrade
Mar 29, 2026
Merged

Feature/v2 sdk upgrade#2
leneffets merged 6 commits intomainfrom
feature/v2-sdk-upgrade

Conversation

@leneffets
Copy link
Copy Markdown
Owner

No description provided.

BREAKING CHANGE: handler functions now accept service interfaces instead of *session.Session.
Config uses config.LoadDefaultConfig instead of session.NewSession.
All packages define their own interfaces for testability.
New GET /secrets endpoint to fetch secrets by name or ARN.
Supports both SecretString and SecretBinary responses.
Add per-package tests for SSM, S3, ECR, STS, and Secrets Manager.
Tests cover happy path, error cases, missing params, and invalid methods.
Integration tests now call real handlers instead of reimplementing logic.
Pin golang:1.26-alpine builder, add go mod download layer caching,
copy CA certificates from builder, run as UID 65534 (nobody).
- Update actions to v4, Go version to 1.26
- Add test step before build in both pipelines
- CI: run on all branches, Docker build-only on feature branches, push on main
- CI: multi-arch Docker (amd64+arm64) with QEMU
- Release: build binaries for linux/darwin (amd64/arm64), attach to release
- Release: multi-arch Docker image tagged with release version
- Update Go requirement to 1.26, container image to v2.0.0
- Document all endpoints including healthz and secrets manager
- Add BIND_ADDRESS env var, graceful shutdown, GitLab CI sidecar example
- Document multi-arch builds in CI/CD section
- Fix trailing comma in devcontainer.json
- Add dist/ to .gitignore
@leneffets leneffets merged commit 140339e into main Mar 29, 2026
2 checks passed
@leneffets leneffets deleted the feature/v2-sdk-upgrade branch March 29, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant