Skip to content

Commit

Permalink
Check only deb packages with error
Browse files Browse the repository at this point in the history
  • Loading branch information
sdepassio committed Dec 11, 2024
1 parent 2cc075a commit ff89f8f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 43 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/perl-cpan-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand All @@ -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 }}
Expand Down
54 changes: 26 additions & 28 deletions .github/workflows/test-cpan-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -33,32 +33,25 @@ jobs:
distrib: [el8, el9]
name:
[
"ARGV::Struct",
"BSON",
"FFI::Platypus",
"ZMQ::FFI"
"ARGV::Struct"
]
include:
- build_distribs: "el8,el9"
- rpm_dependencies: ""
- 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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit ff89f8f

Please sign in to comment.