config/software/go.rb in omnibus-software-23.2.281 vs config/software/go.rb in omnibus-software-23.2.283
- old
+ new
@@ -106,9 +106,11 @@
version("1.17") { source sha256: "6bf89fc4f5ad763871cf7eac80a2d594492de7a818303283f1366a7f6a30372d" }
version("1.16.3") { source sha256: "951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2" }
end
source url: "https://dl.google.com/go/go#{version}.%{platform}-%{arch}.%{ext}" % { platform: platform, arch: arch, ext: ext }
+internal_source url: "#{ENV["ARTIFACTORY_REPO_URL"]}/#{name}/#{name}-#{version}.%{platform}-%{arch}.%{ext}",
+ authorization: "X-JFrog-Art-Api:#{ENV["ARTIFACTORY_TOKEN"]}"
build do
# We do not use 'sync' since we've found multiple errors with other software definitions
mkdir "#{install_dir}/embedded/go"
copy "#{project_dir}/go/*", "#{install_dir}/embedded/go"