fix(ci): add missing image + fix path for tests on noble

This commit is contained in:
omercier 2025-03-20 11:29:56 +01:00 committed by David Boucher
parent 6027943d65
commit 6f94314a60
8 changed files with 12 additions and 10 deletions

View File

@ -24,4 +24,6 @@ runs:
- name: Install, test and remove plugin - name: Install, test and remove plugin
shell: bash shell: bash
run: python3 .github/scripts/test-all-plugins.py ${{ inputs.package-extension }} ${{ inputs.plugin-list }} run: |
[[ -f /.venv/bin/activate ]] && source /.venv/bin/activate
python3 .github/scripts/test-all-plugins.py ${{ inputs.package-extension }} ${{ inputs.plugin-list }}

View File

@ -12,7 +12,7 @@ dnf clean all
dnf install -y python3.11 python3.11-pip dnf install -y python3.11 python3.11-pip
pip3.11 install robotframework robotframework-examples pip3.11 install robotframework robotframework-examples
# Install snmpsim # Install snmpsim
pip3.11 install snmpsim-lextudio pip3.11 install snmpsim
# Install node # Install node
curl -fsSL https://rpm.nodesource.com/setup_21.x | bash - curl -fsSL https://rpm.nodesource.com/setup_21.x | bash -

View File

@ -12,7 +12,7 @@ dnf clean all
dnf install -y python3.11 python3.11-pip dnf install -y python3.11 python3.11-pip
pip3.11 install robotframework robotframework-examples pip3.11 install robotframework robotframework-examples
# Install snmpsim # Install snmpsim
pip3.11 install snmpsim-lextudio pip3.11 install snmpsim
# Install node # Install node
curl -fsSL https://rpm.nodesource.com/setup_21.x | bash - curl -fsSL https://rpm.nodesource.com/setup_21.x | bash -

View File

@ -28,7 +28,7 @@ apt-get install -y python3-dev python3-pip
rm -rf /usr/lib/python3.11/EXTERNALLY-MANAGED rm -rf /usr/lib/python3.11/EXTERNALLY-MANAGED
pip3 install robotframework robotframework-examples pip3 install robotframework robotframework-examples
# Install snmpsim # Install snmpsim
pip3 install snmpsim-lextudio pip3 install snmpsim
# Install nodejs # Install nodejs
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\ curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\

View File

@ -27,7 +27,7 @@ apt-get update
apt-get install -y python3 python3-dev python3-pip apt-get install -y python3 python3-dev python3-pip
pip3 install robotframework robotframework-examples pip3 install robotframework robotframework-examples
# Install snmpsim # Install snmpsim
pip3 install snmpsim-lextudio pip3 install snmpsim
# Install nodejs # Install nodejs
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\ curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\

View File

@ -27,7 +27,7 @@ apt-get update
apt-get install -y python3 python3-dev python3-pip apt-get install -y python3 python3-dev python3-pip
pip3 install robotframework robotframework-examples pip3 install robotframework robotframework-examples
# Install snmpsim # Install snmpsim
pip3 install snmpsim-lextudio pip3 install snmpsim
# Install nodejs # Install nodejs
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\ curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\

View File

@ -29,9 +29,9 @@ python3 -m venv .venv
source .venv/bin/activate source .venv/bin/activate
# Install Robotframework # Install Robotframework
apt-get install -y python3 python3-dev python3-pip apt-get install -y python3 python3-dev python3-pip
.venv/bin/pip3 install robotframework robotframework-examples pip3 install robotframework robotframework-examples
# Install snmpsim # Install snmpsim
.venv/bin/pip3 install snmpsim-lextudio pip3 install snmpsim
# Install nodejs # Install nodejs
curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\ curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\

View File

@ -98,7 +98,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
image: [unit-tests-alma8, unit-tests-alma9, unit-tests-bullseye, unit-tests-bullseye-arm64, unit-tests-bookworm, unit-tests-jammy] image: [unit-tests-alma8, unit-tests-alma9, unit-tests-bullseye, unit-tests-bullseye-arm64, unit-tests-bookworm, unit-tests-jammy, unit-tests-noble]
include: include:
- runner_name: ubuntu-24.04 - runner_name: ubuntu-24.04
- package_extension: rpm - package_extension: rpm
@ -317,7 +317,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
image: [testing-plugins-alma8, testing-plugins-alma9, testing-plugins-jammy, testing-plugins-bullseye, testing-plugins-bookworm] image: [testing-plugins-alma8, testing-plugins-alma9, testing-plugins-jammy, testing-plugins-bullseye, testing-plugins-bookworm, testing-plugins-noble, testing-plugins-bullseye-arm64]
include: include:
- runner_name: ubuntu-24.04 - runner_name: ubuntu-24.04
- package_extension: rpm - package_extension: rpm