Closed notrepo05 closed 9 months ago
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
➜ kiln git:(fix/artifactory-url-normalization) ✗ :workspace/kiln$ go test ./...
? github.com/pivotal-cf/kiln [no test files]
? github.com/pivotal-cf/kiln/internal/baking/fakes [no test files]
? github.com/pivotal-cf/kiln/internal/builder/fakes [no test files]
? github.com/pivotal-cf/kiln/internal/commands/fakes [no test files]
? github.com/pivotal-cf/kiln/internal/component/fakes [no test files]
? github.com/pivotal-cf/kiln/internal/component/fakes_internal [no test files]
? github.com/pivotal-cf/kiln/internal/test/fakes [no test files]
? github.com/pivotal-cf/kiln/internal/test-helpers [no test files]
? github.com/pivotal-cf/kiln/pkg/notes/internal/fakes [no test files]
? github.com/pivotal-cf/kiln/pkg/planitest/internal/fakes [no test files]
ok github.com/pivotal-cf/kiln/internal/acceptance/bake 4.727s
ok github.com/pivotal-cf/kiln/internal/acceptance/workflows (cached)
ok github.com/pivotal-cf/kiln/internal/acceptance/workflows/scenario 2.230s
ok github.com/pivotal-cf/kiln/internal/baking (cached)
ok github.com/pivotal-cf/kiln/internal/builder (cached)
ok github.com/pivotal-cf/kiln/internal/commands 1.839s
ok github.com/pivotal-cf/kiln/internal/commands/flags (cached)
ok github.com/pivotal-cf/kiln/internal/component 1.172s
ok github.com/pivotal-cf/kiln/internal/gh (cached)
ok github.com/pivotal-cf/kiln/internal/helper (cached)
ok github.com/pivotal-cf/kiln/internal/pivnet (cached)
ok github.com/pivotal-cf/kiln/internal/test 38.943s
ok github.com/pivotal-cf/kiln/pkg/cargo (cached)
ok github.com/pivotal-cf/kiln/pkg/history (cached)
ok github.com/pivotal-cf/kiln/pkg/notes (cached)
ok github.com/pivotal-cf/kiln/pkg/planitest (cached)
ok github.com/pivotal-cf/kiln/pkg/planitest/internal (cached)
ok github.com/pivotal-cf/kiln/pkg/proofing (cached)
ok github.com/pivotal-cf/kiln/pkg/proofing/upgrade (cached)
ok github.com/pivotal-cf/kiln/pkg/source (cached)
ok github.com/pivotal-cf/kiln/pkg/tile (cached)
I re-created the PR from a different branch (on this repository not a fork) https://github.com/pivotal-cf/kiln/pull/477
We were blocked from using
kiln
with other Artifactory servers, in our case development servers, due tofind-release-version
andupdate-release-version
behaving differently fromfetch
forartifactory
release sources.The issue was found in
internal/component/artifactory.go
DownloadRelease
where/artifactory
is always appended to the server url:find-release
fails if we don't include/artifactory
in the Kilnfileartifactory_host
variablefailing
working
fetch
, however automatically appends/artifactory
, causing 404s due to requests containing/artifactory/artifactory
:failing
working
Thank you