Skip to content

Bump lifecycle library version#1826

Merged
jkutner merged 7 commits intomainfrom
bump-lifecycle
Jul 10, 2023
Merged

Bump lifecycle library version#1826
jkutner merged 7 commits intomainfrom
bump-lifecycle

Conversation

@natalieparellano
Copy link
Copy Markdown
Member

No description provided.

Natalie Arellano added 3 commits July 5, 2023 15:09
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano natalieparellano requested review from a team as code owners July 5, 2023 20:17
@github-actions github-actions Bot added this to the 0.30.0 milestone Jul 5, 2023
@github-actions github-actions Bot added type/enhancement Issue that requests a new feature or improvement. type/chore Issue that requests non-user facing changes. labels Jul 5, 2023
return l.opts.RunImage
}
if amd.RunImage == nil {
if amd.RunImage == nil || amd.RunImage.Image == "" {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like github.com/BurntSushi/toml had a bug before where empty structs without an omitempty annotation weren't getting written out to TOML files, so in our fixture file run-image was not present and amd.RunImage actually was nil. This change fixes the test no matter which version of the library we use.

cc @jkutner

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! thanks

…ound in existing metadata

Signed-off-by: Natalie Arellano <narellano@vmware.com>
Comment thread acceptance/acceptance_test.go Outdated
"rebase", repoName,
"--run-image", runAfter,
"--pull-policy", "never",
"--force",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth noting, the need for --force is a breaking change. We should call this out in the release notes.

Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Copy link
Copy Markdown
Contributor

@joe-kimmel-vmw joe-kimmel-vmw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 10, 2023

Codecov Report

Merging #1826 (1ae5d72) into main (88a998d) will decrease coverage by 0.01%.
The diff coverage is 87.50%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1826      +/-   ##
==========================================
- Coverage   80.18%   80.16%   -0.01%     
==========================================
  Files         169      169              
  Lines       12436    12436              
==========================================
- Hits         9970     9968       -2     
- Misses       1832     1834       +2     
  Partials      634      634              
Flag Coverage Δ
os_linux 78.96% <87.50%> (+0.01%) ⬆️
os_macos 76.73% <87.50%> (-0.01%) ⬇️
os_windows 79.52% <87.50%> (-0.01%) ⬇️
unit 80.16% <87.50%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@jkutner jkutner merged commit 39d20aa into main Jul 10, 2023
@jkutner jkutner deleted the bump-lifecycle branch July 10, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/chore Issue that requests non-user facing changes. type/enhancement Issue that requests a new feature or improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants