Skip to content

Continuing stabilization for ASB v2 implementation #153

Continuing stabilization for ASB v2 implementation

Continuing stabilization for ASB v2 implementation #153

name: Universal NRP Test
on:
workflow_dispatch:
pull_request:
schedule:
- cron: '0 20 * * *' # Every day at 12pm PST (UTC-8)
jobs:
test:
name: Test
uses: ./.github/workflows/universalnrp-test-run.yml
strategy:
fail-fast: false
matrix:
target:
[
{ os: centos, version: 8, package-type: RPM, tag: ''},
{ os: debian, version: 10, package-type: DEB, tag: ''},
{ os: debian, version: 11, package-type: DEB, tag: ''},
{ os: mariner, version: 2, package-type: RPM, tag: ''},
{ os: oraclelinux, version: 8, package-type: RPM, tag: ''},
{ os: rhel, version: 8, package-type: RPM, tag: ''},
{ os: rhel, version: 9, package-type: RPM, tag: ''},
{ os: rockylinux, version: 9, package-type: RPM, tag: ''},
{ os: sles, version: 15, package-type: RPM, tag: ''},
{ os: ubuntu, version: 20.04, package-type: DEB, tag: ''},
{ os: ubuntu, version: 22.04, package-type: DEB, tag: ''},
]
policy-package:
[
{ path: LinuxSshServerSecurityBaselinePolicy.zip, skip-remediation: false, resource-count: 20 },
{ path: LinuxSecurityBaselinePolicy.zip, skip-remediation: true, resource-count: 168 },
]
arch: [amd64]
install-osconfig: [false]
with:
target: ${{ matrix.target.os }}-${{ matrix.target.version }}
arch: ${{ matrix.arch }}
package-type: ${{ matrix.target.package-type }}
policy-package: ${{ matrix.policy-package.path }}
resource-count: ${{ matrix.policy-package.resource-count }}
skip-remediation: ${{ matrix.policy-package.skip-remediation }}
install-osconfig: ${{ matrix.install-osconfig }}
tag: ${{ matrix.target.tag }}