Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make find-release-version output match Kilnfile.lock #436

Closed
wants to merge 2 commits into from

Conversation

pabloarodas
Copy link
Contributor

We from cryo just started using kiln for our tile builds. We have quite a few tiles and mostly want to bump versions in a tile to latest since we don't ship many releases in a tile.
I found the output of the find-release-version command somewhat confusing because it doesn't really match the structure of the Kilnfile.lock so I figured I'd try to PR this in.

What does this do? It drops the releaseVersionOutput that wasn't used anywhere else and just uses BOSHReleaseTarballLock to generate the output.

It adds the option to output yaml (in case you want to use the output and put it into the lockfile..)

it also updates the BOSHReleaseTarballLock with json tags so marshalling produces the expected output.

Authored-by: Konstantin Kiess kkiess@vmware.com

We from cryo just started using kiln for our tile builds. We have quite
a few tiles and mostly want to bump versions in a tile to latest since
we don't ship many releases in a tile.
I found the output of the find-release-version command somewhat
confusing because it doesn't really match the structure of the
Kilnfile.lock so I figured I'd try to PR this in.

What does this do? It drops the `releaseVersionOutput` that wasn't used
anywhere else and just uses `BOSHReleaseTarballLock` to generate the
output.

It adds the option to output yaml (in case you want to use the output
and put it into the lockfile..)

it also updates the `BOSHReleaseTarballLock` with json tags so
marshalling produces the expected output.

Authored-by: Konstantin Kiess <kkiess@vmware.com>
@cf-gitbot
Copy link
Member

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.

- Json output now also matches kilnfile lock format
- Added tests for yaml output and fixed tests for new json output format
- Removed releaseVersionOutput type since it was not used anymore

Authored-by: Pablo Rodas <prodas@vmware.com>
@pabloarodas pabloarodas force-pushed the feat/frv-output-match-lock-format branch from b67b677 to 8267fe6 Compare August 29, 2023 21:55
@pabloarodas pabloarodas marked this pull request as draft August 30, 2023 20:02
@pabloarodas pabloarodas deleted the feat/frv-output-match-lock-format branch October 18, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants