triggering packaging and delivery for deb12 only

This commit is contained in:
Paul Oureib 2024-01-15 14:27:24 +01:00
parent 7011c0bb51
commit b6a1d789cc
16 changed files with 316 additions and 316 deletions

View File

@ -76,7 +76,6 @@ runs:
MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 ) MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 )
MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 ) MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 )
BUMP_MAJOR_RIGHT=$(( MAJOR_RIGHT_PART + 1 ))
if [ "$MAJOR_RIGHT" = "04" ]; then if [ "$MAJOR_RIGHT" = "04" ]; then
BUMP_MAJOR_LEFT="$MAJOR_LEFT" BUMP_MAJOR_LEFT="$MAJOR_LEFT"
BUMP_MAJOR_RIGHT="10" BUMP_MAJOR_RIGHT="10"

View File

@ -71,29 +71,29 @@ jobs:
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }} rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
stability: ${{ needs.get-environment.outputs.stability }} stability: ${{ needs.get-environment.outputs.stability }}
deliver-rpm: # deliver-rpm:
needs: # needs:
- get-environment # - get-environment
- package # - package
if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: connector-vmware # module_name: connector-vmware
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
deliver-deb: deliver-deb:
needs: needs:
@ -104,7 +104,7 @@ jobs:
strategy: strategy:
matrix: matrix:
distrib: [bullseye, bookworm] distrib: [bookworm]
steps: steps:
- name: Checkout sources - name: Checkout sources

View File

@ -111,27 +111,27 @@ jobs:
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }} rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
stability: ${{ needs.get-environment.outputs.stability }} stability: ${{ needs.get-environment.outputs.stability }}
deliver-rpm: # deliver-rpm:
needs: [get-environment, package] # needs: [get-environment, package]
if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: nrpe # module_name: nrpe
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
deliver-deb: deliver-deb:
needs: [get-environment, package] needs: [get-environment, package]
@ -140,7 +140,7 @@ jobs:
strategy: strategy:
matrix: matrix:
distrib: [bullseye] distrib: [bookworm]
steps: steps:
- name: Checkout sources - name: Checkout sources

View File

