Skip to content

Commit

Permalink
Deduplication of copr_project_tpl in matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
kwk committed Dec 17, 2024
1 parent aed3ca1 commit c1504d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/actions/generate-matrix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ runs:
BIG_MERGE_CONFIG=$(jq -c <<EOF
{
"name": "big-merge",
"copr_project_tpl": "@fedora-llvm-team/llvm-snapshots-big-merge-YYYYMMDD",
"copr_target_project": "@fedora-llvm-team/llvm-snapshots",
"clone_url_tpl": "https://src.fedoraproject.org/rpms/PKG.git",
"clone_ref": "rawhide",
Expand All @@ -42,7 +41,6 @@ runs:
PGO_CONFIG=$(jq -c <<EOF
{
"name": "pgo",
"copr_project_tpl": "@fedora-llvm-team/llvm-snapshots-pgo-YYYYMMDD",
"copr_target_project": "@fedora-llvm-team/llvm-snapshots-pgo",
"extra_script_file": "scripts/functions-pgo.sh",
"clone_url_tpl": "https://src.fedoraproject.org/forks/kkleine/rpms/PKG.git",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
--maintainer-handle ${{matrix.maintainer_handle}} \
--packages ${{matrix.packages}} \
--build-strategy ${{matrix.name}} \
--copr-ownername ${{matrix.copr_ownername}} \
--copr-project-tpl ${{matrix.copr_project_tpl}} \
--copr-monitor-tpl ${{matrix.copr_monitor_tpl}} \
--yyyymmdd $yyyymmdd
4 changes: 2 additions & 2 deletions .github/workflows/fedora-copr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
echo "packages=$packages" >> $GITHUB_ENV
echo "chroots=$chroots" >> $GITHUB_ENV
echo "all_chroots=$all_chroots" >> $GITHUB_ENV
echo "project_today=${{ matrix.copr_project_tpl }}" | sed "s/YYYYMMDD/$today/" >> $GITHUB_ENV
echo "project_yesterday=${{ matrix.copr_project_tpl }}" | sed "s/YYYYMMDD/$yesterday/" >> $GITHUB_ENV
echo "project_today=${{ matrix.copr_ownername }}/${{ matrix.copr_project_tpl }}" | sed "s/YYYYMMDD/$today/" >> $GITHUB_ENV
echo "project_yesterday=${{ matrix.copr_ownername }}/${{ matrix.copr_project_tpl }}" | sed "s/YYYYMMDD/$yesterday/" >> $GITHUB_ENV
echo "project_target=${{ matrix.copr_target_project }}" >> $GITHUB_ENV
- name: "Check for Copr projects existence (yesterday, today, target)"
Expand Down

0 comments on commit c1504d8

Please sign in to comment.