Failing to run s2i task on kubernetes/minikube #110
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Expected Behavior
S2i building application properly
Actual Behavior
When running s2i task under minikube or kubernetes we are getting this error :
Steps to Reproduce the Problem
resource.yaml
taskrun.yaml
task.yaml
name: generate
image: quay.io/openshift-pipeline/s2i
workingdir: /workspace/source
command: ['s2i', 'build', '$(inputs.params.PATH_CONTEXT)', '$(inputs.params.BUILDER_IMAGE)', '--as-dockerfile', '/gen-source/Dockerfile.gen']
volumeMounts:
mountPath: /gen-source
name: build
image: quay.io/buildah/stable
workingdir: /gen-source
command: ['buildah', 'bud', '--tls-verify=$(inputs.params.TLSVERIFY)', '--layers', '-f', '/gen-source/Dockerfile.gen', '-t', '$(outputs.resources.image.url)', '.']
volumeMounts:
mountPath: /var/lib/containers
mountPath: /gen-source
securityContext:
privileged: true
name: push
image: quay.io/buildah/stable
command: ['buildah', 'push', '--tls-verify=$(inputs.params.TLSVERIFY)', '$(outputs.resources.image.url)', 'docker://$(outputs.resources.image.url)']
volumeMounts:
mountPath: /var/lib/containers
securityContext:
privileged: true
volumes:
emptyDir: {}
emptyDir: {}
watch the logs,
Additional Info
s2i
git repos with the same failuresbuildah
task do build properly only s2i is not working hereThe text was updated successfully, but these errors were encountered: