mirror of
https://github.com/azaion/loader.git
synced 2026-04-22 15:06:31 +00:00
Add E2E tests, fix bugs
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# CI/CD Pipeline
|
||||
|
||||
## Woodpecker CI
|
||||
|
||||
**Config**: `.woodpecker/build-arm.yml`
|
||||
|
||||
**Trigger**: push or manual event on `dev`, `stage`, `main` branches
|
||||
|
||||
**Platform label**: `arm64`
|
||||
|
||||
## Pipeline Steps
|
||||
|
||||
### Step: build-push
|
||||
|
||||
**Image**: `docker` (Docker-in-Docker)
|
||||
|
||||
**Actions**:
|
||||
1. Determine tag: `arm` for `main` branch, `{branch}-arm` for others
|
||||
2. Build Docker image: `docker build -f Dockerfile -t localhost:5000/loader:$TAG .`
|
||||
3. Push to local registry: `docker push localhost:5000/loader:$TAG`
|
||||
|
||||
**Volumes**: Docker socket (`/var/run/docker.sock`)
|
||||
|
||||
## Notes
|
||||
|
||||
- Only ARM64 builds are configured — no x86/amd64 build target
|
||||
- Registry is `localhost:5000` — a local Docker registry assumed to be running on the CI runner
|
||||
- No test step in the pipeline (no tests exist in the codebase)
|
||||
- No multi-stage build (single Dockerfile, no image size optimization)
|
||||
Reference in New Issue
Block a user