Skip to content

Commit

Permalink
Merge pull request #517 from cpanel/RE-851
Browse files Browse the repository at this point in the history
Case RE-851: Only run OpenStack GitHub Action when TestSuite Completes
  • Loading branch information
toddr authored Sep 27, 2024
2 parents 24d0d72 + a7ac871 commit 741e918
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/openstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-openstack
cancel-in-progress: true

env:
Expand All @@ -32,7 +32,10 @@ env:
tf_working_directory: "./.github/workflows/openstack/terraform"

jobs:
testsuite:
uses: ./.github/workflows/testsuite.yml
terraform_openstack_create:
needs: [testsuite]
runs-on: self-hosted
defaults:
run:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
- "*"
pull_request:
workflow_dispatch:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-testsuite
cancel-in-progress: true

jobs:
testsuite:
Expand Down

0 comments on commit 741e918

Please sign in to comment.