Skip to content

Commit

Permalink
FUSETOOLS2-2272 - generate sbom on GitHub Action
Browse files Browse the repository at this point in the history
Use cdxgen as it is a yarn project, it comes with these limitations
compared to other VS code Camel tooling project:
- mix of hierarchical and flat view of dependencies
- dev dependencies are included

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Jan 31, 2024
1 parent bc48755 commit 8295c88
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ jobs:
- name: Run UI Tests on Other OSes than Linux
run: yarn run test:it:with-prebuilt-vsix
if: ${{ matrix.os != 'ubuntu-latest' }}
- name: Generate SBOM
if: matrix.os == 'ubuntu-latest'
run: |
npm install -g @cyclonedx/cdxgen
cdxgen -o manifest.json
- name: Store SBOM
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest'
with:
name: sbom
path: manifest.json
- name: Archive vsix
uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down

0 comments on commit 8295c88

Please sign in to comment.