Skip to content

Revert images.contentDigest back to digest#1358

Merged
carolynvs merged 1 commit intogetporter:mainfrom
carolynvs:undo-image-contentDigest
Nov 5, 2020
Merged

Revert images.contentDigest back to digest#1358
carolynvs merged 1 commit intogetporter:mainfrom
carolynvs:undo-image-contentDigest

Conversation

@carolynvs
Copy link
Copy Markdown
Member

What does this change

This undoes an accidental change from #1308 that changed the manifest
field images.NAME.digest to images.NAME.contentDigest. This is a breaking regression for anyone previously using images. There wasn't any need to change the field name in the manifest, we only needed the bundle.json to use the term contentDigest.

I have changed the manifest field back to digest, and ensured that the user documentation for that field is up to date.

What issue does it fix

Closes #1355

Notes for the reviewer

I've made a follow-up issue to look at tag again. #1357

Checklist

  • Unit Tests (the existing tests are sufficient)
  • Documentation
  • Schema (porter.yaml)

Comment thread docs/content/blog/new-logo.md Outdated
@@ -0,0 +1,12 @@
---
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.

Is this an older/missed blog post? Should it be intro'd in a different PR?

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.

oops, that's a draft I had on my computer. Sorry about that!

This undoes an accidental change from
getporter#1308 that changed the manifest
field images.NAME.digest to images.NAME.contentDigest. This is a
breaking regression for anyone previously using images. There wasn't any
need to change the field name in the manifest, we only needed the
bundle.json to use the term contentDigest.

I have changed the manifest field back to digest, and ensured that the
user documentation for that field is up to date.

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs carolynvs force-pushed the undo-image-contentDigest branch from 5556c37 to d56df87 Compare November 5, 2020 16:03
@carolynvs
Copy link
Copy Markdown
Member Author

I have removed the extraneous blog post and fixed the testdata for schema.json. Renaming from contentDigest to digest changed the order of the field declarations.

@carolynvs carolynvs merged commit 2931a5c into getporter:main Nov 5, 2020
@carolynvs carolynvs deleted the undo-image-contentDigest branch August 26, 2021 18:54
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.

Wiring images for airgapped installation is broken in 0.30.0

2 participants