- CHECKLY: Set to
1for all check runs executed by Checkly. - CHECKLY_RUN_SOURCE: Indicates the manual or scheduled check run trigger. Use this variable to skip parts of your test suite in certain scenarios or adjust the check run configuration. Possible values include:
CLI_DEPLOY: Checks deployed usingnpx checkly deployget their first run scheduled with this type.DEPLOYMENT: The check was triggered as part of a CI/CD deployment.GROUP_RUN_ALL: The check was triggered as part of a group edit by a user clicking the “Run all checks” button.SCHEDULE_NOW: The check was triggered manually by a user clicking “Schedule now” in the webapp.SCHEDULER: The check was run as part of its regular schedule.TEST_NO_RECORD: The check triggered from the CLI withnpx checkly test.TEST_RECORD: The check triggered from the CLI withnpx checkly test --record.TRIGGER_API: The check was triggered via the API.TRIGGER_NO_RECORD: The check triggered from the CLI withnpx checkly trigger.TRIGGER_RECORD: The check triggered from the CLI withnpx checkly trigger --record.
- CI: Set to
1for the following check runs:- CLI runs via
npx checkly testornpx checkly trigger. - Check runs that are triggered by deployments.
- CLI runs via
ACCOUNT_ID: The UUID of the Checkly account as found in the URL.CHECK_NAME: The name of the check.CHECKLY_CHECK_ID: The UUID of the check as found in the URL.CHECKLY_REGION: The region in which the check was executed.