Skip to content

Commit

Permalink
rptest: Made curl command backwards compatible
Browse files Browse the repository at this point in the history
Made curl command in redpanda_installer compatible with older versions
of curl.

Signed-off-by: Michael Boquard <michael@redpanda.com>
  • Loading branch information
michael-redpanda committed Mar 28, 2024
1 parent 5e5c92c commit 63fe4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rptest/services/redpanda_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def _async_download_on_node_unlocked(self, node, version):
version_root = self.root_for_version(version)

tgz = "redpanda.tar.gz"
cmd = f"curl -fsSL {self._version_package_url(version)} --create-dir --output-dir {version_root} -o {tgz} && gunzip -c {version_root}/{tgz} | tar -xf - -C {version_root} && rm {version_root}/{tgz}"
cmd = f"curl -fsSL {self._version_package_url(version)} --create-dir -o {version_root}/{tgz} && gunzip -c {version_root}/{tgz} | tar -xf - -C {version_root} && rm {version_root}/{tgz}"
return node.account.ssh_capture(cmd)

def reset_current_install(self, nodes):
Expand Down

0 comments on commit 63fe4ef

Please sign in to comment.