Skip to content

Commit

Permalink
ci: Pull Fedora from api.ci
Browse files Browse the repository at this point in the history
Currently we pull from quay.io and api.ci, and the Fedora registry
is being very flaky.  I set up a mirror on api.ci for now.
  • Loading branch information
cgwalters committed Feb 27, 2020
1 parent 1cf0d55 commit ffd6294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/common/libvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,10 @@ vm_run_container() {
# just automatically always share dnf cache so we don't redownload each time
# (use -n so this ssh invocation doesn't consume stdin)
vm_cmd -n mkdir -p /var/cache/dnf
# This uses a mirror since the Fedora registry is very flaky
# https://pagure.io/releng/issue/9282
vm_cmd podman run --rm -v /var/cache/dnf:/var/cache/dnf:z $podman_args \
registry.fedoraproject.org/fedora:31 "$@"
registry.svc.ci.openshift.org/coreos/fedora:31 "$@"
}

# $1 - service name
Expand Down

0 comments on commit ffd6294

Please sign in to comment.