Generate a SBOM for the Enterprise image #1429
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sourcemeta One CI | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: one-ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| codespell: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: sudo apt-get update && sudo apt-get install --yes codespell | |
| - uses: actions/checkout@v4 | |
| - run: codespell docs *.markdown docs/*.md | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| edition: | |
| - name: community | |
| options: ENTERPRISE=OFF | |
| - name: enterprise | |
| options: ENTERPRISE=ON | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: make docker PRESET=Release ${{ matrix.edition.options }} | |
| - run: ./enterprise/scripts/sbom.sh one "$GITHUB_SHA" | |
| if: matrix.edition.name == 'enterprise' | |
| - name: Sandbox (headless) | |
| uses: ./.github/actions/sandbox | |
| with: | |
| configuration: headless | |
| edition: ${{ matrix.edition.name }} | |
| port: 8000 | |
| - name: Sandbox (html) | |
| uses: ./.github/actions/sandbox | |
| with: | |
| configuration: html | |
| edition: ${{ matrix.edition.name }} | |
| port: 8000 | |
| - name: Sandbox (empty) | |
| uses: ./.github/actions/sandbox | |
| with: | |
| configuration: empty | |
| edition: ${{ matrix.edition.name }} | |
| port: 8000 | |
| # Public instance | |
| - run: docker build . --file public/Dockerfile --progress plain | |
| if: matrix.edition.name == 'enterprise' | |
| website: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.x | |
| - run: pip install mkdocs-material | |
| - run: mkdocs build --config-file mkdocs.yml --strict --site-dir ./build/website |