mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 09:05:19 +02:00
fix(ci): do not rebuild perl official packages (#4911)
This commit is contained in:
parent
9e43a8dfe5
commit
b4b0d50dee
57
.github/workflows/perl-cpan-libraries.yml
vendored
57
.github/workflows/perl-cpan-libraries.yml
vendored
@ -148,7 +148,8 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_REGISTRY_PASSWD }}
|
password: ${{ secrets.DOCKER_REGISTRY_PASSWD }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
||||||
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
||||||
run: |
|
run: |
|
||||||
@ -204,7 +205,8 @@ jobs:
|
|||||||
cp -r ~/rpmbuild/RPMS/noarch/*.rpm .
|
cp -r ~/rpmbuild/RPMS/noarch/*.rpm .
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Replace '::' with - in the feature path
|
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
||||||
|
name: Replace '::' with - in the feature path
|
||||||
id: package-name
|
id: package-name
|
||||||
run: |
|
run: |
|
||||||
name="${{ matrix.name }}"
|
name="${{ matrix.name }}"
|
||||||
@ -213,7 +215,8 @@ jobs:
|
|||||||
echo "name_with_dash=$name_with_dash" >> $GITHUB_OUTPUT
|
echo "name_with_dash=$name_with_dash" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
||||||
|
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
||||||
with:
|
with:
|
||||||
name: packages-${{ matrix.package_extension }}-${{ matrix.distrib }}-${{ steps.package-name.outputs.name_with_dash }}
|
name: packages-${{ matrix.package_extension }}-${{ matrix.distrib }}-${{ steps.package-name.outputs.name_with_dash }}
|
||||||
path: ./*.${{ matrix.package_extension }}
|
path: ./*.${{ matrix.package_extension }}
|
||||||
@ -230,54 +233,21 @@ jobs:
|
|||||||
distrib: [bullseye, bookworm, jammy]
|
distrib: [bullseye, bookworm, jammy]
|
||||||
name:
|
name:
|
||||||
[
|
[
|
||||||
"Authen::SASL::SASLprep",
|
|
||||||
"Authen::SCRAM::Client",
|
"Authen::SCRAM::Client",
|
||||||
"boolean",
|
|
||||||
"Carp::Assert",
|
|
||||||
"Clone",
|
|
||||||
"Clone::Choose",
|
|
||||||
"Convert::EBCDIC",
|
"Convert::EBCDIC",
|
||||||
"Crypt::Blowfish_PP",
|
"Crypt::Blowfish_PP",
|
||||||
"DateTime::Format::Duration::ISO8601",
|
"DateTime::Format::Duration::ISO8601",
|
||||||
"Device::Modbus",
|
"Device::Modbus",
|
||||||
"Digest::MD5::File",
|
|
||||||
"Digest::SHA1",
|
"Digest::SHA1",
|
||||||
"Email::Send::SMTP::Gmail",
|
"Email::Send::SMTP::Gmail",
|
||||||
"FFI::CheckLib",
|
|
||||||
"File::SearchPath",
|
|
||||||
"Hash::Merge",
|
|
||||||
"Hash::Ordered",
|
"Hash::Ordered",
|
||||||
"HTTP::Daemon",
|
|
||||||
"HTTP::Daemon::SSL",
|
|
||||||
"HTTP::ProxyPAC",
|
"HTTP::ProxyPAC",
|
||||||
"JMX::Jmx4Perl",
|
"JMX::Jmx4Perl",
|
||||||
"JSON::WebToken",
|
|
||||||
"LV",
|
|
||||||
"MIME::Types",
|
|
||||||
"MongoDB",
|
|
||||||
"Net::FTPSSL",
|
"Net::FTPSSL",
|
||||||
"Net::HTTPTunnel",
|
"Net::HTTPTunnel",
|
||||||
"Net::NTP",
|
|
||||||
"Net::SMTPS",
|
|
||||||
"Net::SMTP_auth",
|
"Net::SMTP_auth",
|
||||||
"Net::Subnet",
|
|
||||||
"Net::TFTP",
|
|
||||||
"PBKDF2::Tiny",
|
|
||||||
"Schedule::Cron",
|
|
||||||
"Statistics::Descriptive",
|
|
||||||
"Statistics::Regression",
|
"Statistics::Regression",
|
||||||
"Sys::SigAction",
|
|
||||||
"Term::Clui",
|
|
||||||
"Term::ShellUI",
|
|
||||||
"Unicode::Stringprep",
|
|
||||||
"URI::Encode",
|
|
||||||
"URI::Template",
|
|
||||||
"URL::Encode",
|
|
||||||
"UUID::URandom",
|
|
||||||
"WWW::Selenium",
|
"WWW::Selenium",
|
||||||
"XML::Filter::BufferText",
|
|
||||||
"XML::LibXML::Simple",
|
|
||||||
"XML::SAX::Writer",
|
|
||||||
"ZMQ::Constants",
|
"ZMQ::Constants",
|
||||||
"ZMQ::LibZMQ4"
|
"ZMQ::LibZMQ4"
|
||||||
]
|
]
|
||||||
@ -297,10 +267,9 @@ jobs:
|
|||||||
- distrib: jammy
|
- distrib: jammy
|
||||||
package_extension: deb
|
package_extension: deb
|
||||||
image: packaging-plugins-jammy
|
image: packaging-plugins-jammy
|
||||||
- name: "DateTime::Format::Duration::ISO8601"
|
|
||||||
- name: "Statistics::Regression"
|
- name: "Statistics::Regression"
|
||||||
|
build_distribs: "bullseye"
|
||||||
version: "0.53"
|
version: "0.53"
|
||||||
- name: "ZMQ::Constants"
|
|
||||||
- name: "ZMQ::LibZMQ4"
|
- name: "ZMQ::LibZMQ4"
|
||||||
use_dh_make_perl: "false"
|
use_dh_make_perl: "false"
|
||||||
version: "0.01"
|
version: "0.01"
|
||||||
@ -313,9 +282,11 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_REGISTRY_PASSWD }}
|
password: ${{ secrets.DOCKER_REGISTRY_PASSWD }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
||||||
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Get package version
|
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
||||||
|
name: Get package version
|
||||||
id: package-version
|
id: package-version
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
@ -365,7 +336,8 @@ jobs:
|
|||||||
DEB_BUILD_OPTIONS="nocheck nodocs notest" dh-make-perl make --dist ${{ matrix.distrib }} --build --version ${{ steps.package-version.outputs.package_version }}-${{ matrix.distrib }} --cpan ${{ matrix.name }}
|
DEB_BUILD_OPTIONS="nocheck nodocs notest" dh-make-perl make --dist ${{ matrix.distrib }} --build --version ${{ steps.package-version.outputs.package_version }}-${{ matrix.distrib }} --cpan ${{ matrix.name }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Replace '::' with - in the feature path
|
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
||||||
|
name: Replace '::' with - in the feature path
|
||||||
id: package-name
|
id: package-name
|
||||||
run: |
|
run: |
|
||||||
name="${{ matrix.name }}"
|
name="${{ matrix.name }}"
|
||||||
@ -374,7 +346,8 @@ jobs:
|
|||||||
echo "name_with_dash=$name_with_dash" >> $GITHUB_OUTPUT
|
echo "name_with_dash=$name_with_dash" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
- if: ${{ contains(matrix.build_distribs, matrix.distrib) }}
|
||||||
|
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
|
||||||
with:
|
with:
|
||||||
name: packages-${{ matrix.package_extension }}-${{ matrix.distrib }}-${{ steps.package-name.outputs.name_with_dash}}
|
name: packages-${{ matrix.package_extension }}-${{ matrix.distrib }}-${{ steps.package-name.outputs.name_with_dash}}
|
||||||
path: ./*.${{ matrix.package_extension }}
|
path: ./*.${{ matrix.package_extension }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user