Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 1 | CONTINUOUS INTEGRATION SCRIPTS |
| 2 | ============================== |
| 3 | |
| 4 | Environment Variables Used in Build Scripts |
| 5 | ------------------------------------------- |
| 6 | |
| 7 | - `NODE_LABELS`: the variable defines a list of OS properties. The set values are used by the |
| 8 | build scripts to select proper behavior for different OS. |
| 9 | |
| 10 | The list should include at least `[OS_TYPE]`, `[DISTRO_TYPE]`, and `[DISTRO_VERSION]`. |
| 11 | |
Davide Pesavento | 0530b5b | 2016-11-07 03:23:58 +0100 | [diff] [blame] | 12 | Possible values for Linux: |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 13 | |
| 14 | * `[OS_TYPE]`: `Linux` |
| 15 | * `[DISTRO_TYPE]`: `Ubuntu` |
Davide Pesavento | 844b093 | 2018-05-07 01:00:16 -0400 | [diff] [blame] | 16 | * `[DISTRO_VERSION]`: `Ubuntu-16.04`, `Ubuntu-18.04` |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 17 | |
Davide Pesavento | 534b841 | 2018-12-08 19:19:09 -0500 | [diff] [blame] | 18 | Possible values for macOS: |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 19 | |
| 20 | * `[OS_TYPE]`: `OSX` |
| 21 | * `[DISTRO_TYPE]`: `OSX` (can be absent) |
Davide Pesavento | 534b841 | 2018-12-08 19:19:09 -0500 | [diff] [blame] | 22 | * `[DISTRO_VERSION]`: `OSX-10.12`, `OSX-10.13`, `OSX-10.14` |
Alexander Afanasyev | b346ddb | 2015-06-03 00:52:03 -0400 | [diff] [blame] | 23 | |
| 24 | - `JOB_NAME`: optional variable to define type of the job. Depending on the defined job type, |
| 25 | the build scripts can perform different tasks. |
| 26 | |
| 27 | Possible values: |
| 28 | |
| 29 | * empty: default build process |
Davide Pesavento | cf8a368 | 2018-11-24 19:52:21 -0500 | [diff] [blame] | 30 | * `code-coverage` (Ubuntu Linux is assumed): debug build with tests and code coverage analysis |
Davide Pesavento | 0530b5b | 2016-11-07 03:23:58 +0100 | [diff] [blame] | 31 | * `limited-build`: only a single debug build with tests |
Davide Pesavento | 3cf9078 | 2017-08-10 01:21:20 -0400 | [diff] [blame] | 32 | |
| 33 | - `WAF_JOBS`: number of parallel build jobs used by waf, defaults to 1. |