Skip to content

Commit 8c52f13

Browse files
authored
ci: workaround for azcopy path change (#663)
Use the current target of https://aka.ms/downloadazcopy-v10-linux to fix up CI.
1 parent 6375461 commit 8c52f13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flowey/flowey_lib_common/src/download_azcopy.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl FlowNode for Node {
107107
};
108108
match rt.platform().kind() {
109109
FlowPlatformKind::Windows => {
110-
xshell::cmd!(sh, "curl --fail -L https://azcopyvnext.azureedge.net/releases/release-{version_with_date}/azcopy_windows_{arch}_{version_without_date}.zip -o azcopy.zip").run()?;
110+
xshell::cmd!(sh, "curl --fail -L https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-{version_with_date}/azcopy_windows_{arch}_{version_without_date}.zip -o azcopy.zip").run()?;
111111

112112
let bsdtar = crate::_util::bsdtar_name(rt);
113113
xshell::cmd!(sh, "{bsdtar} -xf azcopy.zip --strip-components=1").run()?;
@@ -118,7 +118,7 @@ impl FlowNode for Node {
118118
FlowPlatform::MacOs => "darwin",
119119
platform => anyhow::bail!("unhandled platform {platform}"),
120120
};
121-
xshell::cmd!(sh, "curl --fail -L https://azcopyvnext.azureedge.net/releases/release-{version_with_date}/azcopy_{os}_{arch}_{version_without_date}.tar.gz -o azcopy.tar.gz").run()?;
121+
xshell::cmd!(sh, "curl --fail -L https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-{version_with_date}/azcopy_{os}_{arch}_{version_without_date}.tar.gz -o azcopy.tar.gz").run()?;
122122
xshell::cmd!(sh, "tar -xf azcopy.tar.gz --strip-components=1").run()?;
123123
}
124124
};

0 commit comments

Comments
 (0)