Skip to Content
Octopus Energy Packages

Service checks

How oe.env validates connectivity to Vercel, GitHub, and CircleCI

Before syncing, oe.env checks that each requested service is reachable and configured for the target being synced.

Implicit and explicit syncs

Running oe.env sync without target flags skips services that are not configured. Running with an explicit service flag, such as --github or --circle-ci, exits with an error if that requested service is not ready.

Vercel

Vercel syncs require the Vercel CLI to be installed and authenticated. If a Vercel target does not include an explicit project name and OE_ENV_VERCEL_PROJECT is not set, the repository must be linked to a Vercel project.

When all Vercel targets include explicit project names, oe.env does not require a linked project.

GitHub

GitHub syncs require the GitHub CLI to be authenticated and able to resolve the current repository.

A GitHub target can write to the repository, to an explicit GitHub environment, or to a GitHub environment selected by OE_ENV_GITHUB_ENVIRONMENT. See GitHub environments for the scope rules.

CircleCI

CircleCI syncs require:

ConfigurationDescription
OE_ENV_CIRCLE_CI_API_TOKENPersonal API token.
OE_ENV_CIRCLE_CI_PROJECTProject slug, unless the target uses --circle-ci=<project>:<env>.

oe.env verifies that the token can access the selected project before syncing.

Varlock

oe.env verifies that varlock can resolve the schema for each selected source environment. If varlock cannot resolve the schema, no values can be synced.

On this page