From ff89f8fc86d58d0ae273048fc8a150c7bc663727 Mon Sep 17 00:00:00 2001 From: Sophie Depassio Date: Wed, 11 Dec 2024 11:42:29 +0100 Subject: [PATCH] Check only deb packages with error --- .github/workflows/perl-cpan-libraries.yml | 30 ++++++------- .github/workflows/test-cpan-libraries.yml | 54 +++++++++++------------ 2 files changed, 41 insertions(+), 43 deletions(-) diff --git a/.github/workflows/perl-cpan-libraries.yml b/.github/workflows/perl-cpan-libraries.yml index 90d485b88a..c5da9f8a38 100644 --- a/.github/workflows/perl-cpan-libraries.yml +++ b/.github/workflows/perl-cpan-libraries.yml @@ -6,17 +6,17 @@ concurrency: on: workflow_dispatch: - pull_request: - paths: - - ".github/workflows/perl-cpan-libraries.yml" - push: - branches: - - develop - - dev-[2-9][0-9].[0-9][0-9].x - - master - - "[2-9][0-9].[0-9][0-9].x" - paths: - - ".github/workflows/perl-cpan-libraries.yml" +# pull_request: +# paths: +# - ".github/workflows/perl-cpan-libraries.yml" +# push: +# branches: +# - develop +# - dev-[2-9][0-9].[0-9][0-9].x +# - master +# - "[2-9][0-9].[0-9][0-9].x" +# paths: +# - ".github/workflows/perl-cpan-libraries.yml" jobs: get-environment: @@ -110,6 +110,10 @@ jobs: rpm_provides: "perl(FFI::Platypus::Buffer) perl(FFI::Platypus::Memory)" rpm_dependencies: "perl(Capture::Tiny) perl(FFI::CheckLib) perl(File::Spec::Functions) perl(IPC::Cmd) perl(JSON::PP) perl(List::Util) perl(autodie) perl(constant) perl(parent)" no-auto-depends: true + - name: "Mojo::IOLoop::Signal" + rpm_dependencies: "perl-Mojolicious" + rpm_provides: "perl(Mojo::IOLoop::Signal)" + no-auto-depends: true - name: "Net::DHCP" rpm_provides: "perl(Net::DHCP::Constants) perl(Net::DHCP::Packet)" - name: "Net::SMTPS" @@ -129,10 +133,6 @@ jobs: - name: "ZMQ::LibZMQ4" version: "0.01" rpm_dependencies: "zeromq" - - name: "Mojo::IOLoop::Signal" - rpm_dependencies: "perl-Mojolicious" - rpm_provides: "perl(Mojo::IOLoop::Signal)" - no-auto-depends: true name: package ${{ matrix.distrib }} ${{ matrix.name }} diff --git a/.github/workflows/test-cpan-libraries.yml b/.github/workflows/test-cpan-libraries.yml index c5260c5783..6b96643269 100644 --- a/.github/workflows/test-cpan-libraries.yml +++ b/.github/workflows/test-cpan-libraries.yml @@ -6,17 +6,17 @@ concurrency: on: workflow_dispatch: -# pull_request: -# paths: -# - ".github/workflows/test-cpan-libraries.yml" -# push: -# branches: -# - develop -# - dev-[2-9][0-9].[0-9][0-9].x -# - master -# - "[2-9][0-9].[0-9][0-9].x" -# paths: -# - ".github/workflows/test-cpan-libraries.yml" + pull_request: + paths: + - ".github/workflows/test-cpan-libraries.yml" + push: + branches: + - develop + - dev-[2-9][0-9].[0-9][0-9].x + - master + - "[2-9][0-9].[0-9][0-9].x" + paths: + - ".github/workflows/test-cpan-libraries.yml" jobs: get-environment: @@ -33,10 +33,7 @@ jobs: distrib: [el8, el9] name: [ - "ARGV::Struct", - "BSON", - "FFI::Platypus", - "ZMQ::FFI" + "ARGV::Struct" ] include: - build_distribs: "el8,el9" @@ -44,21 +41,17 @@ jobs: - rpm_provides: "" - version: "" - spec_file: "" - - no-auto-depends: false - distrib: el8 package_extension: rpm image: packaging-plugins-alma8 - distrib: el9 package_extension: rpm image: packaging-plugins-alma9 - - name: "BSON" - rpm_provides: "perl(BSON::Bytes) perl(BSON::Code) perl(BSON::DBRef) perl(BSON::OID) perl(BSON::Raw) perl(BSON::Regex) perl(BSON::Time) perl(BSON::Timestamp) perl(BSON::Types) perl(BSON)" - - name: "FFI::Platypus" - rpm_provides: "perl(FFI::Platypus::Buffer) perl(FFI::Platypus::Memory)" - rpm_dependencies: "perl(Capture::Tiny) perl(FFI::CheckLib) perl(File::Spec::Functions) perl(IPC::Cmd) perl(JSON::PP) perl(List::Util) perl(autodie) perl(constant) perl(parent)" + - name: "Mojo::IOLoop::Signal" + rpm_dependencies: "perl-Mojolicious" + rpm_provides: "perl(Mojo::IOLoop::Signal)" no-auto-depends: true - - name: "ZMQ::FFI" - rpm_dependencies: "zeromq" + name: package ${{ matrix.distrib }} ${{ matrix.name }} container: @@ -232,8 +225,10 @@ jobs: image: [packaging-plugins-bullseye, packaging-plugins-bookworm, packaging-plugins-jammy, packaging-plugins-bullseye-arm64] name: [ - "ARGV::Struct", - "Net::MQTT::Simple", + "Crypt::OpenSSL::AES", + "JMX::Jmx4Perl", + "Net::Amazon::Signature::V4", + "Paws", "ZMQ::LibZMQ4" ] include: @@ -245,7 +240,6 @@ jobs: - version: "" - use_dh_make_perl: "true" - spec_file: "" - - no-auto-depends: false - distrib: bullseye package_extension: deb image: packaging-plugins-bullseye @@ -260,8 +254,12 @@ jobs: image: packaging-plugins-bullseye-arm64 arch: arm64 runner_name: ["self-hosted", "collect-arm64"] - - name: "Net::MQTT::Simple" - version: "1.29" + - name: "Net::Amazon::Signature::V4" + build_distribs: ["bullseye", "jammy"] + - name: "Paws" + use_dh_make_perl: "false" + deb_dependencies: "libmoose-perl libmoosex-classattribute-perl libjson-maybexs-perl liburl-encode-perl libargv-struct-perl libmoo-perl libtype-tiny-perl libdatastruct-flat-perl libmodule-find-perl libthrowable-perl liburi-template-perl libnet-amazon-signature-v4-perl" + no-auto-depends: true - name: "ZMQ::LibZMQ4" use_dh_make_perl: "false" version: "0.01"