Files
services/apps/cloudflare-metrics/.integration.env
T

13 lines
684 B
Bash

# 1Password-templated env file loaded by `op run` in CI.
#
# To run integration tests locally:
# op run --env-file=apps/cloudflare-metrics/.integration.env -- \
# pnpm --filter @immich-services/cloudflare-metrics run test:integration
#
# The 1Password item and field names below are placeholders — set them up
# in the service account's vault before the CI job can run. Both need to
# map to a Cloudflare API token that has `Account Analytics:Read` and
# `Zone:Read` for the dev account.
CLOUDFLARE_API_TOKEN="op://services-cf-workers-dev/cloudflare-metrics-integration/api_token"
CLOUDFLARE_ACCOUNT_ID="op://services-cf-workers-dev/cloudflare-metrics-integration/account_id"