Skip to content

Excluding files and folders from a result container #301

Answered by jama22
xSAVIKx asked this question in Q&A
Discussion options

You must be logged in to vote

@xSAVIKx I managed to get it working as well. Looks like you were mixing up syntaxes from spec v0.1 and 0.2. Had to modify your [project] line to [_] in your project.toml as per https://github.com/buildpacks/spec/blob/main/extensions/project-descriptor.md#top-level-tables

@kennethye1 's fix would also work, but instead of specifying the schema-version = "0.2" you would convert your enteries to be compatible with 0.1 e.g. [io.buildpacks]' should be [build]`

[_]
schema-version = "0.2"
id = "com.github.xsavikx.python_functions_cloud_run_buildpacks"
name = "Cloud Run Buildpacks Example"
authors = ["Yurii Serhiichuk <[email protected]>"]
version = "1.0.0"

[io.buildpacks]
include = [
    "pyt…

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
4 replies
@xSAVIKx
Comment options

@xSAVIKx
Comment options

@kennethye1
Comment options

@xSAVIKx
Comment options

Comment options

You must be logged in to vote
12 replies
@kennethye1
Comment options

@kennethye1
Comment options

@xSAVIKx
Comment options

@jama22
Comment options

Answer selected by xSAVIKx
@xSAVIKx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants