Skip to content

disable debian13 and el10 #74

disable debian13 and el10

disable debian13 and el10 #74

name: build-artifacts.yml
permissions:
contents: read
id-token: write
attestations: write
on:
workflow_dispatch:
push:
branches:
- "dev/*"
- "hotfix/*"
tags:
- "*"
jobs:
build-artifacts:
strategy:
matrix:
distro:
- el8
- el9
# - el10
- amzn2023
- debian12
# - debian13
- ubuntu20.04
- ubuntu22.04
- ubuntu24.04
host:
- ubuntu-24.04
- ubuntu-24.04-arm
uses: aerospike/shared-workflows/.github/workflows/[email protected]
with:
runs-on: ${{ matrix.host }}
jf-project: database
jf-build-id: ${{ github.run_number }}
# this is the default behaviour so we can leave it out but if it is wanted to be explicit
# we need to use the ref not the ref_name in github actions. The ref_name is the short name and so not a valid ref.
# gh-source-ref: ${{ github.ref }}
build-script: |
set -xeuo pipefail
cd local
git fetch --unshallow --tags --no-recurse-submodules
git submodule update --init
ls -laht
echo ref_name ${{ github.ref_name }}
git branch -v
.github/packaging/common/entrypoint.sh -c -d ${{ matrix.distro }}
.github/packaging/common/entrypoint.sh -e -d ${{ matrix.distro }}
ls -laht ../dist
gh-artifact-directory: dist
gh-artifact-name: unsigned-artifacts-${{ matrix.distro }}-${{ matrix.host }}
gh-retention-days: 1
dry-run: false
oidc-provider-name: database-gh-aerospike
oidc-audience: database-gh-aerospike
jf-build-name: asbackup
sign-artifacts:
strategy:
matrix:
distro:
- el8
- el9
# - el10
- amzn2023
- debian12
# - debian13
- ubuntu20.04
- ubuntu22.04
- ubuntu24.04
host:
- ubuntu-24.04
- ubuntu-24.04-arm
needs: build-artifacts
uses: aerospike/shared-workflows/.github/workflows/[email protected]
with:
gh-artifact-name: signed-artifacts-${{ matrix.distro }}-${{ matrix.host }}
gh-unsigned-artifacts: unsigned-artifacts-${{ matrix.distro }}-${{ matrix.host }}
secrets:
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-public-key: ${{ secrets.GPG_PUBLIC_KEY }}
gpg-key-pass: ${{ secrets.GPG_PASS }}
upload-artifacts:
strategy:
matrix:
distro:
- el8
- el9
# - el10
- amzn2023
- debian12
# - debian13
- ubuntu20.04
- ubuntu22.04
- ubuntu24.04
host:
- ubuntu-24.04
- ubuntu-24.04-arm
needs: sign-artifacts
uses: aerospike/shared-workflows/.github/workflows/[email protected]
with:
jf-project: database
jf-build-name: asbackup
version: ${{ github.ref_name }}
oidc-provider-name: database-gh-aerospike
oidc-audience: database-gh-aerospike
gh-artifact-name: signed-artifacts-${{ matrix.distro }}-${{ matrix.host }}
gh-retention-days: 1
dry-run: false
jf-build-id: ${{ github.run_number }}
jf-metadata-build-id: ${{ github.run_number }}-metadata