ci(plugin) update JSON::Path dep on alma8 to same version as other OS
Alma8 don't provide Exporter::shiny in a recent enough version (provide 1.000000 instead of 1.002002) so we must build this dep. REF:CTOR-525
This commit is contained in:
parent
531ac59d6b
commit
799aa4e2b5
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/almalinux:8
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/almalinux:9
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/debian:bookworm
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/debian:bullseye
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/centos:7
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/ubuntu:jammy
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/almalinux:8
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/almalinux:9
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/debian:bookworm
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/debian:bullseye
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG REGISTRY_URL
|
||||
ARG REGISTRY_URL=docker.io
|
||||
|
||||
FROM ${REGISTRY_URL}/ubuntu:jammy
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@ jobs:
|
|||
"Digest::MD5::File",
|
||||
"Digest::SHA1",
|
||||
"Email::Send::SMTP::Gmail",
|
||||
"Exporter::Shiny",
|
||||
"EV",
|
||||
"FFI::CheckLib",
|
||||
"FFI::Platypus",
|
||||
|
@ -121,6 +122,8 @@ jobs:
|
|||
version: "0.022"
|
||||
- name: "Device::Modbus::TCP::Client"
|
||||
version: "0.026"
|
||||
- name: "Exporter::Shiny"
|
||||
build_distribs: el8
|
||||
- name: "EV"
|
||||
- name: "FFI::CheckLib"
|
||||
- name: "FFI::Platypus"
|
||||
|
@ -140,6 +143,7 @@ jobs:
|
|||
use_dh_make_perl: "false"
|
||||
version: "0.01"
|
||||
rpm_dependencies: "zeromq"
|
||||
|
||||
name: package ${{ matrix.distrib }} ${{ matrix.name }}
|
||||
container:
|
||||
image: ${{ vars.DOCKER_INTERNAL_REGISTRY_URL }}/${{ matrix.image }}:latest
|
||||
|
|
|
@ -69,11 +69,8 @@ jobs:
|
|||
dnf install -y cpanminus gcc
|
||||
fi
|
||||
|
||||
if [ "${{ matrix.distrib }}" = "el8" ]; then
|
||||
cpanm -v -l /tmp JSON::Path@0.5
|
||||
else
|
||||
cpanm -v -l /tmp JSON::Path@1.0.4
|
||||
fi
|
||||
cpanm -v -l /tmp JSON::Path@1.0.4
|
||||
|
||||
shell: bash
|
||||
|
||||
- name: Set package name and paths according to distrib
|
||||
|
@ -90,7 +87,6 @@ jobs:
|
|||
else
|
||||
NAME="perl-JSON-Path"
|
||||
if [ "${{ matrix.distrib }}" = "el8" ]; then
|
||||
VERSION="0.5" # https://github.com/centreon/centreon-plugins/issues/4540
|
||||
PERL_VENDORLIB="/usr/local/share/perl5"
|
||||
else
|
||||
PERL_VENDORLIB="/usr/local/share/perl5/$PERL_VERSION"
|
||||
|
|
Loading…
Reference in New Issue