@ -318,27 +318,27 @@ jobs:
path: ./*.deb path: ./*.deb
key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }} key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }}
deliver-rpm: # deliver-rpm:
needs: [get-environment, sign-rpm] # needs: [get-environment, sign-rpm]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-cpan-libraries # module_name: perl-cpan-libraries
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: deliver-deb:
needs: [get-environment, download-and-cache-deb] needs: [get-environment, download-and-cache-deb]
@ -347,7 +347,7 @@ jobs:
strategy: strategy:
matrix: matrix:
distrib: [bullseye, bookworm] distrib: [bookworm]
steps: steps:
- name: Checkout sources - name: Checkout sources

View File

@ -129,29 +129,29 @@ jobs:
path: ./*.${{ matrix.package_extension}} path: ./*.${{ matrix.package_extension}}
retention-days: 1 retention-days: 1
deliver-rpm: # deliver-rpm:
needs: [get-environment, package] # needs: [get-environment, package]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
name: Deliver ${{ matrix.distrib }} # name: Deliver ${{ matrix.distrib }}
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-crypt-argon2-amd64 # module_name: perl-crypt-argon2-amd64
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpm-perl-crypt-argon2-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }} # cache_key: cache-${{ github.sha }}-rpm-perl-crypt-argon2-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: deliver-deb:
needs: [get-environment, package] needs: [get-environment, package]
@ -161,12 +161,12 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- distrib: bullseye # - distrib: bullseye
arch: amd64 # arch: amd64
- distrib: bookworm - distrib: bookworm
arch: amd64 arch: amd64
- distrib: bullseye # - distrib: bullseye
arch: arm64 # arch: arm64
name: Deliver ${{ matrix.distrib }} ${{ matrix.arch }} name: Deliver ${{ matrix.distrib }} ${{ matrix.arch }}

View File

@ -145,27 +145,27 @@ jobs:
path: ./*.deb path: ./*.deb
key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }} key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }}
deliver-rpm: # deliver-rpm:
needs: [get-environment, sign-rpm] # needs: [get-environment, sign-rpm]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-filesys-smbclient # module_name: perl-filesys-smbclient
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: deliver-deb:
needs: [get-environment, package-deb] needs: [get-environment, package-deb]
@ -174,7 +174,7 @@ jobs:
strategy: strategy:
matrix: matrix:
distrib: [bullseye, bookworm] distrib: [bookworm]
steps: steps:
- name: Checkout sources - name: Checkout sources

View File

@ -117,29 +117,29 @@ jobs:
path: ./*.${{ matrix.package_extension}} path: ./*.${{ matrix.package_extension}}
retention-days: 1 retention-days: 1
deliver-rpm: # deliver-rpm:
needs: [get-environment, package] # needs: [get-environment, package]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
name: Deliver ${{ matrix.distrib }} # name: Deliver ${{ matrix.distrib }}
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-json-path # module_name: perl-json-path
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpm-perl-json-path-${{ matrix.distrib }}-${{ github.head_ref || github.ref_name }} # cache_key: cache-${{ github.sha }}-rpm-perl-json-path-${{ matrix.distrib }}-${{ github.head_ref || github.ref_name }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: deliver-deb:
needs: [get-environment, package] needs: [get-environment, package]
@ -148,7 +148,7 @@ jobs:
strategy: strategy:
matrix: matrix:
distrib: [bullseye, bookworm] distrib: [bookworm]
name: Deliver ${{ matrix.distrib }} name: Deliver ${{ matrix.distrib }}

View File

@ -153,27 +153,27 @@ jobs:
path: ./*.deb path: ./*.deb
retention-days: 1 retention-days: 1
deliver-rpm: # deliver-rpm:
needs: [get-environment, sign-rpm] # needs: [get-environment, sign-rpm]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-keepass-reader # module_name: perl-keepass-reader
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: deliver-deb:
needs: [get-environment, package-deb] needs: [get-environment, package-deb]
@ -182,7 +182,7 @@ jobs:
strategy: strategy:
matrix: matrix:
distrib: [bullseye, bookworm] distrib: [bookworm]
steps: steps:
- name: Checkout sources - name: Checkout sources

View File

@ -127,29 +127,29 @@ jobs:
path: ./*.${{ matrix.package_extension}} path: ./*.${{ matrix.package_extension}}
retention-days: 1 retention-days: 1
deliver-rpm: # deliver-rpm:
needs: [get-environment, package] # needs: [get-environment, package]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
name: Deliver ${{ matrix.distrib }} # name: Deliver ${{ matrix.distrib }}
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-libssh-session-amd64 # module_name: perl-libssh-session-amd64
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpm-perl-libssh-session-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }} # cache_key: cache-${{ github.sha }}-rpm-perl-libssh-session-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: deliver-deb:
needs: [get-environment, package] needs: [get-environment, package]
@ -159,10 +159,10 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- distrib: bullseye # - distrib: bullseye
arch: amd64 # arch: amd64
- distrib: bullseye # - distrib: bullseye
arch: arm64 # arch: arm64
- distrib: bookworm - distrib: bookworm
arch: amd64 arch: amd64

View File

@ -127,29 +127,29 @@ jobs:
path: ./*.${{ matrix.package_extension}} path: ./*.${{ matrix.package_extension}}
retention-days: 1 retention-days: 1
deliver-rpm: # deliver-rpm:
needs: [get-environment, package] # needs: [get-environment, package]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
name: Deliver ${{ matrix.distrib }} # name: Deliver ${{ matrix.distrib }}
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-net-curl-amd64 # module_name: perl-net-curl-amd64
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpm-perl-net-curl-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }} # cache_key: cache-${{ github.sha }}-rpm-perl-net-curl-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: deliver-deb:
needs: [get-environment, package] needs: [get-environment, package]
@ -159,12 +159,12 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- distrib: bullseye # - distrib: bullseye
arch: amd64 # arch: amd64
- distrib: bookworm - distrib: bookworm
arch: amd64 arch: amd64
- distrib: bullseye # - distrib: bullseye
arch: arm64 # arch: arm64
name: Deliver ${{ matrix.distrib }} ${{ matrix.arch }} name: Deliver ${{ matrix.distrib }} ${{ matrix.arch }}

View File

@ -192,38 +192,38 @@ jobs:
path: ./*.${{ matrix.package_extension}} path: ./*.${{ matrix.package_extension}}
retention-days: 1 retention-days: 1
deliver-rpm: # deliver-rpm:
needs: [get-environment, package] # needs: [get-environment, package]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
name: Deliver ${{ matrix.distrib }} # name: Deliver ${{ matrix.distrib }}
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery libwsman # - name: Delivery libwsman
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: libwsman-amd64 # module_name: libwsman-amd64
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpm-libwsman-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }} # cache_key: cache-${{ github.sha }}-rpm-libwsman-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
- name: Delivery perl-openwsman # - name: Delivery perl-openwsman
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-openwsman-amd64 # module_name: perl-openwsman-amd64
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpm-perl-openwsman-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }} # cache_key: cache-${{ github.sha }}-rpm-perl-openwsman-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: deliver-deb:
needs: [get-environment, package] needs: [get-environment, package]
@ -233,12 +233,12 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- distrib: bullseye # - distrib: bullseye
arch: amd64 # arch: amd64
- distrib: bookworm - distrib: bookworm
arch: amd64 arch: amd64
- distrib: bullseye # - distrib: bullseye
arch: arm64 # arch: arm64
name: Deliver ${{ matrix.distrib }} ${{ matrix.arch }} name: Deliver ${{ matrix.distrib }} ${{ matrix.arch }}

View File

@ -97,29 +97,29 @@ jobs:
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }} rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
stability: ${{ needs.get-environment.outputs.stability }} stability: ${{ needs.get-environment.outputs.stability }}
deliver-rpm: # deliver-rpm:
needs: # needs:
- get-environment # - get-environment
- package # - package
if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: perl-vmware-vsphere # module_name: perl-vmware-vsphere
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
deliver-deb: deliver-deb:
needs: needs:
@ -130,7 +130,7 @@ jobs:
strategy: strategy:
matrix: matrix:
distrib: [bullseye, bookworm] distrib: [bookworm]
steps: steps:
- name: Checkout sources - name: Checkout sources

View File

@ -108,27 +108,27 @@ jobs:
path: ./*.rpm path: ./*.rpm
retention-days: 1 retention-days: 1
deliver-rpm: # deliver-rpm:
needs: [get-environment, sign-rpm] # needs: [get-environment, sign-rpm]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: plink # module_name: plink
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
promote: promote:
needs: [get-environment] needs: [get-environment]

View File

@ -67,28 +67,28 @@ jobs:
stability: ${{ inputs.stability }} stability: ${{ inputs.stability }}
artifactory_token: ${{ secrets.artifactory_token }} artifactory_token: ${{ secrets.artifactory_token }}
deliver-rpm-legacy: # deliver-rpm-legacy:
if: ${{ inputs.stability == 'stable' && github.event_name != 'workflow_dispatch' }} # if: ${{ inputs.stability == 'stable' && github.event_name != 'workflow_dispatch' }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
distrib: [el7, el8] # distrib: [el7, el8]
major_version: ["21.10", "22.04", "22.10"] # major_version: ["21.10", "22.04", "22.10"]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery-legacy # uses: ./.github/actions/rpm-delivery-legacy
with: # with:
module_name: plugins # module_name: plugins
major_version: ${{ matrix.major_version }} # major_version: ${{ matrix.major_version }}
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ inputs.stability }} # stability: ${{ inputs.stability }}
artifactory_token: ${{ secrets.artifactory_token }} # artifactory_token: ${{ secrets.artifactory_token }}
deliver-deb: deliver-deb:
if: ${{ github.event_name != 'workflow_dispatch' }} if: ${{ github.event_name != 'workflow_dispatch' }}
@ -96,7 +96,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
distrib: [bullseye, bookworm] distrib: [bookworm]
steps: steps:
- name: Checkout sources - name: Checkout sources
@ -111,28 +111,28 @@ jobs:
stability: ${{ inputs.stability }} stability: ${{ inputs.stability }}
artifactory_token: ${{ secrets.artifactory_token }} artifactory_token: ${{ secrets.artifactory_token }}
deliver-deb-legacy: # deliver-deb-legacy:
if: ${{ inputs.stability == 'stable' && github.event_name != 'workflow_dispatch' }} # if: ${{ inputs.stability == 'stable' && github.event_name != 'workflow_dispatch' }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
distrib: [bullseye] # distrib: [bullseye]
major_version: ["22.04", "22.10"] # major_version: ["22.04", "22.10"]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/deb-delivery-legacy # uses: ./.github/actions/deb-delivery-legacy
with: # with:
module_name: plugins # module_name: plugins
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
major_version: ${{ matrix.major_version }} # major_version: ${{ matrix.major_version }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }}
stability: ${{ inputs.stability }} # stability: ${{ inputs.stability }}
artifactory_token: ${{ secrets.artifactory_token }} # artifactory_token: ${{ secrets.artifactory_token }}
release-tag: release-tag:
if: ${{ inputs.stability == 'stable' && github.event_name == 'push' }} if: ${{ inputs.stability == 'stable' && github.event_name == 'push' }}

View File

@ -69,24 +69,24 @@ jobs:
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }} rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
stability: ${{ needs.get-environment.outputs.stability }} stability: ${{ needs.get-environment.outputs.stability }}
deliver-rpm: # deliver-rpm:
needs: [get-environment, package] # needs: [get-environment, package]
if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [el8, el9] # distrib: [el8, el9]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/rpm-delivery # uses: ./.github/actions/rpm-delivery
with: # with:
module_name: plugins-selinux # module_name: plugins-selinux
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}

View File

@ -26,6 +26,7 @@ use DBI;
use Digest::MD5 qw(md5_hex); use Digest::MD5 qw(md5_hex);
use POSIX qw(:signal_h); use POSIX qw(:signal_h);
my %handlers = ( ALRM => {} ); my %handlers = ( ALRM => {} );
sub new { sub new {