Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the RPM build and test on workflow_dispatch #14177

Draft
wants to merge 71 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
ded45e4
Run the RPM build and test on workflow_dispatch
brianjmurrell Apr 17, 2024
21c8e73
Add an override commit msg as an input
brianjmurrell Apr 17, 2024
f71a2d2
Fix sh syntax
brianjmurrell Apr 17, 2024
ab551e3
Use exec more
brianjmurrell Apr 17, 2024
6d959b0
Also for dquoted commit message
brianjmurrell Apr 17, 2024
b1cddea
Try it out
brianjmurrell Apr 17, 2024
fe79595
Pass the commit message
brianjmurrell Apr 17, 2024
8d852b0
Fix input name
brianjmurrell Apr 17, 2024
14092a4
Move checkout to above action call
brianjmurrell Apr 17, 2024
afbd5a8
Enhance skip-build pragma support
brianjmurrell Apr 17, 2024
1983407
Add rpm-test-version input
brianjmurrell Apr 17, 2024
0fbda38
Add test-tag input
brianjmurrell Apr 17, 2024
d9230ac
Fix spelling error
brianjmurrell Apr 17, 2024
63954d7
Skip rpm build matrix if skipping build
brianjmurrell Apr 17, 2024
eb53817
Debug why Functional is not running
brianjmurrell Apr 17, 2024
c15f64f
Debug for inputs.rpm-test-version
brianjmurrell Apr 17, 2024
9f58e0a
Debug whyRPM building is happening…
brianjmurrell Apr 17, 2024
69a1576
Try removing ${{ }} in if: conditions
brianjmurrell Apr 22, 2024
0155a89
Use single quotes where possible to prevent injections
brianjmurrell Apr 22, 2024
266eb66
Revert some quoting
brianjmurrell Apr 22, 2024
c1419b9
Add more workflow-dispatch tests
brianjmurrell Apr 22, 2024
88c4970
Fix condition
brianjmurrell Apr 22, 2024
7bef85f
Set CI_RPM_TEST_VERSION for provisioning
brianjmurrell Apr 23, 2024
206f109
Only set commit status on push or pull_request
brianjmurrell Apr 23, 2024
1c0e5f4
functional-test-distros input
brianjmurrell Apr 23, 2024
d20fc1d
Fix in put name
brianjmurrell Apr 23, 2024
eb4ca5b
Let functional-test-distros override…
brianjmurrell Apr 23, 2024
eaeefc4
DO NOT LAND
brianjmurrell Apr 23, 2024
e25311d
Fix extraneous quote
brianjmurrell Apr 23, 2024
d9c83b2
Indicate when using input
brianjmurrell Apr 23, 2024
ee40cf7
Expect a plain list instead
brianjmurrell Apr 23, 2024
379b6ca
Fix
brianjmurrell Apr 24, 2024
fed8624
Per above
brianjmurrell Apr 24, 2024
65b5ede
Only run VM stages if tags have vm matches
brianjmurrell Apr 24, 2024
9e5ba88
Display HW matrix
brianjmurrell Apr 24, 2024
d47008c
Updates
brianjmurrell Apr 24, 2024
9f8ce88
Move block
brianjmurrell Apr 24, 2024
a736ec5
DO NOT LAND
brianjmurrell Apr 24, 2024
bd79703
Synchronize with argobots
brianjmurrell Apr 24, 2024
c73f7c4
Fix attempt to use env in env
brianjmurrell Apr 24, 2024
502bab8
Fix copy'n'pasto
brianjmurrell Apr 24, 2024
419c563
Sync with daos
brianjmurrell Apr 24, 2024
b0d9e58
Use reusable workflow for RPM build
brianjmurrell Apr 25, 2024
a2e402c
Fix path
brianjmurrell Apr 25, 2024
15b7553
Use outputs from Call-RPM-Build instead
brianjmurrell Apr 25, 2024
6e5d69d
Debug
brianjmurrell Apr 25, 2024
846b622
Debug post-provision
brianjmurrell Apr 25, 2024
e655d1f
Remove erroneous }}
brianjmurrell Apr 25, 2024
129a2e1
Add log grouping to provisioning
brianjmurrell Apr 25, 2024
5ad6655
DO NOT LAND
brianjmurrell Apr 26, 2024
617f87d
Allow , in commit pragma value
brianjmurrell Apr 27, 2024
e453738
Don't need ot set variables for CPs
brianjmurrell Apr 27, 2024
f7be927
Use single quotes
brianjmurrell Apr 27, 2024
87d6850
Remove cp-test-tag and debug
brianjmurrell Apr 27, 2024
5b82969
Updates
brianjmurrell Jul 8, 2024
209e0c2
packaging/ updates
brianjmurrell Jul 8, 2024
e034835
Update packaging
brianjmurrell Jul 8, 2024
b1a67ea
Pare back gha_functions.sh
brianjmurrell Jul 8, 2024
d9db08d
Use external action
brianjmurrell Jul 9, 2024
cef840c
Remove local actions
brianjmurrell Jul 9, 2024
d9d2981
Use actions-lib
brianjmurrell Aug 6, 2024
f0b45bb
Set version of daos to install
brianjmurrell Aug 15, 2024
daac3e0
Close spaces
brianjmurrell Aug 15, 2024
ffb8f30
Escape <
brianjmurrell Aug 15, 2024
b89bc73
Wrap spaces around <
brianjmurrell Aug 15, 2024
ed23817
Use DAOS_VERSION
brianjmurrell Aug 15, 2024
ff5c598
Fix package install list
brianjmurrell Aug 15, 2024
3d7fbba
Propagate $DAOS_VERSION
brianjmurrell Aug 15, 2024
691e6f2
Fix previous
brianjmurrell Aug 15, 2024
48eb038
Use commit pragma if specified
brianjmurrell Aug 15, 2024
d49b92d
Remove RPM-test-version pragma
brianjmurrell Aug 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/actions/import-commit-pragmas/action.yml

