2. Followed instructions in readme.
3. Get `invalid input resources: TaskRun's declared resources didn't match usage in Task: [source]`
Log is below:
david@pop-os:~/src/openshift-pipelines-workshop$ oc new-project pipelines-tutorial
Already on project "pipelines-tutorial" on server "https://api.crc.testing:6443".
You can add applications to this project with the 'new-app' command. For example, try:
david@pop-os:~/src/openshift-pipelines-workshop$ oc create -f qotd-pipeline.yaml
pipeline.tekton.dev/qotd-build-and-deploy created
david@pop-os:~/src/openshift-pipelines-workshop$ oc create -f apply_manifest_task.yaml
task.tekton.dev/apply-manifests created
david@pop-os:~/src/openshift-pipelines-workshop$ oc create -f qotd-git-go-resource.yaml
pipelineresource.tekton.dev/qotd-git created
david@pop-os:~/src/openshift-pipelines-workshop$ oc create -f qotd-image-pipelineresource.yaml
pipelineresource.tekton.dev/qotd-image created
david@pop-os:~/src/openshift-pipelines-workshop$ tkn resource ls
NAME TYPE DETAILS
qotd-git git url: https://github.com/redhat-developer-demos/qotd.git
qotd-image image url: image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/qotd:latest
david@pop-os:~/src/openshift-pipelines-workshop$ tkn pipeline start qotd-build-and-deploy
? Choose the git resource to use for qotd-git: [Use arrows to move, type to fil? Choose the git resource to use for qotd-git: qotd-git (https://github.com/redhat-developer-demos/qotd.git)
? Choose the image resource to use for qotd-image: [Use arrows to move, type to filter]
? Choose the image resource to use for qotd-image: qotd-image (image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/qotd:latest)
PipelineRun started: qotd-build-and-deploy-run-vkz7t
In order to track the PipelineRun progress run:
tkn pipelinerun logs qotd-build-and-deploy-run-vkz7t -f -n pipelines-tutorial
david@pop-os:~/src/openshift-pipelines-workshop$ tkn pipelinerun logs qotd-build-and-deploy-run-vkz7t -f -n pipelines-tutorial
invalid input resources: TaskRun's declared resources didn't match usage in Task: [source]
david@pop-os:~/src/openshift-pipelines-workshop$
Pulled this commit:
commit bfc5107f2d63ee56c56cd49d2cee3e329801d366 Author: Don Schenck don.schenck@gmail.com Date: Fri Sep 25 14:18:13 2020 -0400
david@pop-os:~/src/openshift-pipelines-workshop$ oc new-project pipelines-tutorial Already on project "pipelines-tutorial" on server "https://api.crc.testing:6443".
You can add applications to this project with the 'new-app' command. For example, try:
to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:
david@pop-os:~/src/openshift-pipelines-workshop$ oc create -f qotd-pipeline.yaml pipeline.tekton.dev/qotd-build-and-deploy created david@pop-os:~/src/openshift-pipelines-workshop$ oc create -f apply_manifest_task.yaml task.tekton.dev/apply-manifests created david@pop-os:~/src/openshift-pipelines-workshop$ oc create -f qotd-git-go-resource.yaml pipelineresource.tekton.dev/qotd-git created david@pop-os:~/src/openshift-pipelines-workshop$ oc create -f qotd-image-pipelineresource.yaml pipelineresource.tekton.dev/qotd-image created david@pop-os:~/src/openshift-pipelines-workshop$ tkn resource ls NAME TYPE DETAILS qotd-git git url: https://github.com/redhat-developer-demos/qotd.git qotd-image image url: image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/qotd:latest david@pop-os:~/src/openshift-pipelines-workshop$ tkn pipeline start qotd-build-and-deploy ? Choose the git resource to use for qotd-git: [Use arrows to move, type to fil? Choose the git resource to use for qotd-git: qotd-git (https://github.com/redhat-developer-demos/qotd.git) ? Choose the image resource to use for qotd-image: [Use arrows to move, type to filter] ? Choose the image resource to use for qotd-image: qotd-image (image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/qotd:latest) PipelineRun started: qotd-build-and-deploy-run-vkz7t
In order to track the PipelineRun progress run: tkn pipelinerun logs qotd-build-and-deploy-run-vkz7t -f -n pipelines-tutorial david@pop-os:~/src/openshift-pipelines-workshop$ tkn pipelinerun logs qotd-build-and-deploy-run-vkz7t -f -n pipelines-tutorial invalid input resources: TaskRun's declared resources didn't match usage in Task: [source] david@pop-os:~/src/openshift-pipelines-workshop$