From a9ed71bb7b4952c7f7252df89d904c78fcee07b1 Mon Sep 17 00:00:00 2001 From: Marshall Gaucher <36639405+mdr0id@users.noreply.github.com> Date: Tue, 18 Oct 2022 13:47:59 -0700 Subject: [PATCH] Update README.md Update markdown typos --- contrib/ci-builders/tekton/tekton-labs/README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/contrib/ci-builders/tekton/tekton-labs/README.md b/contrib/ci-builders/tekton/tekton-labs/README.md index 1a6f2f82d..bfcf5c001 100644 --- a/contrib/ci-builders/tekton/tekton-labs/README.md +++ b/contrib/ci-builders/tekton/tekton-labs/README.md @@ -1,7 +1,7 @@ # infra-tekton-labs Examples of CI/CD used to support Zcash build and testing -# Environment Tooling Setup +# Environment Tooling Setup (Pre-Install/Install) ### Install Docker https://docs.docker.com/engine/install/ @@ -27,7 +27,8 @@ https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ ### Install Tkn https://tekton.dev/docs/cli/ -# Setup Local Zcash CI environment +# Setup Local Zcash CI Environment +Follow the steps below 1-3 to complete a local Zcash Tekton installation, assuming the above dependencies are installed. ### Create cluster (e.g. micro k8, kind, minicube) 1. `kind create cluster --name zcash-tekton-lab` @@ -49,22 +50,28 @@ https://tekton.dev/docs/cli/ ### Create Tekton Pipeline in cluster See: https://github.com/tektoncd/pipeline for recent version + 2. `kubectl apply -f releases/tekton-pipeline-v0.37.0.yaml` (Alternative) + `kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.37.0/release.yaml` ### Create Tekton Dashboard in cluster See: https://github.com/tektoncd/dashboard for recent version + 3. `kubectl apply -f releases/tekton-dashboard-readonly-v0.27.0.yaml` Validate deployment of Tekton Dashboard & Pipeline + `kubectl get pods --namespace tekton-pipelines` Forward Tekton Dashboard: + `kubectl --namespace tekton-pipelines port-forward svc/tekton-dashboard 9097:9097 &` View Dashboard in Browser: + `http://localhost:9097/` ## Create Tekton Task @@ -75,3 +82,8 @@ tkn task start --showlog zcash-build tkn task delete zcash-build ## Create Tekton Pipeline +kubectl apply -f ./pipeline/zcash-build-pipeline.yml + +tkn pipeline start --showlog zcash-build-pipeline + +tkn pipeline delete zcash-build-pipeline