Skip to content

Commit

Permalink
More fixes.
Browse files Browse the repository at this point in the history
Required-githooks: true

Signed-off-by: Phil Henderson <[email protected]>
  • Loading branch information
phender committed Oct 17, 2024
1 parent ccc327b commit caf8861
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/functional-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ runs:
echo "_LOCAL_REPO=not_used" >> $GITHUB_ENV
echo "LABEL=${{ inputs.cluster_label }}" >> $GITHUB_ENV
echo "INST_RPMS=${{ steps.build-vars.outputs.inst_rpms }}" >> $GITHUB_ENV
shell: bash
- name: Checkout code
uses: actions/checkout@v4
with:
Expand All @@ -68,6 +69,7 @@ runs:
- name: Request and Provision a Cluster
timeout-minutes: 7200
uses: ./.github/actions/provision-cluster
shell: bash
- name: Run Test
timeout-minutes: 7200
id: run-test
Expand All @@ -76,6 +78,7 @@ runs:
NODE_COUNT="$NODE_COUNT"
TEST_TAG=${{ inputs.tags }}
FTEST_ARG="${{ inputs.ftest_args }}" ci/functional/test_main.sh
shell: bash
- name: Cancel cluster request (if cancelled after requesting)
if: cancelled()
run: |
Expand All @@ -88,13 +91,15 @@ runs:
exit 1
fi
fi
shell: bash
- name: Job cleanup
if: (!cancelled() && (success() || failure()))
run: |
set -eux
. ci/gha_functions.sh
NODELIST=${{ env.NODESTRING }} ci/functional/job_cleanup.sh || true
cleanup_provision_request "${{ env.CLUSTER_REQUEST_reqid }}"
shell: bash
- name: Publish test results
if: (!cancelled()) && (success() || failure()) &&
steps.run-test.outcome != 'skipped'
Expand Down

0 comments on commit caf8861

Please sign in to comment.