How can I make a Tekton Task's command execution wait until the previous Task's spun up pod is ready for requests
After your step that do oc apply
, you can add a step to wait for the deployment to become "available". This is for kubectl
but should work the same way with oc
:
kubectl wait --for=condition=available --timeout=60s deployment/myapp
Then the next Task can depend on this Task with runAfter: ["create-and-deploy-integration-server"]