-
Notifications
You must be signed in to change notification settings - Fork 106
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
Exporter changes for run image extension #1055
Commits on Feb 14, 2023
-
Make a single constructor for lifecycle inputs
- The logic to update the default path for TOML files was repeated across phases - In general it is safe to provide default values for inputs that might not be relevant to the current phase, as these will be ignored when constructing a new service for the phase; e.g., platform.LifecycleInputs.OrderPath will be ignored when constructing a lifecycle.Exporter - As more inputs are shared across phases (e.g., analyzed.toml is now an input to the detect phase), duplicating the logic for providing default values is becoming more cumbersome Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for f22c4f9 - Browse repository at this point
Copy the full SHA f22c4f9View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 433bf3c - Browse repository at this point
Copy the full SHA 433bf3cView commit details -
Buildpack API: run.Dockerfiles are allowed instructions on versions >…
…= 0.10 Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for f40616e - Browse repository at this point
Copy the full SHA f40616eView commit details -
Platform API: the detector accepts a new -run flag
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 29a94a6 - Browse repository at this point
Copy the full SHA 29a94a6View commit details
Commits on Feb 15, 2023
-
Move responsibility for validating Dockerfiles into the buildpack pac…
…kage Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 569f985 - Browse repository at this point
Copy the full SHA 569f985View commit details -
When verifying Dockerfiles, return the new base image name if necessary
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for c72a10e - Browse repository at this point
Copy the full SHA c72a10eView commit details -
When determining the new runtime base image, use criteria outlined in…
… the platform spec Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 4c5a564 - Browse repository at this point
Copy the full SHA 4c5a564View commit details -
Platform API: the schema of analyzed.toml is updated to include run-i…
…mage.extend = <true or false, default false> Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 01ab4b6 - Browse repository at this point
Copy the full SHA 01ab4b6View commit details -
TESTME: Update analyzed.toml with new run image if needed
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 9ba40e3 - Browse repository at this point
Copy the full SHA 9ba40e3View commit details -
If extensions are used to switch the runtime base image, the detector…
… should fail if the selected base image is not found in run.toml. Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for eea3182 - Browse repository at this point
Copy the full SHA eea3182View commit details -
Add fixture to test re-writing of analyzed.toml
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 647a3db - Browse repository at this point
Copy the full SHA 647a3dbView commit details -
Move updating analyzed.toml into lifecycle package for easier testing
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 9157796 - Browse repository at this point
Copy the full SHA 9157796View commit details
Commits on Feb 17, 2023
-
Platform API: the restorer will update analyzed.toml with:
- digest ref for run image - target data for run image Additionally the restorer will download the run image manifest & config when extend is true Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 62411e8 - Browse repository at this point
Copy the full SHA 62411e8View commit details -
Update acceptance/extender_test.go
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 362e755 - Browse repository at this point
Copy the full SHA 362e755View commit details
Commits on Feb 21, 2023
-
The extender accepts new -extended and -kind flags
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 6cd5a89 - Browse repository at this point
Copy the full SHA 6cd5a89View commit details
Commits on Feb 22, 2023
-
Because we change the media types to be oci types (vs docker types) this changes the digest of the image Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 97470cd - Browse repository at this point
Copy the full SHA 97470cdView commit details -
Add acceptance test for run image extension
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 9971560 - Browse repository at this point
Copy the full SHA 9971560View commit details
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8013390 - Browse repository at this point
Copy the full SHA 8013390View commit details
Commits on Feb 24, 2023
-
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for d546169 - Browse repository at this point
Copy the full SHA d546169View commit details -
WIP: break me up into separate commits
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 3a55e4e - Browse repository at this point
Copy the full SHA 3a55e4eView commit details
Commits on Feb 27, 2023
-
Validate extend config during buildpack/generate
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for c3f74aa - Browse repository at this point
Copy the full SHA c3f74aaView commit details -
Address some TODOs and refactor
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for ee09eb7 - Browse repository at this point
Copy the full SHA ee09eb7View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 50c23a7 - Browse repository at this point
Copy the full SHA 50c23a7View commit details
Commits on Feb 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 15c4c06 - Browse repository at this point
Copy the full SHA 15c4c06View commit details -
Fix merge and restore selective package
imgutil/layout/sparse modifies the image media types which we don't want Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 8917ca0 - Browse repository at this point
Copy the full SHA 8917ca0View commit details -
Update analyzed.toml with digest reference or target data if needed
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for ea13f10 - Browse repository at this point
Copy the full SHA ea13f10View commit details
Commits on Mar 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d0ce558 - Browse repository at this point
Copy the full SHA d0ce558View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 9ba92d1 - Browse repository at this point
Copy the full SHA 9ba92d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6487081 - Browse repository at this point
Copy the full SHA 6487081View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76c7284 - Browse repository at this point
Copy the full SHA 76c7284View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for b8f029f - Browse repository at this point
Copy the full SHA b8f029fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d78993 - Browse repository at this point
Copy the full SHA 2d78993View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a37dfb - Browse repository at this point
Copy the full SHA 7a37dfbView commit details
Commits on Mar 6, 2023
-
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for c76b604 - Browse repository at this point
Copy the full SHA c76b604View commit details -
FIXME: extended layers should be small Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for d895813 - Browse repository at this point
Copy the full SHA d895813View commit details
Commits on Mar 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 693b575 - Browse repository at this point
Copy the full SHA 693b575View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 49e41cb - Browse repository at this point
Copy the full SHA 49e41cbView commit details -
Add new assertions and rename variables for clarity; fix exporter units
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for e1cbf60 - Browse repository at this point
Copy the full SHA e1cbf60View commit details
Commits on Mar 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4bf7786 - Browse repository at this point
Copy the full SHA 4bf7786View commit details -
Save extended run image under <extended>/run
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 523ce2e - Browse repository at this point
Copy the full SHA 523ce2eView commit details -
Check for nil config and make the loop simpler
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 63d5178 - Browse repository at this point
Copy the full SHA 63d5178View commit details -
Fix ineffectual assignment to err
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for e7f0bc6 - Browse repository at this point
Copy the full SHA e7f0bc6View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 21f9560 - Browse repository at this point
Copy the full SHA 21f9560View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7761161 - Browse repository at this point
Copy the full SHA 7761161View commit details
Commits on Mar 29, 2023
-
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 74eddd9 - Browse repository at this point
Copy the full SHA 74eddd9View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for a43a606 - Browse repository at this point
Copy the full SHA a43a606View commit details -
Make constants for asserted log lines
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 007da92 - Browse repository at this point
Copy the full SHA 007da92View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 924351f - Browse repository at this point
Copy the full SHA 924351fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a67f3c1 - Browse repository at this point
Copy the full SHA a67f3c1View commit details
Commits on Mar 30, 2023
-
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 47c05dd - Browse repository at this point
Copy the full SHA 47c05ddView commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 979518e - Browse repository at this point
Copy the full SHA 979518eView commit details -
Update imgutil to point to branch commit
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 0313b88 - Browse repository at this point
Copy the full SHA 0313b88View commit details
Commits on Mar 31, 2023
-
Add support to extending daemon images
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for c3922cd - Browse repository at this point
Copy the full SHA c3922cdView commit details
Commits on Apr 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dfdd162 - Browse repository at this point
Copy the full SHA dfdd162View commit details -
Fix image ref when exporting to daemon
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 5f5942a - Browse repository at this point
Copy the full SHA 5f5942aView commit details
Commits on Apr 4, 2023
-
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 15a3727 - Browse repository at this point
Copy the full SHA 15a3727View commit details
Commits on Apr 11, 2023
-
Improve script to test on fork
Clarify names of cosign secrets and remove Codecov Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for b08e51c - Browse repository at this point
Copy the full SHA b08e51cView commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 1cbf231 - Browse repository at this point
Copy the full SHA 1cbf231View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for fad8bde - Browse repository at this point
Copy the full SHA fad8bdeView commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for aa2453e - Browse repository at this point
Copy the full SHA aa2453eView commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for df6ab56 - Browse repository at this point
Copy the full SHA df6ab56View commit details -
- We shouldn't try to use extension layers if they exist in <layers>/extended unless experimental features are enabled - We only know the size of the compressed layer, so we can't use io.CopyN (but we don't need to guard against decompression bomb anyway since we control the layers) Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 6d8b300 - Browse repository at this point
Copy the full SHA 6d8b300View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 588eb30 - Browse repository at this point
Copy the full SHA 588eb30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75fcfda - Browse repository at this point
Copy the full SHA 75fcfdaView commit details
Commits on Apr 12, 2023
-
Rename fixture dirs so that we can check out source code on Windows
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 39cbf64 - Browse repository at this point
Copy the full SHA 39cbf64View commit details -
We need access to the final image after all Dockerfiles have been applied, so we need to create the working directory outside the applier loop. Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 4f68f04 - Browse repository at this point
Copy the full SHA 4f68f04View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 6b6d133 - Browse repository at this point
Copy the full SHA 6b6d133View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 90851c0 - Browse repository at this point
Copy the full SHA 90851c0View commit details
Commits on Apr 13, 2023
-
Fix acceptance test by making it less brittle
Instead of hard-coding the run image and run image top layer SHAs, we can derive their values Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 00938a2 - Browse repository at this point
Copy the full SHA 00938a2View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 9e6752c - Browse repository at this point
Copy the full SHA 9e6752cView commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 224a9a0 - Browse repository at this point
Copy the full SHA 224a9a0View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 9acea63 - Browse repository at this point
Copy the full SHA 9acea63View commit details
Commits on Apr 14, 2023
-
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 83686a6 - Browse repository at this point
Copy the full SHA 83686a6View commit details -
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for f24dc34 - Browse repository at this point
Copy the full SHA f24dc34View commit details -
Co-authored-by: Jesse Brown <jabrown85@gmail.com> Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 4da88b1 - Browse repository at this point
Copy the full SHA 4da88b1View commit details -
Check err type when we fail to get a layer from a sparse image
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Configuration menu - View commit details
-
Copy full SHA for 4707bcf - Browse repository at this point
Copy the full SHA 4707bcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 829e188 - Browse repository at this point
Copy the full SHA 829e188View commit details