on: workflow_call: inputs: stability: description: The package stability (stable, testing, unstable) type: string required: true secrets: nexus_username: required: true nexus_password: required: true update_repo_path: description: "The update repo script path" required: true cloudfront_id: description: "The cloudfront ID for repo url" required: true yum_repo_address: description: "The legacy yum repo address" required: true yum_repo_key: description: "The repo key" required: true artifactory_token: description: "The artifactory token" required: true jobs: deliver-rpm: runs-on: [self-hosted, common] strategy: matrix: distrib: [el7, el8, el9] steps: - name: Checkout sources uses: actions/checkout@v3 - name: Delivery uses: ./.github/actions/rpm-delivery with: module_name: plugins distrib: ${{ matrix.distrib }} cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} update_repo_path: ${{ secrets.update_repo_path }} cloudfront_id: ${{ secrets.cloudfront_id }} yum_repo_address: ${{ secrets.yum_repo_address }} yum_repo_key: ${{ secrets.yum_repo_key }} stability: ${{ inputs.stability }} artifactory_token: ${{ secrets.artifactory_token }} deliver-deb: runs-on: [self-hosted, common] strategy: matrix: distrib: [bullseye] steps: - name: Checkout sources uses: actions/checkout@v3 - name: Delivery uses: ./.github/actions/deb-delivery with: distrib: ${{ matrix.distrib }} nexus_username: ${{ secrets.nexus_username }} nexus_password: ${{ secrets.nexus_password }} cache_key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }} stability: ${{ inputs.stability }} artifactory_token: ${{ secrets.artifactory_token }}