Skip to content

Commit

Permalink
Put Bullseye RPMs in their own subdir
Browse files Browse the repository at this point in the history
Signed-off-by: Brian J. Murrell <brian.murrell@intel.com>
  • Loading branch information
brianjmurrell committed Oct 21, 2024
1 parent e456d50 commit 27659ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rpm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ jobs:
-e REPO_FILE_URL="$REPO_FILE_URL" \
-e JENKINS_URL="$JENKINS_URL" \
-e TARGET="$TARGET" \
-e COVFN_DISABLED="${{ inputs.COVFN_DISABLED }}"
-e COVFN_DISABLED="${{ inputs.COVFN_DISABLED }}" \
mock-build bash -c "$script"
# yamllint enable rule:line-length
- name: Build RPM failure log
Expand All @@ -403,7 +403,7 @@ jobs:
continue-on-error: true
run: |
set -eux
repo_path="$REPO_PATH$GITHUB_RUN_NUMBER/artifact/artifacts/"
repo_path="$REPO_PATH$GITHUB_RUN_NUMBER/artifact/artifacts/${{ !inputs.COVFN_DISABLED && 'bullseye/' }}"
mkdir -p "$repo_path$TARGET"
cp -a mock_result/${CHROOT_NAME}/*.rpm "$repo_path$TARGET"
cd "$repo_path$TARGET"
Expand All @@ -413,8 +413,8 @@ jobs:
if: steps.create-repo.outcome == 'success'
continue-on-error: true
run: |
dnf --disablerepo=\* --repofrompath \
testrepo,file://${REPO_PATH}${{ github.run_number }}/artifact/artifacts/$TARGET \
dnf --disablerepo=\* --repofrompath \
testrepo,file://${REPO_PATH}${{ github.run_number }}/artifact/artifacts/${{ !inputs.COVFN_DISABLED && 'bullseye/' }}$TARGET \
repoquery -a
- name: Remove lastSuccessfulBuild link and exit failure
if: steps.test-repo.outcome != 'success'
Expand Down

0 comments on commit 27659ef

Please sign in to comment.