Add instance scale-in protection to Auto Scaling #2995
This file contains 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: all_green | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
branches: | |
- main | |
- stable-* | |
tags: | |
- "*" | |
jobs: | |
linters: | |
uses: ./.github/workflows/linters.yml # use the callable linters job to run tests | |
sanity: | |
uses: ./.github/workflows/sanity.yml # use the callable sanity job to run tests | |
units: | |
uses: ./.github/workflows/units.yml # use the callable units job to run tests | |
all_green: | |
if: ${{ always() }} | |
needs: | |
- linters | |
- sanity | |
- units | |
runs-on: ubuntu-latest | |
steps: | |
- run: >- | |
python -c "assert set([ | |
'${{ needs.linters.result }}', | |
'${{ needs.sanity.result }}', | |
'${{ needs.units.result }}' | |
]) == {'success'}" |