Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gotester/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM golang:1.25-alpine
# bash - shell scripts in CI steps
# bc - floating-point coverage threshold comparison
# curl - downloading tools (Atlas CLI)
# docker-cli - mock e2e tests that spin up containers (e.g. mockchimoney Redis)
# git - Go modules, golangci-lint VCS checks
# grep - GNU grep with -P (PCRE) for extracting coverage thresholds
# make - mock service Makefiles
Expand All @@ -12,6 +13,7 @@ RUN apk add --no-cache \
bash \
bc \
curl \
docker-cli \
git \
grep \
make \
Expand Down
4 changes: 3 additions & 1 deletion gotester/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Pre-built image for running Go unit tests, mock-service tests, and linting in th
| Go | 1.25 | Compile and test Go code |
| golangci-lint | 2.5.0 | Lint all Go packages |
| Atlas CLI | 1.2.0 | Generate database test migrations |
| Docker CLI | — | Mock e2e tests that spin up containers (e.g. Redis) |
| PostgreSQL 17 client | 17.x | `pg_isready` to wait for Postgres service containers |
| GNU grep (PCRE) | — | Extract coverage thresholds with `-oP` |
| bc | — | Floating-point coverage comparison |
Expand All @@ -17,10 +18,11 @@ Pre-built image for running Go unit tests, mock-service tests, and linting in th

## Replaces

This single image replaces the tool-installation steps in two interledger-app workflow templates:
This single image replaces the tool-installation steps in three interledger-app workflow templates:

- **`go-test-template.yml`** — `setup-go`, `Install Atlas CLI`, `pg_isready` wait loop
- **`mock-tester.yml`** — `setup-go`, `golangci-lint-action`, Docker setup
- **`linting.yml`** — `setup-go`, `golangci-lint-action`

## Usage

Expand Down
Loading