Commit Graph

8 Commits

Author SHA1 Message Date
renovate 91aa7d7eb3 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.30.1 (#2)
openpayments-mock / check (push) Has been skipped
openpayments-mock / vulnerabilities (push) Has been skipped
openpayments-mock / build (push) Successful in 2m21s
2026-04-21 06:06:40 +00:00
argoyle 683d2e95d3 Merge pull request 'chore: Configure Renovate' (#1) from renovate/configure into main
openpayments-mock / check (push) Has been skipped
openpayments-mock / vulnerabilities (push) Has been skipped
openpayments-mock / build (push) Successful in 1m35s
Reviewed-on: #1
2026-04-21 04:31:01 +00:00
argoyle 370ba70177 fix: actually include cmd/service/service.go in the repo
openpayments-mock / check (push) Has been skipped
openpayments-mock / vulnerabilities (push) Has been skipped
openpayments-mock / build (push) Failing after 1m11s
The initial .gitignore had 'service' as a bare pattern, which matches
the cmd/service directory and silently excluded the entire mock
implementation (~28KB of main source). Anchor the ignore patterns
to the repo root so they only match top-level build artefacts, and
force-add the real source now.
2026-04-21 06:20:50 +02:00
renovate c57858cc7b Add renovate.json
openpayments-mock / check (pull_request) Failing after 1m31s
openpayments-mock / build (pull_request) Failing after 1m5s
openpayments-mock / vulnerabilities (pull_request) Failing after 1m36s
2026-04-20 21:06:28 +00:00
argoyle 42a0c280cb revert: drop committed .buildtools.yaml; use BUILDTOOLS_CONTENT secret
openpayments-mock / check (push) Has been skipped
openpayments-mock / vulnerabilities (push) Has been skipped
openpayments-mock / build (push) Failing after 1m4s
Matches the other shiny repos — .buildtools.yaml is per-developer and
globally gitignored. The CI uses BUILDTOOLS_CONTENT injected from a
repo secret which must be configured separately by an admin.
2026-04-20 22:42:54 +02:00
argoyle 6988e966fc ci: add repository field to buildtools config
openpayments-mock / check (push) Has been skipped
openpayments-mock / vulnerabilities (push) Has been skipped
openpayments-mock / build (push) Failing after 1m2s
2026-04-20 22:34:16 +02:00
argoyle b7042f05c6 ci: commit .buildtools.yaml so build job can resolve registry
openpayments-mock / check (push) Has been skipped
openpayments-mock / vulnerabilities (push) Has been skipped
openpayments-mock / build (push) Failing after 1m5s
2026-04-20 22:26:27 +02:00
argoyle 898023c794 feat: Open Payments aggregator mock for acctest
openpayments-mock / check (push) Has been skipped
openpayments-mock / vulnerabilities (push) Has been skipped
openpayments-mock / build (push) Failing after 1m8s
Tiny in-memory stand-in for the Open Payments PSD2/BerlinGroup
aggregator, extracted from acctest where it lived inline (which
couldn't docker-build on the self-hosted CI runner — /.docker/buildx
was read-only). A separate repo:

- lets the mock build + publish its image via the standard shiny CI
  flow, pulled like any other service
- keeps acctest focused on test infra, not service source
- gives the mock its own versioned release lifecycle

**Endpoints** (see README for the full list)
- OAuth: POST /token → canned bearer token.
- AIS: aspsps catalog, consent lifecycle, /authorize self-redirect SCA
  stub, payment + card accounts + transactions.
- PIS: sepa-credit-transfers initiate + status (RCVD → PDNG → ACSC;
  creditor name 'REJECT ME' → RJCT), signing baskets (RCVD → ACCP →
  ACSC; basket ACSC advances all linked payments).
- Admin: /admin/* endpoints let acctest force deterministic
  transitions, seed transactions, reset state, override consent
  expiry.

**CI**
Standard shiny ci.yaml: check (go build + vet), vulnerabilities
(govulncheck), build (buildtools publishes oci.unbound.se/shiny/
openpayments-mock:${COMMIT}). No deploy job — image is consumed by
acctest only.

**k8s/deploy.yaml**
Deployment + Service on port 8080 with /healthz readiness/liveness.
acctest's infra manifest will reference the published tag.
2026-04-20 22:11:12 +02:00