This file was deleted.

21 changes: 18 additions & 3 deletions .github/actions/provision-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,47 @@ runs:
STAGE_NAME='${{ env.STAGE_NAME }}'
REQID='${{ github.event.pull_request.number }}-${{ github.run_number }}'
CP_PRIORITY=${{ env.CP_PRIORITY }}
echo "::group::Provisioning"
if ! JENKINS_URL='${{ env.JENKINS_URL }}' \
LABEL='${{ env.LABEL }}' \
PRIORITY=${CP_PRIORITY:-3} \
provision_cluster "$STAGE_NAME" "${{ github.run_id }}" \
"${{ runner.name }}" \
"$REQID-${STAGE_NAME// /_}"; then
echo "::endgroup::"
echo "Failed to provision cluster"
exit 1
fi
echo "::endgroup::"
- name: Wait for nodes to be ready
if: ${{ inputs.condition }}
shell: bash
run: . ci/gha_functions.sh;
set -eux;
wait_nodes_ready
echo "::group::Waiting for nodes to be ready";
wait_nodes_ready;
echo "::endgroup::"
- name: Post-provision cluster
if: ${{ inputs.condition }}
shell: bash
run: |
. ci/gha_functions.sh
set -x
inst_repos="${{ env.CP_PR_REPOS }} ${{ github.event.inputs.pr-repos }}"
if [ -z "${{ env.CP_RPM_TEST_VERSION }}" ] &&
if [ -n "${{ github.event.inputs.rpm-test-version }}" ]; then
rpm_test_version="${{ github.event.inputs.rpm-test-version }}"
elif [ -n "${{ env.CP_RPM_TEST_VERSION }}" ]; then
rpm_test_version="${{ env.CP_RPM_TEST_VERSION }}"
fi
if [ -z "$rpm_test_version" ] &&
[[ $inst_repos != *daos@* ]]; then
inst_repos+=" daos@PR-${{ github.event.pull_request.number }}"
inst_repos+=":${{ github.run_number }}"
fi
ARTIFACTS_URL=$ARTIFACTS_URL \
echo "::group::Post-provision configuration";
ARTIFACTS_URL="$ARTIFACTS_URL" \
INST_REPOS="$(eval echo "$inst_repos")" \
CI_RPM_TEST_VERSION="$rpm_test_version" \
DAOS_VERSION="$DAOS_VERSION" \
DISTRO=$PROVISION_DISTRO ci/provisioning/post_provision_config.sh
echo "::endgroup::"
28 changes: 0 additions & 28 deletions .github/actions/variable-from-pragma/action.yml

This file was deleted.

Loading
Loading