Skip to content

Commit

Permalink
updating code
Browse files Browse the repository at this point in the history
  • Loading branch information
tosin2013 committed Feb 13, 2024
1 parent dc368be commit d1cab8c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions _deployments/run_tekton_pipeline.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,29 @@ image: /path/to/hero-image.jpg # Path to a hero image (optional)

## Prerequisites
* Configure Secret for quay regisgtry -> use this link as reference [configure-pipeline-secret.sh](https://raw.githubusercontent.com/tosin2013/redhat-edge-ai-industrial-demo-infra/main/hack/configure-pipeline-secret.sh)
* If you ran the dev-env setup, you can call the script below to configure the secret
{% highlight bash %}
./hack/configure-pipeline-secret.sh
{% endhighlight %}


## Run pipeline against quay.io
```
{% highlight bash %}
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
```
{% endhighlight %}

## Run pipeline against self hosted quay on openshift
```
{% highlight bash %}
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
```
./run_pipeline.sh quay.io/admin/redhat-edge-ai-industrial-demo
{% endhighlight %}
o


## Source code
Expand All @@ -40,6 +44,6 @@ chmod +x run_pipeline.sh

*make sure openshift pipelines is installed before running*

```
{% highlight bash %}
oc apply -k https://github.com/tosin2013/redhat-edge-ai-industrial-demo-infra/components/applications/redhat-edge-ai-industrial-demo/overlays/rhde-dev-env
```
{% endhighlight %}

0 comments on commit d1cab8c

Please sign in to comment.