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

[WIP: dont merge] #2109

Draft
wants to merge 82 commits into
base: main
Choose a base branch
from
Draft

[WIP: dont merge] #2109

wants to merge 82 commits into from

Conversation

WYGIN
Copy link
Contributor

@WYGIN WYGIN commented Mar 26, 2024

Summary

Proof of concept for LFX mentorship: BuildKit explore

Output

Before

After

Documentation

  • Should this change be documented?
    • Yes, see #___
    • No

Related

Resolves #___

Add a new manifest command to pack root commands and add a create
subcommand to the manifest command.

Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Use source/sinks instead of using primitives directly

Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Function templates for the following manifest sub command logics
- create
- add
- annotate
- push
- remove

Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Command templates for the following manifest sub commands
- Add
- Annotate
- Push
- Remove

Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
…gutil

AppendManifest is a wrapper function in imgutil to append a new
manifest to a local index and save it in local storage.
This function will be removed in the future versions of imgutil.

We will use the direct functions to append the manifest and
store the index locally.

Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
WYGIN added 16 commits March 6, 2024 10:22
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
  pack builder create <image-name> --config <builder-config-path> [flags]

Examples:
pack builder create my-builder:bionic --config ./builder.toml

Flags:
  -R, --buildpack-registry string   Buildpack Registry by name
  -c, --config string               Path to builder TOML file (required)
      --flatten stringArray         List of buildpacks to flatten together into a single layer (format: '<buildpack-id>@<buildpack-version>,<buildpack-id>@<buildpack-version>'
  -h, --help                        Help for 'create'
  -l, --label stringToString        Labels to add to the builder image, in the form of '<name>=<value>' (default [])
      --publish                     Publish the builder directly to the container registry specified in <image-name>, instead of the daemon.
      --pull-policy string          Pull policy to use. Accepted values are always, never, and if-not-present. The default is always
  -t, --target strings              Targets are the platforms list to build. one can provide target platforms in format [os][/arch][/variant]:[distroname@osversion@anotherversion];[distroname@osversion]
                                    	- Base case for two different architectures :  '--target "linux/amd64" --target "linux/arm64"'
                                    	- case for distribution version: '--target "windows/amd64:windows-nano@10.0.19041.1415"'
                                    	- case for different architecture with distributed versions : '--target "linux/arm/v6:ubuntu@14.04"  --target "linux/arm/v6:ubuntu@16.04"'

Global Flags:
      --force-color   Force color output
      --no-color      Disable color output
  -q, --quiet         Show less output
      --timestamps    Enable timestamps in output
  -v, --verbose       Show more output

Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
@github-actions github-actions bot added this to the 0.34.0 milestone Mar 26, 2024
@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 Mar 26, 2024
@natalieparellano
Copy link
Member

(updated the description to link this to the LFX mentorship)

WYGIN and others added 4 commits March 30, 2024 09:31
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
Signed-off-by: WYGIN <wygininc@gmail.com>
@jjbustamante jjbustamante removed this from the 0.34.0 milestone Apr 3, 2024
Signed-off-by: WYGIN <wygininc@gmail.com>
@github-actions github-actions bot added this to the 0.34.0 milestone Apr 9, 2024
@jjbustamante jjbustamante modified the milestones: 0.34.0, 0.35.0 Apr 9, 2024
@jjbustamante jjbustamante removed this from the 0.35.0 milestone May 8, 2024
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.

5 participants