Skip to content

Add note about docs archivization #1

Add note about docs archivization

Add note about docs archivization #1

name: "[PROD] PR ubuntu24 workflow"
run-name: "[PROD] PR ubuntu24 workflow (by @${{ github.actor }} via ${{ github.event_name }})"
on:
push:
branches:
- 'main'
- 'releases/**'
- 'release/**'
paths-ignore:
- '**/model_index.yaml'
- 'docs/**'
- 'infrastructure/**'
pull_request:
paths-ignore:
- '**/model_index.yaml'
- 'docs/**'
- 'infrastructure/**'
workflow_dispatch:
inputs:
test-repo-branch:
description: "Branch in test repo (default is main)"
required: false
type: string
default: "main"
oep-repo-branch:
description: "Branch in Open Edge Platform (default is main)"
required: false
type: string
default: "main"
workflow_call:
inputs:
test-repo-branch:
description: "Branch in test repo (default is main)"
required: false
type: string
default: "main"
oep-repo-branch:
description: "Branch in Open Edge Platform (default is main)"
required: false
type: string
default: "main"
jobs:
vars:
name: Vars
runs-on: [dlstreamer.pipeline-framework, ubuntu]
outputs:
branch: ${{ steps.run.outputs.branch }}
hash: ${{ steps.run.outputs.hash }}
steps:
- name: Build variables
id: run
run: |
echo "branch=$(echo ${GITHUB_REF_NAME} | sed 's/[^a-zA-Z0-9]/-/g' | awk '{print tolower($0)}')" >> $GITHUB_OUTPUT
echo "hash=${GITHUB_SHA:0:8}" >> $GITHUB_OUTPUT
code-scans:
name: Source scan
needs: [vars]
uses: ./.github/workflows/scans-code.yaml
with:
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
hadolint:
name: Hadolint
needs: [vars]
uses: ./.github/workflows/run-hadolint.yaml
with:
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
shellcheck:
name: Shellcheck
needs: [vars]
uses: ./.github/workflows/run-shellcheck.yaml
with:
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
ubuntu24-build-deb-img-and-pkg:
name: U24 BUILD release-img & pkg
needs: [vars]
uses: ./.github/workflows/build-deb-images.yaml
with:
ubuntu_version: ubuntu24
stage: dlstreamer
docker-registry: ${{ vars.DOCKER_REGISTRY }}
branch: ${{ needs.vars.outputs.branch }}
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
ubuntu24-install-dlstreamer-on-host:
name: U24 Install DLS on host
needs: [vars, ubuntu24-build-deb-img-and-pkg]
uses: ./.github/workflows/installation-on-host-24.yaml
with:
apt-version-dls: ${{ needs.ubuntu24-build-deb-img-and-pkg.outputs.apt-version-dls }}
ubuntu-distribution: noble
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
ubuntu24-build-dev-image:
name: U24 BUILD dev-dbg img
uses: ./.github/workflows/build-dev-images.yaml
with:
ubuntu_version: ubuntu24
stage: dlstreamer-dev
docker-registry: ${{ vars.DOCKER_REGISTRY }}
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
unit-tests:
name: U24 Unit tests on dev-dbg img
needs: [vars, ubuntu24-build-dev-image]
uses: ./.github/workflows/only-unit-tests.yaml
with:
image-source: ${{ needs.ubuntu24-build-dev-image.outputs.image }}
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
regression-test-on-deb-image:
name: U24 Regression tests on deb img
needs: [vars, ubuntu24-build-deb-img-and-pkg]
uses: ./.github/workflows/regression-tests.yaml
with:
image: ${{ needs.ubuntu24-build-deb-img-and-pkg.outputs.image-test }}
image-tag: ${{ needs.vars.outputs.hash }}
registry-path: ${{ needs.vars.outputs.branch }}
image-type: onebinary
test-repo-branch: ${{ github.event.inputs.test-repo-branch }}
ubuntu-version: ubuntu24
secrets: inherit
samples-test-on-one-deb-image:
name: U24 Samples tests on deb img
needs: [vars, ubuntu24-build-deb-img-and-pkg]
uses: ./.github/workflows/samples.yaml
with:
image: ${{ needs.ubuntu24-build-deb-img-and-pkg.outputs.image-test }}
image-tag: ${{ needs.vars.outputs.hash }}
registry-path: ${{ needs.vars.outputs.branch }}
image-type: onebinary
test-repo-branch: ${{ github.event.inputs.test-repo-branch }}
ubuntu-version: ubuntu24
secrets: inherit
binary-scan:
name: U24 BDBA and Antivirus
needs: [vars, ubuntu24-build-deb-img-and-pkg]
uses: ./.github/workflows/scans-binary.yaml

