dfc135ac8d
Currently the output from curl is redirected to a file,
regardless of whether the request succeeded or not.
This patch adds:
--output
to direct the output to a file without using bash
redirection
--fail
to ensure that curl returns a non-zero error code if
the request returns a 503
Change-Id: Ic811d89fb6e73d341dfe6238f965b0b873307aff
(cherry picked from commit
|
||
---|---|---|
.. | ||
upgrade-utilities | ||
ansible-role-requirements-editor.py | ||
bootstrap-aio.sh | ||
bootstrap-ansible.sh | ||
fastest-infra-wheel-mirror.py | ||
federated-login.sh | ||
gate-check-commit.sh | ||
gen-config.py | ||
get-pypi-pkg-version.py | ||
inventory-manage.py | ||
openstack-ansible.rc | ||
os-cmd | ||
pw-token-gen.py | ||
release-yaml-file-prep.py | ||
run-playbooks.sh | ||
run-upgrade.sh | ||
scripts-library.sh | ||
sources-branch-updater.sh | ||
update-revision.sh |