Skip to content

polywrap.build.yaml - allow developer to use a custom polywrap-build.sh script #1335

Description

@dOrgJelli

Is your feature request related to a problem? Please describe.
When developers are building wasm wrappers with the vm build strategy, the only way to customize it is to modify the build script located at .polywrap/wasm/build/project/polywrap-build.sh directory, and run the docker command manually.

Describe the solution you'd like
Developers should be able to set the build script within the build manifest, something similar to this:

strategies:
  vm:
    build_script: ./custom.sh

Activity

  1. added this to the origin-qa milestone on Oct 17, 2022
  2. dOrgJelli commented on Oct 29, 2022

    @dOrgJelli
    ContributorAuthor

    This has been reported as a required feature by one of our users, who needs to pass in a "prod" environment variables at build-time.

  3. self-assigned this
    on Oct 29, 2022
  4. dOrgJelli commented on Oct 29, 2022

    @dOrgJelli
    ContributorAuthor

    I've started work on this, will push shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions