mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
Try forcing HTTP/1.1 for pagure.io git clones
The change to the curl commands to force HTTP/1.1 seems to have stopped them failing, so let's try doing it for the git clones too and see if that avoids the problem till we can work out what is causing it. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
94773cd726
commit
2d6180b25e
@ -64,6 +64,10 @@ sub run {
|
|||||||
# upload the config so we can check it's OK
|
# upload the config so we can check it's OK
|
||||||
upload_logs "/etc/mock/openqa.cfg";
|
upload_logs "/etc/mock/openqa.cfg";
|
||||||
# now check out the kickstarts
|
# now check out the kickstarts
|
||||||
|
# FIXME using HTTP 1.1 seems to avoid some weird hangs we're
|
||||||
|
# seeing on pagure.io lately as of 2023/07:
|
||||||
|
# https://pagure.io/fedora-infrastructure/issue/11426
|
||||||
|
assert_script_run 'git config --global http.version HTTP/1.1';
|
||||||
assert_script_run 'git clone https://pagure.io/fedora-kickstarts.git';
|
assert_script_run 'git clone https://pagure.io/fedora-kickstarts.git';
|
||||||
assert_script_run 'cd fedora-kickstarts';
|
assert_script_run 'cd fedora-kickstarts';
|
||||||
assert_script_run "git checkout ${branch}";
|
assert_script_run "git checkout ${branch}";
|
||||||
|
@ -36,6 +36,10 @@ sub run {
|
|||||||
assert_script_run "setenforce Permissive";
|
assert_script_run "setenforce Permissive";
|
||||||
# install the tools we need
|
# install the tools we need
|
||||||
assert_script_run "dnf -y install git lorax flatpak ostree rpm-ostree dbus-daemon moreutils", 300;
|
assert_script_run "dnf -y install git lorax flatpak ostree rpm-ostree dbus-daemon moreutils", 300;
|
||||||
|
# FIXME using HTTP 1.1 seems to avoid some weird hangs we're
|
||||||
|
# seeing on pagure.io lately as of 2023/07:
|
||||||
|
# https://pagure.io/fedora-infrastructure/issue/11426
|
||||||
|
assert_script_run 'git config --global http.version HTTP/1.1';
|
||||||
# now check out workstation-ostree-config
|
# now check out workstation-ostree-config
|
||||||
assert_script_run 'git clone https://pagure.io/workstation-ostree-config.git';
|
assert_script_run 'git clone https://pagure.io/workstation-ostree-config.git';
|
||||||
assert_script_run 'pushd workstation-ostree-config';
|
assert_script_run 'pushd workstation-ostree-config';
|
||||||
|
Loading…
Reference in New Issue
Block a user