‰PNG  IHDR @ @ ªiqÞ pHYs   šœ —tEXtComment # Continuous integration test suite This directory contains scripts that invoke the Passenger test suite. These scripts are invoked from the Passenger continuous integration environment, based on Jenkins. The following diagrams explain how the different files fit together. ## Flow on Linux ~~~ Invoke: dev/ci/setup-host | | | +-- Load: dev/ci/scripts/setup-host | | | +-- Relax file permissions (if in Jenkins) | | | +-- Create cache directories | | | +-- Create buildout directory | Invoke: dev/ci/run-tests-with-docker | +-- Exec: Docker container Entrypoint: dev/ci/scripts/docker-entrypoint.sh | +-- Exec: dev/ci/scripts/debug-console-wrapper.sh dev/ci/scripts/docker-entrypoint-stage2.sh | +-- Invoke: dev/ci/scripts/docker-entrypoint-stage2.sh | | | +-- Load: dev/ci/lib/setup-container.sh | | | | | +-- Create test/config.json | | | | | +-- Relax home permission | | | | | +-- Remove previous build products | | | | | +-- Load: dev/ci/lib/set-container-envvars.sh | | | | | | | +-- Set RVM version and various envvars | | | | | +-- Load: dev/ci/tests//setup | | | +-- Load: dev/ci/tests//run | +-- (if docker-entrypoint-stage2.sh exited with an error) | Populate buildout/testlogs | +-- (if docker-entrypoint-stage2.sh exited with an error, | and DEBUG_CONSOLE is set to 0) | Print error message and exit | +-- (if docker-entrypoint-stage2.sh exited with an error, and DEBUG_CONSOLE is set to 1) | +-- Load: dev/ci/lib/set-container-envvars.sh | | | +-- Set RVM version and various envvars | +-- Invoke: bash ~~~ ## Flow on macOS ~~~ Invoke: dev/ci/setup-host | | | +-- Relax file permissions (if in Jenkins) | | | +-- Create cache directories | | | +-- Create buildout directory | | | +-- Exec: dev/ci/scripts/debug-console-wrapper.sh dev/ci/scripts/setup-host-natively.sh | | | +-- Invoke: dev/ci/scripts/setup-host-natively.sh | | | | | +-- Load: dev/ci/lib/setup-container.sh | | | | | +-- Create test/config.json | | | | | +-- Relax home permission | | | | | +-- Remove previous build products | | | | | +-- Load: dev/ci/lib/set-container-envvars.sh | | | | | | | +-- Set RVM version and various envvars | | | | | +-- Load: dev/ci/tests//setup | | | +-- (if setup-host-natively.sh exited with an error) | | Populate buildout/testlogs | | | +-- (if setup-host-natively.sh exited with an error, | | and DEBUG_CONSOLE is set to 0) | | Print error message and exit | | | +-- (if setup-host-natively.sh exited with an error, | and DEBUG_CONSOLE is set to 1) | | | +-- Load: dev/ci/lib/set-container-envvars.sh | | | | | +-- Set RVM version and various envvars | | | +-- Invoke: bash | Invoke: dev/ci/run-tests-natively | +-- Exec: dev/ci/scripts/debug-console-wrapper.sh dev/ci/scripts/run-tests-natively-stage2.sh | +-- Invoke: dev/ci/scripts/run-tests-natively-stage2.sh | | | +-- Load: dev/lib/set-container-envvars.sh | | | | | +-- Set RVM version and various envvars | | | +-- Load: dev/ci/tests//run | +-- (if run-tests-natively-stage2.sh exited with an error) | Populate buildout/testlogs | +-- (if run-tests-natively-stage2.sh exited with an error, | and DEBUG_CONSOLE is set to 0) | Print error message and exit | +-- (if run-tests-natively-stage2.sh exited with an error, and DEBUG_CONSOLE is set to 1) | +-- Load: dev/ci/lib/set-container-envvars.sh | | | +-- Set RVM version and various envvars | +-- Invoke: bash ~~~