Skip to content

Commit

Permalink
Use workflows in actions-lib
Browse files Browse the repository at this point in the history
Skip-PR-comments: true
Run-GHA: true

Required-githooks: true

Signed-off-by: Brian J. Murrell <[email protected]>
  • Loading branch information
brianjmurrell committed Aug 6, 2024
1 parent d456d77 commit 6e1bf59
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 504 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rpm-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ permissions: {}

jobs:
Variables:
# What a dumb jobs this is
# Needed because of https://github.com/orgs/community/discussions/26671
# Ideally want to be able to use:
# with:
# NAME: ${{ env.NAME }}
# in the Call-RPM-Build job but the above issue prevents it
name: Compute outputs
runs-on: [self-hosted, light]
outputs:
Expand All @@ -64,7 +70,7 @@ jobs:
if: inputs.rpm-test-version == ''
permissions:
statuses: write
uses: ./.github/workflows/rpm-build.yml
uses: daos-stack/actions-lib/.github/workflows/rpm-build.yml@bmurrell/initial
secrets: inherit
with:
NAME: ${{ needs.Variables.outputs.NAME }}
Expand All @@ -78,7 +84,7 @@ jobs:
# TODO: investigate how cancelling this can cancel the downstream job
name: Test RPMs with DAOS
needs: [Variables, Call-RPM-Build]
uses: ./.github/workflows/rpm-test.yml
uses: daos-stack/actions-lib/.github/workflows/rpm-test.yml.yml@bmurrell/initial
secrets: inherit
with:
NAME: ${{ needs.Variables.outputs.NAME }}
Expand Down
Loading

0 comments on commit 6e1bf59

Please sign in to comment.