Check failure on line 152 in .github/workflows/one-deb-24-workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/one-deb-24-workflow.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/one-deb-24-workflow.yaml" -> "./.github/workflows/scans-binary.yaml" (source branch with sha:3f8cfc65f4bd72af1d6bc9a5bffc69909b9af84e) --> "intel-innersource/frameworks.actions.pact.virus-scan/.github/workflows/AV_Scan.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
apt-version-dls: ${{ needs.ubuntu24-build-deb-img-and-pkg.outputs.apt-version-dls }}
apt-distribution: ${{ needs.ubuntu24-build-deb-img-and-pkg.outputs.apt-distribution }}
secrets: inherit
check-so-file:
needs: [ubuntu24-build-deb-img-and-pkg]
strategy:
matrix:
include:
- type: onebinary
image-minbin-or-devel: ${{ needs.ubuntu24-build-deb-img-and-pkg.outputs.image-release }}
uses: ./.github/workflows/check-file-so.yaml
name: Check so files - ${{ matrix.type }}
with:
image-minbin-or-devel: ${{ matrix.image-minbin-or-devel }}
secrets: inherit
image-scans-trivy:
needs: [ubuntu24-build-deb-img-and-pkg, ubuntu24-build-dev-image]
strategy:
fail-fast: false
matrix:
include:
- ubuntu-ver-type: onebinary-ubuntu24
image: ${{ needs.ubuntu24-build-deb-img-and-pkg.outputs.image-release }}
base-ubuntu: '24.04'
- ubuntu-ver-type: devel-ubuntu24
image: ${{ needs.ubuntu24-build-dev-image.outputs.image }}
base-ubuntu: '24.04'
uses: ./.github/workflows/trivy-scans-image.yaml
name: U24 Trivy img - ${{ matrix.ubuntu-ver-type}}
with:
image: ${{ matrix.image }}
ubuntu-ver-type: ${{ matrix.ubuntu-ver-type }}
base-ubuntu: ${{ matrix.base-ubuntu }}
secrets: inherit
cis-docker-bench:
needs: [ubuntu24-build-deb-img-and-pkg, ubuntu24-build-dev-image]
strategy:
fail-fast: false
matrix:
include:
- ubuntu-ver-type: ubuntu24_onedeb
image: ${{ needs.ubuntu24-build-deb-img-and-pkg.outputs.image-release }}
- ubuntu-ver-type: ubuntu24_dev
image: ${{ needs.ubuntu24-build-dev-image.outputs.image }}
uses: ./.github/workflows/cisdockerbenchmark.yaml
name: U24 CIS-Docker - ${{ matrix.ubuntu-ver-type}}
with:
image: ${{ matrix.image }}
ubuntu-ver-type: ${{ matrix.ubuntu-ver-type }}
artifact-name: cisdockerbench_results_${{ matrix.ubuntu-ver-type }}
config-mode-trivy:
uses: ./.github/workflows/trivy-config-mode.yaml
name: Scan Dockerfiles using Trivy
with:
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
ubuntu22-build-deb-img-and-pkg:
name: U22 BUILD release-img & pkg
needs: [vars]
uses: ./.github/workflows/build-deb-images.yaml
with:
ubuntu_version: ubuntu22
stage: dlstreamer
docker-registry: ${{ vars.DOCKER_REGISTRY }}
branch: ${{ needs.vars.outputs.branch }}
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit
ubuntu22-install-dlstreamer-on-host:
name: U22 Install DLS on host
needs: [vars, ubuntu22-build-deb-img-and-pkg]
uses: ./.github/workflows/installation-on-host-22.yaml
with:
apt-version-dls: ${{ needs.ubuntu22-build-deb-img-and-pkg.outputs.apt-version-dls }}
ubuntu-distribution: jammy
oep-repo-branch: ${{ inputs.oep-repo-branch }}
secrets: inherit