Skip to content

Commit

Permalink
rm: Add details of new DISABLE_SBOM container CI variable
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Doan <[email protected]>
  • Loading branch information
doanac committed May 29, 2024
1 parent 5bdf234 commit 23d1ffc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/reference-manual/factory/factory-definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,13 @@ Optionally, use a custom version of ci-scripts_ to perform CI builds.

**Default:** master

Variables
^^^^^^^^^

* **DISABLE_SBOM**:
With this variable set to ``1``, container CI builds will skip the SBOM generation step.

Check warning on line 299 in source/reference-manual/factory/factory-definition.rst

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Fio-docs.expand-acronyms] 'SBOM' has no definition, definition is missing capitalization, or is a variable name and should be written as a literal. Raw Output: {"message": "[Fio-docs.expand-acronyms] 'SBOM' has no definition, definition is missing capitalization, or is a variable name and should be written as a literal.", "location": {"path": "source/reference-manual/factory/factory-definition.rst", "range": {"start": {"line": 299, "column": 83}}}, "severity": "WARNING"}
Reference: :ref:`sbom`.


.. # define a hard line break for HTML
.. |br| raw:: html
Expand Down
2 changes: 2 additions & 0 deletions source/reference-manual/factory/sboms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Syft Artifacts
Container builds produce an SPDX file for each container/architecture.
This will look like ``hub.foundries.io/<FACTORY>/shellhttpd/arm64.sdpx.json``.

Customers may disable generating SBOMs for containers by setting the environment variable ``DISABLE_SBOM=1`` in their :ref:`ref-factory-definition`.

Working With SBOMs
------------------

Expand Down

0 comments on commit 23d1ffc

Please sign in to comment.