Skip to content

Latest commit

 

History

History
96 lines (68 loc) · 4.31 KB

File metadata and controls

96 lines (68 loc) · 4.31 KB

kn-plugin-workflow

kn-plugin-workflow is a plugin of the Knative Client, to enable users to quickly set up a local SonataFlow project from the command line.

Read the documentation

Build from source

All the commands in this section should be performed in the monorepo root.

Prerequisites

Prerequisites for running end-to-end tests

Installing and linking dependencies

The following command will install the kn-plugin-workflow dependencies and link it with any other monorepo package that is listed in the package.json:

  • pnpm bootstrap -F "@kie-tools/kn-plugin-workflow..."

Building

It has two different strategies to build the kn-plugin-workflow:

  • build:dev (The build will generate one artifact that is compatible with your local machine)
  • build:prod (The build will generate artifacts for all available architecture and run the available tests)

To build the kn-plugin-workflow run the following command:

  • pnpm -r -F "@kie-tools/kn-plugin-workflow..." <build-strategy>

Plugin/artifact location

The artifact(s) generated by running the above command are placed in the packages/kn-plugin-workflow/dist directory.

End to End Tests

To build the kn-plugin-workflow and run end-to-end tests, use the following commands:

  • export KIE_TOOLS_BUILD__runEndToEndTests=true
  • pnpm -r -F "@kie-tools/kn-plugin-workflow..." build:prod

Apache KIE (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Some of the incubating project’s releases may not be fully compliant with ASF policy. For example, releases may have incomplete or un-reviewed licensing conditions. What follows is a list of known issues the project is currently aware of (note that this list, by definition, is likely to be incomplete):

  • Hibernate, an LGPL project, is being used. Hibernate is in the process of relicensing to ASL v2

  • Some files, particularly test files, and those not supporting comments, may be missing the ASF Licensing Header

  • Hibernate, an LGPL project, is being used. Hibernate is in the process of relicensing to ASL v2

  • Some files, particularly test files, and those not supporting comments, may be missing the ASF Licensing Header

If you are planning to incorporate this work into your product/project, please be aware that you will need to conduct a thorough licensing review to determine the overall implications of including this work. For the current status of this project through the Apache Incubator visit: https://incubator.apache.org/projects/kie.html