Tags: TomAFrench/lib
Tags
Fix --output in some cases (earthly#53) (earthly#54) Currently, when --output is used multiple times on the same directory, the underlying command which copies the output can fail with a misleading error message. Even if your regular expression matches a file in the target directory, you're presented with: "no files found within ./target matching the provided output regexp" If the "mv" command's stderr is printed, it shows: "mv: inter-device move failed: '/tmp/earthly/lib/rust/release' to 'target/release'; unable to remove target: Directory not empty" Since "mv" doesn't handle existing directories the way we may want here, let's use "cp -ruT" to overlay the files into the target directory (regardless of what's already present there) and then remove the temporary directory.
Adds +INIT and $OS_RELEASE to cache id (earthly#25) This PR: - Includes the distro information (from `/etc/os-release`) in the cache id default value. This avoids the scenario of reusing the cache entries across potentially incompatibles shared libraries. - Includes a `+INIT` UDC used for initialize the build environment for the rest UDCs to be invoked. - Exports the cache id to the build environment as `$CARGO_HOME_CACHE_ID` --------- Co-authored-by: Vlad A. Ionescu <446771+vladaionescu@users.noreply.github.com>
rust: improve error handling of toml/jq install (earthly#24) Chains installation commands together to improve error handling. The previous code would still catch errors, but the error messages would be unclear "file not found" errors when running the final chmod commands. Due to previous exit codes not being checked. Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
Clean apt after install (earthly#17) * Clean apt after install
Fix debian install of dockerd (earthly#16) * Fix debian install of dockerd * Add oldstable to build list * Update install-dind.sh use $distro instead of debian --------- Co-authored-by: idodod <idodod@gmail.com>
PreviousNext