Skip to content

Commit 02c9c90

Browse files
committed
DAOS-17007 ci: add weekly functional testing (#15726)
adds weekly testing that performs build (el8 & el9), functional VM tests (el8 & el9), and MD on SSD functional hardware tests (el8) Also improves fix for DAOS-16959 Skip-func-hw-test-medium: true Skip-func-hw-test-medium-verbs-provider: true Skip-func-hw-test-large: true Signed-off-by: Margaret Lawson <mlawsonca@google.com>
1 parent 57701fa commit 02c9c90

File tree

4 files changed

+544
-5
lines changed

4 files changed

+544
-5
lines changed

.github/actions/provision-cluster/action.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,28 @@ inputs:
44
condition:
55
description: Condition this should run on
66
required: true
7+
ref:
8+
description: Ref for code checkout
9+
default: "${{ github.event.pull_request.head.sha }}"
10+
required: false
711
runs:
812
using: "composite"
913
steps:
1014
- name: Checkout code
1115
uses: actions/checkout@v4
1216
with:
13-
ref: ${{ github.event.pull_request.head.sha }}
17+
ref: ${{ inputs.ref }}
1418
- name: Request and Provision a Cluster
1519
if: ${{ inputs.condition }}
1620
shell: bash
1721
run: |
1822
. ci/gha_functions.sh
1923
STAGE_NAME='${{ env.STAGE_NAME }}'
20-
REQID='${{ github.event.pull_request.number }}-${{ github.run_number }}'
24+
if "${{ github.event.schedule }}"; then
25+
REQID='${{ github.run_id }}-${{ github.run_number }}'
26+
else
27+
REQID='${{ github.event.pull_request.number }}-${{ github.run_number }}'
28+
fi
2129
CP_PRIORITY=${{ env.CP_PRIORITY }}
2230
echo "::group::Provisioning"
2331
if ! JENKINS_URL='${{ env.JENKINS_URL }}' \
@@ -58,8 +66,10 @@ runs:
5866
inst_repos+=":${{ github.run_number }}"
5967
fi
6068
echo "::group::Post-provision configuration";
61-
ARTIFACTS_URL="$ARTIFACTS_URL" \
69+
REPO_PATH="$REPO_PATH$GITHUB_RUN_NUMBER/artifact/artifacts/$TARGET"
70+
ARTIFACTS_URL=$ARTIFACTS_URL \
6271
INST_REPOS="$(eval echo "$inst_repos")" \
72+
REPO_PATH=$REPO_PATH \
6373
CI_RPM_TEST_VERSION="$rpm_test_version" \
6474
DAOS_VERSION="$DAOS_VERSION" \
6575
DISTRO=$PROVISION_DISTRO ci/provisioning/post_provision_config.sh

0 commit comments

Comments
 (0)