@@ -65,21 +65,22 @@ jobs:
6565 with :
6666 sarif_file : ' trivy-results-${{ matrix.rubygem_puppet }}.sarif'
6767
68- # - name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
69- # uses: aquasecurity/trivy-action@master
70- # with:
71- # scan-type: 'image'
72- # format: 'github'
73- # output: 'dependency-results.sbom.json'
74- # image-ref: 'ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }}'
75- # github-pat: ${{ secrets.GITHUB_TOKEN }}
68+ - name : Clone voxpupuli/puppet-example repository
69+ uses : actions/checkout@v4
70+ with :
71+ repository : voxpupuli/puppet-example
7672
77- # - name: Upload trivy report as a Github artifact
78- # uses: actions/upload-artifact@v4
79- # with:
80- # name: trivy-sbom-report
81- # path: '${{ github.workspace }}/dependency-results.sbom.json'
82- # retention-days: 20 # 90 is the default
73+ - name : Test container
74+ run : |
75+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile -T
76+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile lint
77+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile metadata_lint
78+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile strings:validate:reference
79+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile rubocop
80+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile syntax
81+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile spec
82+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile r10k:syntax
83+ docker run --rm -v $(pwd):/repo ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} -f /Rakefile r10k:dependencies
8384
8485 tests :
8586 needs :
0 commit comments