Skip to content

Commit

Permalink
triggering packaging and delivery for deb12 only
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroomempires committed Jan 15, 2024
1 parent 7011c0b commit b6a1d78
Show file tree
Hide file tree
Showing 16 changed files with 362 additions and 362 deletions.
1 change: 0 additions & 1 deletion .github/actions/package-nfpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ runs:
MAJOR_LEFT=$( echo $MAJOR_VERSION | cut -d "." -f1 )
MAJOR_RIGHT=$( echo $MAJOR_VERSION | cut -d "-" -f1 | cut -d "." -f2 )
BUMP_MAJOR_RIGHT=$(( MAJOR_RIGHT_PART + 1 ))
if [ "$MAJOR_RIGHT" = "04" ]; then
BUMP_MAJOR_LEFT="$MAJOR_LEFT"
BUMP_MAJOR_RIGHT="10"
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/connector-vmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,29 +71,29 @@ jobs:
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
stability: ${{ needs.get-environment.outputs.stability }}

deliver-rpm:
needs:
- get-environment
- package
if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common]

strategy:
matrix:
distrib: [el8, el9]

steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Delivery
uses: ./.github/actions/rpm-delivery
with:
module_name: connector-vmware
distrib: ${{ matrix.distrib }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
# deliver-rpm:
# needs:
# - get-environment
# - package
# if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }}
# runs-on: [self-hosted, common]

# strategy:
# matrix:
# distrib: [el8, el9]

# steps:
# - name: Checkout sources
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# - name: Delivery
# uses: ./.github/actions/rpm-delivery
# with:
# module_name: connector-vmware
# distrib: ${{ matrix.distrib }}
# cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
# stability: ${{ needs.get-environment.outputs.stability }}
# artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}

deliver-deb:
needs:
Expand All @@ -104,7 +104,7 @@ jobs:

strategy:
matrix:
distrib: [bullseye, bookworm]
distrib: [bookworm]

steps:
- name: Checkout sources
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/nrpe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,27 +111,27 @@ jobs:
rpm_gpg_signing_passphrase: ${{ secrets.RPM_GPG_SIGNING_PASSPHRASE }}
stability: ${{ needs.get-environment.outputs.stability }}

deliver-rpm:
needs: [get-environment, package]
if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common]

strategy:
matrix:
distrib: [el8, el9]

steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Delivery
uses: ./.github/actions/rpm-delivery
with:
module_name: nrpe
distrib: ${{ matrix.distrib }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
# deliver-rpm:
# needs: [get-environment, package]
# if: ${{ contains(fromJson('["stable", "testing", "unstable"]'), needs.get-environment.outputs.stability) }}
# runs-on: [self-hosted, common]

# strategy:
# matrix:
# distrib: [el8, el9]

# steps:
# - name: Checkout sources
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# - name: Delivery
# uses: ./.github/actions/rpm-delivery
# with:
# module_name: nrpe
# distrib: ${{ matrix.distrib }}
# cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
# stability: ${{ needs.get-environment.outputs.stability }}
# artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}

deliver-deb:
needs: [get-environment, package]
Expand All @@ -140,7 +140,7 @@ jobs:

strategy:
matrix:
distrib: [bullseye]
distrib: [bookworm]

steps:
- name: Checkout sources
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/perl-cpan-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,27 +318,27 @@ jobs:
path: ./*.deb
key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }}

deliver-rpm:
needs: [get-environment, sign-rpm]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common]

strategy:
matrix:
distrib: [el8, el9]

steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Delivery
uses: ./.github/actions/rpm-delivery
with:
module_name: perl-cpan-libraries
distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }}
# deliver-rpm:
# needs: [get-environment, sign-rpm]
# if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
# runs-on: [self-hosted, common]

# strategy:
# matrix:
# distrib: [el8, el9]

# steps:
# - name: Checkout sources
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# - name: Delivery
# uses: ./.github/actions/rpm-delivery
# with:
# module_name: perl-cpan-libraries
# distrib: ${{ matrix.distrib }}
# artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
# cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
# stability: ${{ needs.get-environment.outputs.stability }}

deliver-deb:
needs: [get-environment, download-and-cache-deb]
Expand All @@ -347,7 +347,7 @@ jobs:

strategy:
matrix:
distrib: [bullseye, bookworm]
distrib: [bookworm]

steps:
- name: Checkout sources
Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/perl-crypt-argon2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,29 +129,29 @@ jobs:
path: ./*.${{ matrix.package_extension}}
retention-days: 1

deliver-rpm:
needs: [get-environment, package]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common]

strategy:
matrix:
distrib: [el8, el9]

name: Deliver ${{ matrix.distrib }}

steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Delivery
uses: ./.github/actions/rpm-delivery
with:
module_name: perl-crypt-argon2-amd64
distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpm-perl-crypt-argon2-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }}
stability: ${{ needs.get-environment.outputs.stability }}
# deliver-rpm:
# needs: [get-environment, package]
# if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
# runs-on: [self-hosted, common]

# strategy:
# matrix:
# distrib: [el8, el9]

# name: Deliver ${{ matrix.distrib }}

# steps:
# - name: Checkout sources
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# - name: Delivery
# uses: ./.github/actions/rpm-delivery
# with:
# module_name: perl-crypt-argon2-amd64
# distrib: ${{ matrix.distrib }}
# artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
# cache_key: cache-${{ github.sha }}-rpm-perl-crypt-argon2-${{ matrix.distrib }}-amd64-${{ github.head_ref || github.ref_name }}
# stability: ${{ needs.get-environment.outputs.stability }}

deliver-deb:
needs: [get-environment, package]
Expand All @@ -161,12 +161,12 @@ jobs:
strategy:
matrix:
include:
- distrib: bullseye
arch: amd64
# - distrib: bullseye
# arch: amd64
- distrib: bookworm
arch: amd64
- distrib: bullseye
arch: arm64
# - distrib: bullseye
# arch: arm64

name: Deliver ${{ matrix.distrib }} ${{ matrix.arch }}

Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/perl-filesys-smbclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,27 +145,27 @@ jobs:
path: ./*.deb
key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }}

deliver-rpm:
needs: [get-environment, sign-rpm]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common]

strategy:
matrix:
distrib: [el8, el9]

steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Delivery
uses: ./.github/actions/rpm-delivery
with:
module_name: perl-filesys-smbclient
distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }}
# deliver-rpm:
# needs: [get-environment, sign-rpm]
# if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
# runs-on: [self-hosted, common]

# strategy:
# matrix:
# distrib: [el8, el9]

# steps:
# - name: Checkout sources
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# - name: Delivery
# uses: ./.github/actions/rpm-delivery
# with:
# module_name: perl-filesys-smbclient
# distrib: ${{ matrix.distrib }}
# artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
# cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
# stability: ${{ needs.get-environment.outputs.stability }}

deliver-deb:
needs: [get-environment, package-deb]
Expand All @@ -174,7 +174,7 @@ jobs:

strategy:
matrix:
distrib: [bullseye, bookworm]
distrib: [bookworm]

steps:
- name: Checkout sources
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/perl-json-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,29 +117,29 @@ jobs:
path: ./*.${{ matrix.package_extension}}
retention-days: 1

deliver-rpm:
needs: [get-environment, package]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common]

strategy:
matrix:
distrib: [el8, el9]

name: Deliver ${{ matrix.distrib }}

steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Delivery
uses: ./.github/actions/rpm-delivery
with:
module_name: perl-json-path
distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpm-perl-json-path-${{ matrix.distrib }}-${{ github.head_ref || github.ref_name }}
stability: ${{ needs.get-environment.outputs.stability }}
# deliver-rpm:
# needs: [get-environment, package]
# if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
# runs-on: [self-hosted, common]

# strategy:
# matrix:
# distrib: [el8, el9]

# name: Deliver ${{ matrix.distrib }}

# steps:
# - name: Checkout sources
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# - name: Delivery
# uses: ./.github/actions/rpm-delivery
# with:
# module_name: perl-json-path
# distrib: ${{ matrix.distrib }}
# artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
# cache_key: cache-${{ github.sha }}-rpm-perl-json-path-${{ matrix.distrib }}-${{ github.head_ref || github.ref_name }}
# stability: ${{ needs.get-environment.outputs.stability }}

deliver-deb:
needs: [get-environment, package]
Expand All @@ -148,7 +148,7 @@ jobs:

strategy:
matrix:
distrib: [bullseye, bookworm]
distrib: [bookworm]

name: Deliver ${{ matrix.distrib }}

Expand Down
Loading

0 comments on commit b6a1d78

Please sign in to comment.