Various aspects of ORCA's behavior can be altered at runtime through the use of environment variables. These can be set or exported in a local terminal session or in various ways on Travis CI.
These affect ORCA in all contexts.
-
ORCA_FIXTURE_DIR: Change the directory ORCA uses for test fixtures. Acceptable values are any valid, local directory reference, e.g.,/var/www/example, or../example. -
ORCA_PACKAGES_CONFIG: Completely replace the list of packages ORCA installs in fixtures and runs tests on. Acceptable values are any valid path to a YAML file relative to ORCA itself, e.g.,../example/tests/packages.yml. Seeconfig/packages.ymlfor an example and explanation of the schema. -
ORCA_PACKAGES_CONFIG_ALTER: Alter the main list of packages ORCA installs in fixtures and runs tests on (add, remove, or change packages and their properties). Acceptable values are any valid path to a YAML file relative to ORCA itself, e.g.,../example/tests/packages_alter.yml. See.travis.ymlandexample/tests/packages_alter.ymlfor an example and explanation of the schema. Note: This option should be used conservatively as it erodes the uniformity at the heart of ORCA's representative nature.
These affect ORCA only as invoked via the Travis CI scripts.
-
ORCA_CUSTOM_FIXTURE_INIT_ARGS: Add command-line arguments tofixture:initinvocation in theinstallbuild phase of a custom job. Example:matrix: include: - { name: "Custom job", env: ORCA_JOB=CUSTOM ORCA_CUSTOM_FIXTURE_INIT_ARGS="--profile=lightning" }
-
ORCA_CUSTOM_TESTS_RUN_ARGS: Add command-line arguments to theqa:automated-testsinvocation in thescriptbuild phase of a custom job. Example:matrix: include: - { name: "Custom job", env: ORCA_JOB=CUSTOM ORCA_CUSTOM_TESTS_RUN_ARGS="--sut-only" }
-
ORCA_FIXTURE_PROFILE: Change the Drupal installation profile ORCA installs in fixtures. Note: Changing this value will cause non-SUT automated tests to be skipped in all jobs to avoid failures from changing such a fundamental assumption.
README | Understanding ORCA | Getting Started | Advanced Usage | Project Glossary | FAQ | Contribution Guide