Add el9 to package cloud linux being pushed

This commit is contained in:
Théophile Diot 2024-02-06 16:26:25 +01:00
parent 1b8abc41ae
commit e2f6727022
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06
5 changed files with 28 additions and 21 deletions

View file

@ -179,7 +179,7 @@ jobs:
needs: [wait-builds]
strategy:
matrix:
linux: [ubuntu, debian, fedora, el]
linux: [ubuntu, debian, fedora, el, el9]
arch: [amd64, arm64]
include:
- release: beta
@ -204,7 +204,7 @@ jobs:
suffix: "1."
version: 8
package: rpm
- linux: el
- linux: el9
separator: "-"
suffix: "1."
version: 9
@ -221,11 +221,9 @@ jobs:
- linux: el
arch: amd64
package_arch: x86_64
version: 8
- linux: el
- linux: el9
arch: amd64
package_arch: x86_64
version: 9
- linux: ubuntu
arch: arm64
package_arch: arm64
@ -238,11 +236,9 @@ jobs:
- linux: el
arch: arm64
package_arch: aarch64
version: 8
- linux: el
- linux: el9
arch: arm64
package_arch: aarch64
version: 9
uses: ./.github/workflows/push-packagecloud.yml
with:
SEPARATOR: ${{ matrix.separator }}

View file

@ -164,7 +164,7 @@ jobs:
needs: [tests-ui-linux, tests-core-linux]
strategy:
matrix:
linux: [ubuntu, debian, fedora, el]
linux: [ubuntu, debian, fedora, el, el9]
arch: [amd64]
include:
- release: dev
@ -193,7 +193,7 @@ jobs:
suffix: "1."
version: 8
package: rpm
- linux: el
- linux: el9
package_arch: x86_64
separator: "-"
suffix: "1."

View file

@ -54,7 +54,12 @@ jobs:
name: package-rhel-${{ inputs.PACKAGE_ARCH }}
path: /tmp/${{ inputs.LINUX }}
- uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
if: inputs.LINUX == 'el' && inputs.VERSION == '9'
if: inputs.LINUX == 'el'
with:
name: package-rhel-${{ inputs.PACKAGE_ARCH }}
path: /tmp/${{ inputs.LINUX }}
- uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
if: inputs.LINUX == 'el9'
with:
name: package-rhel9-${{ inputs.PACKAGE_ARCH }}
path: /tmp/${{ inputs.LINUX }}
@ -70,6 +75,7 @@ jobs:
# run: sudo apt install -y rename && rename 's/[0-9]\.[0-9]\.[0-9]/testing/' /tmp/${{ inputs.LINUX }}/*.${{ inputs.PACKAGE }}
# Push package
- name: Push package to packagecloud
if: inputs.LINUX != 'el9'
uses: danielmundi/upload-packagecloud@46cd0e61152bf952dbc0d1759e609d3d22649030 # v1
with:
PACKAGE-NAME: /tmp/${{ inputs.LINUX }}/*.${{ inputs.PACKAGE }}
@ -77,3 +83,12 @@ jobs:
PACKAGECLOUD-REPO: ${{ inputs.REPO }}
PACKAGECLOUD-DISTRIB: ${{ inputs.LINUX }}/${{ inputs.VERSION }}
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
- name: Push package to packagecloud
if: inputs.LINUX == 'el9'
uses: danielmundi/upload-packagecloud@46cd0e61152bf952dbc0d1759e609d3d22649030 # v1
with:
PACKAGE-NAME: /tmp/${{ inputs.LINUX }}/*.${{ inputs.PACKAGE }}
PACKAGECLOUD-USERNAME: bunkerity
PACKAGECLOUD-REPO: ${{ inputs.REPO }}
PACKAGECLOUD-DISTRIB: el/9
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}

View file

@ -191,7 +191,7 @@ jobs:
needs: [wait-builds]
strategy:
matrix:
linux: [ubuntu, debian, fedora, el]
linux: [ubuntu, debian, fedora, el, el9]
arch: [amd64, arm64]
include:
- release: latest
@ -216,7 +216,7 @@ jobs:
suffix: "1."
version: 8
package: rpm
- linux: el
- linux: el9
separator: "-"
suffix: "1."
version: 9
@ -233,11 +233,9 @@ jobs:
- linux: el
arch: amd64
package_arch: x86_64
version: 8
- linux: el
- linux: el9
arch: amd64
package_arch: x86_64
version: 9
- linux: ubuntu
arch: arm64
package_arch: arm64
@ -250,11 +248,9 @@ jobs:
- linux: el
arch: arm64
package_arch: aarch64
version: 8
- linux: el
- linux: el9
arch: arm64
package_arch: aarch64
version: 9
uses: ./.github/workflows/push-packagecloud.yml
with:
SEPARATOR: ${{ matrix.separator }}

View file

@ -199,7 +199,7 @@ jobs:
needs: [staging-tests, tests-ui-linux, tests-core-linux]
strategy:
matrix:
linux: [ubuntu, debian, fedora, el]
linux: [ubuntu, debian, fedora, el, el9]
arch: [amd64]
include:
- release: testing
@ -228,7 +228,7 @@ jobs:
suffix: "1."
version: 8
package: rpm
- linux: el
- linux: el9
package_arch: x86_64
separator: "-"
suffix: "1."