Skip to content

Commit

Permalink
infra: specify copr repository in the trigger webui workflow
Browse files Browse the repository at this point in the history
Since we moved the container to Fedora 40, the f40 copr is expected by
default, but this does not exist. Specify the rawhide explicitely.
  • Loading branch information
KKoukiou committed May 23, 2024
1 parent 1dae3c7 commit 69b2398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/trigger-webui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
COPR_NAME="${{ github.event.pull_request.base.user.login }}-${{ github.event.pull_request.base.repo.name }}-${{ github.event.number }}"
for _ in $(seq 60); do
sleep 60;
if dnf copr enable -y packit/$COPR_NAME &&
if dnf copr enable -y packit/$COPR_NAME fedora-rawhide-x86_64 &&
out=$(dnf info --refresh --repo='copr:*anaconda*' anaconda) &&
stamp=$(echo "$out" | awk '/^Release/ { split($3, v, "."); print substr(v[2], 0, 14)}' | head -1) &&
[ "$stamp" -gt "$PUSH_TIME" ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-webui.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
COPR_NAME="${{ github.event.pull_request.base.user.login }}-${{ github.event.pull_request.base.repo.name }}-${{ github.event.number }}"
for _ in $(seq 60); do
sleep 60;
if dnf copr enable -y packit/$COPR_NAME &&
if dnf copr enable -y packit/$COPR_NAME fedora-rawhide-x86_64 &&
out=$(dnf info --refresh --repo='copr:*anaconda*' anaconda) &&
stamp=$(echo "$out" | awk '/^Release/ { split($3, v, "."); print substr(v[2], 0, 14)}' | head -1) &&
[ "$stamp" -gt "$PUSH_TIME" ]; then
Expand Down

0 comments on commit 69b2398

Please sign in to comment.