|
| 1 | +.. |
| 2 | + # ******************************************************************************* |
| 3 | + # Copyright (c) 2026 Contributors to the Eclipse Foundation |
| 4 | + # |
| 5 | + # See the NOTICE file(s) distributed with this work for additional |
| 6 | + # information regarding copyright ownership. |
| 7 | + # |
| 8 | + # This program and the accompanying materials are made available under the |
| 9 | + # terms of the Apache License Version 2.0 which is available at |
| 10 | + # https://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + # |
| 12 | + # SPDX-License-Identifier: Apache-2.0 |
| 13 | + # ******************************************************************************* |
| 14 | +
|
| 15 | +Reference |
| 16 | +========= |
| 17 | + |
| 18 | +This section is a catalogue of *what already exists* in the integration — the |
| 19 | +CI checks that run on every change and the consolidated reports — together with |
| 20 | +the touch-point a new module has in each. Use it to understand where your module |
| 21 | +shows up once it is wired in via the steps above. The supported target platforms |
| 22 | +and their images are listed in :ref:`supported_platforms` (Step 4). |
| 23 | + |
| 24 | +.. _ci_checks: |
| 25 | + |
| 26 | +CI checks |
| 27 | +--------- |
| 28 | + |
| 29 | +The pipelines live under `.github/workflows <../../.github/workflows>`_. Most |
| 30 | +operate on ``//...`` and pick up your module without changes; the table says |
| 31 | +what each check verifies and whether you typically need to touch anything. |
| 32 | + |
| 33 | +**Gating** marks the checks that run in the merge queue |
| 34 | +(``merge_group``) and must therefore be green before a pull request can be |
| 35 | +merged. The remaining checks are informational, run only on ``push``/schedule, |
| 36 | +or gate a different event (release approvals). The definitive list of *required* |
| 37 | +status checks is configured in the repository's GitHub branch-protection / |
| 38 | +merge-queue settings; the column below reflects merge-queue participation |
| 39 | +declared in the workflows. |
| 40 | + |
| 41 | +.. list-table:: |
| 42 | + :header-rows: 1 |
| 43 | + :widths: 30 36 12 22 |
| 44 | + |
| 45 | + * - Check (workflow) |
| 46 | + - What it verifies |
| 47 | + - Gating |
| 48 | + - Your action |
| 49 | + * - `build_and_test_qnx.yml <../../.github/workflows/build_and_test_qnx.yml>`_ |
| 50 | + - Builds the QNX IFS and runs integration tests on QEMU. |
| 51 | + - **yes** |
| 52 | + - none (graph-wide) |
| 53 | + * - `build_and_test_autosd.yml <../../.github/workflows/build_and_test_autosd.yml>`_ |
| 54 | + - Builds the AutoSD OCI image with the Automotive Image Builder. |
| 55 | + - **yes** |
| 56 | + - none (graph-wide) |
| 57 | + * - `build_and_test_ebclfsa.yml <../../.github/workflows/build_and_test_ebclfsa.yml>`_ |
| 58 | + - Builds the EBcLfSA image and runs the high-integrity safety tests. |
| 59 | + - **yes** |
| 60 | + - none (graph-wide) |
| 61 | + * - `known_good_correct.yml <../../.github/workflows/known_good_correct.yml>`_ |
| 62 | + - Fails if the generated Bazel fragments drift from ``known_good.json``. |
| 63 | + - **yes** |
| 64 | + - commit step 1.2 output |
| 65 | + * - `bzlmod-lock.yml <../../.github/workflows/bzlmod-lock.yml>`_ |
| 66 | + - Verifies ``MODULE.bazel.lock`` is consistent with the module graph. |
| 67 | + - **yes** |
| 68 | + - update lockfile if it fails |
| 69 | + * - `format.yml <../../.github/workflows/format.yml>`_ |
| 70 | + - Runs the code-formatting checks. |
| 71 | + - **yes** |
| 72 | + - run the format targets |
| 73 | + * - `codeql-multiple-repo-scan.yml <../../.github/workflows/codeql-multiple-repo-scan.yml>`_ |
| 74 | + - Multi-repository CodeQL security scan across the integrated modules. |
| 75 | + - **yes** |
| 76 | + - none |
| 77 | + * - `test_and_docs.yml <../../.github/workflows/test_and_docs.yml>`_ |
| 78 | + - Code-quality checks, builds the docs and reports, publishes to Pages. |
| 79 | + - **yes** |
| 80 | + - wire docs in Step 2, reports in Step 7 |
| 81 | + * - `check_release_approvals.yml <../../.github/workflows/check_release_approvals.yml>`_ |
| 82 | + - Enforces required approvals on PRs targeting ``releases/*`` branches. |
| 83 | + - release branches only |
| 84 | + - none |
| 85 | + * - `build_and_test_linux.yml <../../.github/workflows/build_and_test_linux.yml>`_ |
| 86 | + - Builds the Linux x86_64 image and runs feature integration tests on Docker. |
| 87 | + - no |
| 88 | + - none (graph-wide) |
| 89 | + * - `internal_tests.yml <../../.github/workflows/internal_tests.yml>`_ |
| 90 | + - Runs the integration tooling tests (``//scripts/tooling:tooling_tests``). |
| 91 | + - no |
| 92 | + - only if you change scripts |
| 93 | + * - `docs_cleanup.yml <../../.github/workflows/docs_cleanup.yml>`_ |
| 94 | + - Scheduled cleanup of published documentation versions. |
| 95 | + - no |
| 96 | + - none |
| 97 | + * - `test_integration.yml <../../.github/workflows/test_integration.yml>`_ / |
| 98 | + `reusable_smoke-test.yml <../../.github/workflows/reusable_smoke-test.yml>`_ / |
| 99 | + `reusable_integration-build.yml <../../.github/workflows/reusable_integration-build.yml>`_ |
| 100 | + - Smoke-test / reusable build of the latest module ``main`` branches. |
| 101 | + - no |
| 102 | + - add runtime targets to |
| 103 | + `ci/showcase_targets_run.txt <../../ci/showcase_targets_run.txt>`_ |
| 104 | + |
| 105 | +.. _reports: |
| 106 | + |
| 107 | +Reports |
| 108 | +------- |
| 109 | + |
| 110 | +The consolidated outputs published by the integration. They are built by |
| 111 | +``test_and_docs.yml`` and rendered into the documentation site. |
| 112 | + |
| 113 | +.. list-table:: |
| 114 | + :header-rows: 1 |
| 115 | + :widths: 30 40 30 |
| 116 | + |
| 117 | + * - Report |
| 118 | + - Contents |
| 119 | + - Source / target |
| 120 | + * - Consolidated documentation |
| 121 | + - All integrated module docs merged into one Sphinx site. |
| 122 | + - `BUILD <../../BUILD>`_ ``docs(...)`` → ``bazel run //:docs_combo`` |
| 123 | + * - Platform verification report |
| 124 | + - Per-release requirements/architecture verification, safety analyses and |
| 125 | + per-test-case results. |
| 126 | + - `docs/verification_report/platform_verification_report.rst <../../docs/verification_report/platform_verification_report.rst>`_ |
| 127 | + * - Unit test summary |
| 128 | + - Per-module unit-test execution table (generated at build time by |
| 129 | + ``quality_runners.py``). |
| 130 | + - `docs/verification_report/unit_test_summary.md <../../docs/verification_report/unit_test_summary.md>`_ |
| 131 | + * - Coverage summary |
| 132 | + - Per-module C++ and Rust coverage table (generated at build time by |
| 133 | + ``quality_runners.py``). |
| 134 | + - `docs/verification_report/coverage_summary.md <../../docs/verification_report/coverage_summary.md>`_ |
| 135 | + * - C++ coverage (per module) |
| 136 | + - lcov/genhtml line/function/branch report for modules declaring ``cpp``. |
| 137 | + - `scripts/quality_runners.py <../../scripts/quality_runners.py>`_ → |
| 138 | + ``python3 scripts/quality_runners.py --modules-to-test <module>`` |
| 139 | + * - Rust coverage reports |
| 140 | + - Per-module Rust line coverage (C0/C1) for modules declaring ``rust``. |
| 141 | + - `rust_coverage/BUILD <../../rust_coverage/BUILD>`_ → |
| 142 | + ``bazel run //rust_coverage:rust_coverage_<module>`` |
| 143 | + * - Overall feature & process status |
| 144 | + - Feature/process completion dashboard derived from the pinned module repos. |
| 145 | + - `docs/s_core_v_1/roadmap/overall_status.rst <../../docs/s_core_v_1/roadmap/overall_status.rst>`_ |
| 146 | + * - Integration status dashboard |
| 147 | + - Live build/health overview of the integration. |
| 148 | + - `status_dashboard.html <https://eclipse-score.github.io/reference_integration/main/status_dashboard.html>`_ |
0 commit comments