From 952c7f824c0a929d388399b5320b19490b0ebe8e Mon Sep 17 00:00:00 2001 From: Dominik Hanak Date: Mon, 5 Aug 2024 16:28:46 +0200 Subject: [PATCH 1/2] SRVLOGIC-261-hotfix: Include workflow plugin binary downaload install --- antora.yml | 2 +- .../operator/install-kn-workflow-cli.adoc | 35 ++++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/antora.yml b/antora.yml index 1d7fda21..0c7de21d 100644 --- a/antora.yml +++ b/antora.yml @@ -106,7 +106,7 @@ asciidoc: open_api_spec_url: https://spec.openapis.org/oas/v3.1.0.html open_api_swagger_spec_url: https://swagger.io/docs/specification quarkus_openapi_gen_url: https://github.com/quarkiverse/quarkus-openapi-generator - kie_tools_releases_page_url: https://github.com/apache/incubator-kie-tools/releases + kn_workflow_plugin_releases_url: https://developers.redhat.com/content-gateway/rest/mirror/pub/cgw/serverless-logic/1.33.0/ quarkus_guides_base_url: https://quarkus.io/guides quarkus_guides_kafka_url: https://quarkus.io/guides/kafka quarkus_guides_building_native: https://quarkus.io/guides/building-native-image diff --git a/modules/serverless-logic/pages/cloud/operator/install-kn-workflow-cli.adoc b/modules/serverless-logic/pages/cloud/operator/install-kn-workflow-cli.adoc index 4308a798..bf1ed05e 100644 --- a/modules/serverless-logic/pages/cloud/operator/install-kn-workflow-cli.adoc +++ b/modules/serverless-logic/pages/cloud/operator/install-kn-workflow-cli.adoc @@ -7,7 +7,40 @@ *Prerequisites* -* You have first installed the link:{kn_cli_install_url}[Knative CLI]. +* You have first installed the link:{kn_cli_install_url}[Knative CLI]. +* link:{java_install_url}[Java] {java_min_version} is installed. +* link:{maven_install_url}[Maven] {maven_min_version} or later is installed. +* (Optional) link:{docker_install_url}[Docker] is installed. +* (Optional) link:{podman_install_url}[Podman] is installed. +* link:{kubectl_install_url}[Kubernetes CLI] is installed. + +[proc-install-sw-plugin-kn-cli]] +== Installing the {product_name} plug-in for Knative CLI + +You can use the {product_name} plug-in to set up your local workflow project quickly using Knative CLI. + +.Procedure +. Download the latest binary file, suitable for your environment, from the link:{kn_workflow_plugin_releases_url}[download] page. +. Install the `kn workflow` command as a plug-in of the Knative CLI using the following steps: ++ +-- +.. Rename the downloaded binary as follows: ++ +`mv kn-workflow-linux-amd64 kn-workflow` ++ +.. Make the binary file executable as follows: ++ +`chmod +x kn-workflow` ++ +[WARNING] +==== +On Mac, some systems might block the application to run due to Apple enforcing policies. To fix this problem, check the *Security & Privacy* section in the *System Preferences* -> *General* tab to approve the application to run. For more information, see link:{apple_support_url}[Apple support article: Open a Mac app from an unidentified developer]. +==== +.. Copy the `kn-workflow` binary file to `/usr/local/bin`. +.. Run the following command to verify that `kn-workflow` plug-in is installed successfully: ++ +`kn plugin list` +-- == Installing the Knative Workflow Plugin using the artifacts image From f74af4e605ae77af69a1af648d93b09c11162664 Mon Sep 17 00:00:00 2001 From: Dominik Hanak Date: Mon, 5 Aug 2024 16:58:06 +0200 Subject: [PATCH 2/2] SRVLOGIC-261-hotfix: Fix prerequisites --- .../pages/cloud/operator/install-kn-workflow-cli.adoc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/serverless-logic/pages/cloud/operator/install-kn-workflow-cli.adoc b/modules/serverless-logic/pages/cloud/operator/install-kn-workflow-cli.adoc index bf1ed05e..d7f8acc4 100644 --- a/modules/serverless-logic/pages/cloud/operator/install-kn-workflow-cli.adoc +++ b/modules/serverless-logic/pages/cloud/operator/install-kn-workflow-cli.adoc @@ -8,11 +8,7 @@ *Prerequisites* * You have first installed the link:{kn_cli_install_url}[Knative CLI]. -* link:{java_install_url}[Java] {java_min_version} is installed. -* link:{maven_install_url}[Maven] {maven_min_version} or later is installed. -* (Optional) link:{docker_install_url}[Docker] is installed. -* (Optional) link:{podman_install_url}[Podman] is installed. -* link:{kubectl_install_url}[Kubernetes CLI] is installed. +* link:{docker_install_url}[Docker] or {podman_install_url}[Podman] is installed. [proc-install-sw-plugin-kn-cli]] == Installing the {product_name} plug-in for Knative CLI