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

pack builder create should support extensions #1478

Merged
merged 42 commits into from
Nov 14, 2022
Merged

Conversation

natalieparellano
Copy link
Member

@natalieparellano natalieparellano commented Jul 5, 2022

Summary

If a builder.toml contains [extensions] and [order-extensions]:

Documentation

Related

Resolves #1468

@github-actions github-actions bot added this to the 0.28.0 milestone Jul 5, 2022
@github-actions github-actions bot added the type/enhancement Issue that requests a new feature or improvement. label Jul 5, 2022
@codecov
Copy link

codecov bot commented Jul 5, 2022

Codecov Report

Merging #1478 (0afadda) into main (8f8cdb3) will decrease coverage by 0.14%.
The diff coverage is 80.27%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1478      +/-   ##
==========================================
- Coverage   81.12%   80.99%   -0.13%     
==========================================
  Files         155      156       +1     
  Lines       10094    10281     +187     
==========================================
+ Hits         8188     8326     +138     
- Misses       1422     1458      +36     
- Partials      484      497      +13     
Flag Coverage Δ
os_linux 79.80% <80.27%> (-0.11%) ⬇️
os_macos 77.30% <80.27%> (-0.03%) ⬇️
os_windows 80.87% <80.27%> (-0.13%) ⬇️
unit 80.99% <80.27%> (-0.13%) ⬇️

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

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

@jromero jromero left a comment

Choose a reason for hiding this comment

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

Initial feedback:

I like the term module overall for the generic shared concept. There are still a few references where “buildpacks” are used when talking about extensions though. I think they need to be fully resolved.

ie.

  • BuildpackLayers
  • /pkg/buildpack package

pkg/buildpack/buildpack.go Outdated Show resolved Hide resolved
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
@github-actions github-actions bot added the type/chore Issue that requests non-user facing changes. label Jul 22, 2022
Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano
Copy link
Member Author

natalieparellano commented Jul 22, 2022

Still to be done:

  • Fix use of deprecated strings.Title
  • Test filling in extension version from the provided order for extensions
  • Ensure optional = true isn’t redundantly printed in the order for extensions
  • Ensure Codecov is happy
  • Get WCOW tests to run

Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano natalieparellano changed the title [WIP] pack builder create should support extensions pack builder create should support extensions Jul 22, 2022
Acceptance test expects different diffIDs for Linux and Windows layers

Signed-off-by: Natalie Arellano <narellano@vmware.com>
- Acceptance test expects different diffIDs for Linux and Windows layers
- Fix compat

Signed-off-by: Natalie Arellano <narellano@vmware.com>
natalieparellano and others added 4 commits September 20, 2022 18:23
Signed-off-by: Natalie Arellano <narellano@vmware.com>
The code changed, so the diff ID changed

Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano natalieparellano force-pushed the extensions-phase-1 branch 2 times, most recently from d458bf9 to d18d7da Compare September 27, 2022 16:54
This will make the diff easier to parse

Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
pkg/buildpack/buildpack.go Outdated Show resolved Hide resolved
Copy link
Member

@jjbustamante jjbustamante left a comment

Choose a reason for hiding this comment

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

It looks good to me

Signed-off-by: Natalie Arellano <narellano@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental Issue or PR refers to an experimental feature. 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.

pack builder create should support extensions
5 participants