chore(ci): package plugins to el9 (#4184)

This commit is contained in:
Kevin Duret 2023-02-08 10:06:25 +01:00 committed by GitHub
parent 7d88f6e0c3
commit 48332cf908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM docker-proxy.centreon.com/almalinux:8.5
FROM docker-proxy.centreon.com/almalinux:8
RUN <<EOF

View File

@ -0,0 +1,13 @@
FROM docker-proxy.centreon.com/almalinux:9
RUN <<EOF
dnf -y install git gettext rpm-build dos2unix python3 epel-release
dnf -y install perl-App-cpanminus perl-JSON
cpanm App::FatPacker
cpanm File::Copy::Recursive
dnf clean all
EOF
WORKDIR /src

View File

@ -19,11 +19,11 @@ on:
jobs:
create-and-push-docker:
runs-on: [self-hosted, common]
runs-on: ubuntu-22.04
strategy:
matrix:
distrib: [centos7, alma8, bullseye]
distrib: [centos7, alma8, alma9, bullseye]
include:
- project: plugins
steps:

View File

@ -36,7 +36,7 @@ jobs:
runs-on: [self-hosted, common]
strategy:
matrix:
distrib: [el7, el8]
distrib: [el7, el8, el9]
steps:
- name: Checkout sources

View File

@ -59,6 +59,9 @@ jobs:
- package_extension: rpm
image: packaging-plugins-alma8
distrib: el8
- package_extension: rpm
image: packaging-plugins-alma9
distrib: el9
- package_extension: deb
image: packaging-plugins-bullseye
distrib: bullseye