remove source removed file #72
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build-artifacts.yml | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main, SERVER-216, SERVER-312 ] | |
| jobs: | |
| build-artifacts: | |
| strategy: | |
| matrix: | |
| distro: [ debian12, debian13, ubuntu20.04, ubuntu22.04, ubuntu24.04, el8, el9, amzn2023 ] # el8 disable redhat 8 due to fpm issue | |
| host: [ ubuntu-24.04-arm, ubuntu-24.04 ] | |
| uses: aerospike/shared-workflows/.github/workflows/reusable_execute-build.yaml@0da06cb2182165b125dc219ca2fda09732ca0fa4 | |
| with: | |
| runs-on: ${{ matrix.host }} | |
| project: database | |
| build-name: asbackup | |
| build-id: ${{ github.run_number }} | |
| build-script: | | |
| set -x && | |
| 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/docker/entrypoint.sh -c -d ${{ matrix.distro }} && | |
| .github/docker/entrypoint.sh -e -d ${{ matrix.distro }} && | |
| ls -laht ../dist | |
| artifact-directory: dist | |
| artifact-name: unsigned-artifacts-${{ matrix.distro }}-${{ matrix.host }} | |
| retention-days: 7 | |
| dry-run: false | |
| artifactory-url: https://aerospike.jfrog.io # default | |
| artifactory-oidc-provider-name: database-gh-aerospike # default | |
| artifactory-oidc-audience: database-gh-aerospike # default | |
| sign-artifacts: | |
| strategy: | |
| matrix: | |
| distro: [ debian12, debian13, ubuntu20.04, ubuntu22.04, ubuntu24.04, el8, el9, amzn2023 ] # el8 disable redhat 8 due to fpm issue | |
| host: [ ubuntu-24.04-arm, ubuntu-24.04 ] | |
| needs: build-artifacts | |
| uses: aerospike/shared-workflows/.github/workflows/reusable_sign-artifacts.yaml@0da06cb2182165b125dc219ca2fda09732ca0fa4 # vn.n.n | |
| with: | |
| artifact-name: signed-artifacts-${{ matrix.distro }}-${{ matrix.host }} | |
| unsigned-artifacts: unsigned-artifacts-${{ matrix.distro }}-${{ matrix.host }} | |
| # artifact-name: signed-artifacts # optional, defaults to signed-artifacts | |
| # retention-days: 7 # optional, defaults to 7 | |
| # dry-run: false # optional, for future compatibility | |
| 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: [ debian12, debian13, ubuntu20.04, ubuntu22.04, ubuntu24.04, el8, el9, amzn2023 ] # el8 disable redhat 8 due to fpm issue | |
| host: [ ubuntu-24.04-arm, ubuntu-24.04 ] | |
| needs: sign-artifacts | |
| uses: aerospike/shared-workflows/.github/workflows/reusable_deploy-artifacts.yaml@0da06cb2182165b125dc219ca2fda09732ca0fa4 # vn.n.n | |
| with: | |
| project: database | |
| build-name: asbackup | |
| version: ${{ github.ref_name }} | |
| artifactory-url: https://aerospike.jfrog.io | |
| artifactory-oidc-provider-name: database-gh-aerospike | |
| artifactory-oidc-audience: database-gh-aerospike | |
| artifact-name: signed-artifacts-${{ matrix.distro }}-${{ matrix.host }} | |
| retention-days: 1 | |
| dry-run: false | |
| build-id: ${{ github.run_number }} | |
| metadata-build-id: ${{ github.run_number }}-metadata |