Skip to content

Commit

Permalink
Remove queue from full test suite workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjpryor authored Feb 7, 2024
1 parent 417cafa commit 89bce59
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,8 @@ on:
workflow_dispatch:

jobs:
# This job exists so that PRs from outside the main repo are rejected
fail_on_remote:
runs-on: ubuntu-latest
steps:
- name: Code under test must be from a branch in the azimuth-config repo
run: exit ${{ github.repository == 'stackhpc/azimuth-config' && '0' || '1' }}

# We want jobs to wait in a queue for a slot to run, so as not to overload the test infra
# GitHub concurrency _almost_ does this, except the queue length is one :-(
# There is a feature request for what we need https://github.com/orgs/community/discussions/12835
# Until that is implemented, the only other viable option is a busy wait
wait_in_queue:
needs: [fail_on_remote]
runs-on: ubuntu-latest
steps:
- name: Wait for an available slot
uses: stackhpc/github-actions/workflow-concurrency@master
with:
max-concurrency: 1

# Tests a clean HA deployment + all appliances
test_clean_ha:
needs: [wait_in_queue]
runs-on: ubuntu-latest
steps:
# We need to check out the code under test first in order to use local actions
Expand Down

0 comments on commit 89bce59

Please sign in to comment.