Skip to content

Configure Artifact Storage

Build artifacts (APKs, IPAs, etc.) need a storage location. Oore CI supports local filesystem storage, Amazon S3, and Cloudflare R2.

What you need

  • Role: owner or admin
  • A running Oore CI instance in ready state

Storage options

BackendBest forRequirements
LocalSingle-host setups, developmentDaemon filesystem access
S3Production, multi-regionAWS account, S3 bucket
R2Cost-effective productionCloudflare account, R2 bucket
DisabledNo artifact storage needed

Configure via UI

  1. Go to Settings > Artifact Storage in the web UI
  2. Select a storage backend
  3. Enter the required configuration
  4. Click Save

Local storage

No additional configuration needed. Artifacts are stored on the daemon's filesystem and served via signed token URLs.

S3 storage

FieldDescription
Bucket nameS3 bucket name
RegionAWS region (e.g., us-east-1)
Access key IDAWS access key
Secret access keyAWS secret key
PrefixOptional path prefix within the bucket

Create an S3 bucket following the AWS S3 documentation. The IAM credentials need s3:PutObject, s3:GetObject, and s3:DeleteObject permissions on the bucket.

R2 storage

FieldDescription
Bucket nameR2 bucket name
Account IDCloudflare account ID
Access key IDR2 API token access key
Secret access keyR2 API token secret key

Create an R2 bucket following the Cloudflare R2 documentation.

Configure via API

bash
curl -X PUT http://127.0.0.1:8787/v1/settings/artifact-storage \
  -H "Authorization: Bearer <session_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "backend": "s3",
    "config": {
      "bucket": "my-oore-artifacts",
      "region": "us-east-1",
      "access_key_id": "AKIA...",
      "secret_access_key": "..."
    }
  }'

Verify

  1. Trigger a build that produces artifacts
  2. After the build succeeds, click on the build in the UI
  3. Artifacts should appear with download links
  4. Click a download link to verify it works

API endpoints

MethodPathDescription
GET/v1/settings/artifact-storageGet current storage config
PUT/v1/settings/artifact-storageUpdate storage config

Self-hosted mobile CI, built for Flutter.