Skip to content

0.4.0 Release

0.4.0 Release #1994

Workflow file for this run

name: build
on:
workflow_dispatch: # manual trigger
inputs:
run-testenv:
description: "Run test environment if 'true'"
required: false
type: string
default: "false"
pull_request:
types: [ opened, reopened, synchronize, edited, ready_for_review ]
push:
branches: [ "**" ]
tags-ignore:
- v[0-9]+.[0-9]+.[0-9]+
- v[0-9]+.[0-9]+.[0-9]+-*
- canary
paths-ignore:
- ".ci/kubernetes/**"
env:
RUST_BACKTRACE: 1
# Required GitHub repository variables:
# https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job
# OPENDUT_GH_RUNNER_SMALL: runner labels for small jobs
# OPENDUT_GH_RUNNER_LARGE: runner labels for large jobs
jobs:
legal:
uses: ./.github/workflows/job-legal.yaml
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_SMALL || '[\"ubuntu-latest\"]' }}"
generate-sbom:
uses: ./.github/workflows/job-sbom.yaml
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_SMALL || '[\"ubuntu-latest\"]' }}"
test:
uses: ./.github/workflows/job-test.yaml
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
build-carl:
uses: ./.github/workflows/job-build-carl.yaml
needs: [ test ]
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
build-cleo:
uses: ./.github/workflows/job-build-cleo.yaml
needs: [ test ]
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
build-theo:
uses: ./.github/workflows/job-build-theo.yaml
needs: [ test ]
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
build-edgar:
uses: ./.github/workflows/job-build-edgar.yaml
needs: [ test ]
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
build-lea:
uses: ./.github/workflows/job-build-lea.yaml
needs: [ test ]
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
bundle-edgar:
needs: [ legal, build-edgar ]
uses: ./.github/workflows/job-bundle-edgar.yaml
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
bundle-cleo:
needs: [ legal, build-cleo ]
uses: ./.github/workflows/job-bundle-cleo.yaml
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
bundle-carl:
needs: [ legal, build-carl, build-lea, bundle-cleo, bundle-edgar ]
uses: ./.github/workflows/job-bundle-carl.yaml
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
status-check:
needs: [ legal, test ]
runs-on: "${{ fromJson(vars.OPENDUT_GH_RUNNER_SMALL || '[\"ubuntu-latest\"]') }}"
steps:
- run: echo "All jobs required for the status check have been completed."
run-testenv:
uses: ./.github/workflows/job-run-testenv.yaml
needs: [ legal, bundle-carl, bundle-edgar, bundle-cleo ]
with:
runs-on: "${{ vars.OPENDUT_GH_RUNNER_LARGE || '[\"ubuntu-latest\"]' }}"
# run-testenv: "${{ github.event.inputs.run-testenv }}"
run-testenv: "true"
secrets: inherit