From 92d4c2c35ea327be80320fe5917805ce803591f7 Mon Sep 17 00:00:00 2001 From: desmax74 Date: Fri, 26 May 2023 12:58:31 +0200 Subject: [PATCH] [KOGITO-7278][KSW-Guides] Building Workflow Images with Tekton Pipelines Signed-off-by: desmax74 --- serverlessworkflow/antora.yml | 5 +++++ .../quarkus/build-workflow-images-with-tekton.adoc | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/serverlessworkflow/antora.yml b/serverlessworkflow/antora.yml index 9ee32a0b7..ae0e52be9 100644 --- a/serverlessworkflow/antora.yml +++ b/serverlessworkflow/antora.yml @@ -80,6 +80,11 @@ asciidoc: openshift_application_data_services_service_registry_url: https://console.redhat.com/application-services/service-registry openshift_application_data_services_apache_kafka_url: https://console.redhat.com/application-services/streams/kafkas camel_url: https://camel.apache.org/ + tekton_cli_url: https://tekton.dev/docs/cli/ + tekton_minikube: https://github.com/tektoncd/pipeline/blob/main/docs/developers/local-setup.md#using-minikube + tekton_kind: https://github.com/tektoncd/plumbing/tree/main/hack + tekton_k8s: https://tekton.dev/docs/pipelines/install/ + tekton_dashboard: https://tekton.dev/docs/dashboard/ # must align this version camel_extensions_url: https://camel.apache.org/camel-quarkus/2.14.x/reference/extensions kaoto_url: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-kaoto diff --git a/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/build-workflow-images-with-tekton.adoc b/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/build-workflow-images-with-tekton.adoc index a780475b3..fe74d0b43 100644 --- a/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/build-workflow-images-with-tekton.adoc +++ b/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/build-workflow-images-with-tekton.adoc @@ -15,15 +15,15 @@ and a namespace where you can install Tekton i.e. `custom-namespace`. Tekton CLI: - On Openshift in the Operator pipelines is available a link to download the correct cli from the operaotr -- On Minikube/kind/Kubernetes use this link https://tekton.dev/docs/cli/ +- On Minikube/kind/Kubernetes use this {tekton_cli_url}[link] == Install Tekton pipeline -If you are using Openshift, you can install the Red Hat Pipeline Operator. -If you are using Minikube, you can follow this link:https://github.com/tektoncd/pipeline/blob/main/docs/developers/local-setup.md#using-minikube[tekton guide for Minikube]. -If you are using Kind you can follow this link:https://github.com/tektoncd/plumbing/tree/main/hack[Tekton guide for Kind]. -If you want to use it on a plain kubernetes cluster, you can follow this link:https://tekton.dev/docs/pipelines/install/[Tekton guide for kubernetes]. +If you are using OpenShift, you can install the Red Hat Pipeline Operator. +If you are using Minikube, you can follow this link: {tekton_minikube}[[tekton guide for Minikube]. +If you are using Kind you can follow this {tekton_kind}[Tekton guide for Kind]. +If you want to use it on a plain kubernetes cluster, you can follow this {tekton_k8s}[Tekton guide for kubernetes]. == Create the pipeline @@ -134,7 +134,7 @@ at the end your image will be available at: image-registry.openshift-image-registry.svc:5000/custom-namespace/:latest On Minikube, Kind or plain Kubernetes cluster you can install the -link:{https://tekton.dev/docs/dashboard/}[Tekton Dashboard] +{tekton_dashboard}[Tekton Dashboard] Otherwise replace the in the custom-workflow-image-pipeline-run.yaml and execute ----