Run tekton pipeline

20240106134547

Prerequisites

  • Create a redhat-edge-ai-industrial-demo repository on quay.io or self hosted quay on openshift
  • Configure Secret for quay regisgtry -> use this link as reference configure-pipeline-secret.sh
  • If you ran the dev-env setup, you can call the script below to configure the secret
 ./hack/configure-pipeline-secret.sh

qua

Run pipeline against quay.io

  • tkn cli is required to run the pipeline.
curl -OL https://raw.githubusercontent.com/tosin2013/redhat-edge-ai-industrial-demo-infra/main/hack/run_pipeline.sh
chmod +x run_pipeline.sh

USERNAME=takinosh
./run_pipeline.sh quay.io/${USERNAME}/redhat-edge-ai-industrial-demo

Run pipeline against self hosted quay on openshift

curl -OL https://raw.githubusercontent.com/tosin2013/redhat-edge-ai-industrial-demo-infra/main/hack/run_pipeline.sh
chmod +x run_pipeline.sh

./run_pipeline.sh $(oc get route -n quay | grep registry-quay | awk '{print $2}' | head -1)/admin/redhat-edge-ai-industrial-demo

Source code

Tekton Pipelines

Via URL

make sure openshift pipelines is installed before running

oc apply -k https://github.com/tosin2013/redhat-edge-ai-industrial-demo-infra/components/applications/redhat-edge-ai-industrial-demo/overlays/rhde-dev-env