Skip to content

Commit

Permalink
[releases 2.15] Fix a bug that the EC2 instance is not terminated if …
Browse files Browse the repository at this point in the history
…unit tests failed (#1105)
  • Loading branch information
wanliAlex authored Jan 24, 2025
1 parent 92ca2e1 commit e041868
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/unit_test_200gb_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,12 @@ jobs:
Stop-Runner:
name: Stop self-hosted EC2 runner
needs:
- Check-Changes
- Start-Runner # required to get output from the start-runner job
- Test-Marqo # required to wait when the main job is done
- Check-Changes
runs-on: ubuntu-latest
if: ${{ needs.start-runner.outputs.label }} # Only stop the runner if it was started
if: |
always() && needs.Start-Runner.result == 'success'
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit e041868

Please sign in to comment.