PHP 8.2.30
Preview: README.md Size: 5.14 KB
/opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/dev/ci/README.md

# 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 <test name>
   |
   +-- 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 <test name>
               |     |     |
               |     |     +-- 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/<test name>/setup
               |     |
               |     +-- Load: dev/ci/tests/<test name>/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 <test name>
   |      |
   |      +-- 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 <test name>
   |           |
   |           +-- 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/<test name>/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 <test name>
   |
   +-- Exec: dev/ci/scripts/debug-console-wrapper.sh dev/ci/scripts/run-tests-natively-stage2.sh <test name>
         |
         +-- 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/<test name>/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
~~~

Directory Contents

Dirs: 3 × Files: 12

Name Size Perms Modified Actions
lib DIR
- drwxr-xr-x 2026-02-13 08:03:52
Edit Download
scripts DIR
- drwxr-xr-x 2026-02-13 08:03:52
Edit Download
tests DIR
- drwxr-xr-x 2026-02-13 08:03:51
Edit Download
788 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.66 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
459 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.29 KB lrwxr-xr-x 2026-01-27 23:50:52
Edit Download
5.14 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.07 KB lrwxr-xr-x 2026-01-27 23:50:52
Edit Download
1.03 KB lrwxr-xr-x 2026-01-27 23:50:52
Edit Download
197 B lrwxr-xr-x 2026-01-27 23:50:52
Edit Download
2.05 KB lrwxr-xr-x 2026-01-27 23:50:52
Edit Download
2.36 KB lrwxr-xr-x 2026-01-27 23:50:52
Edit Download
692 B lrwxr-xr-x 2026-01-27 23:50:52
Edit Download
767 B lrwxr-xr-x 2026-01-27 23:50:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).