Comments (6)
@arcgang could you share your pipeline yaml? I can't reproduce this. Runs successfully when I try it
from pipelines-tutorial.
Running into the same problem with the pipeline provided in the tutorial using a local CodeReadyContainers cluster.
Name: petclinic-deploy-pipeline Namespace: pipelines-tutorial Labels: <none> Annotations: <none> API Version: tekton.dev/v1alpha1 Kind: Pipeline Metadata: Creation Timestamp: 2019-09-30T14:35:05Z Generation: 1 Resource Version: 235517 Self Link: /apis/tekton.dev/v1alpha1/namespaces/pipelines-tutorial/pipelines/petclinic-deploy-pipeline UID: 7eb56f64-e38f-11e9-833d-52fdfc072182 Spec: Resources: Name: app-git Type: git Name: app-image Type: image Tasks: Name: build Params: Name: TLSVERIFY Value: false Resources: Inputs: Name: source Resource: app-git Outputs: Name: image Resource: app-image Task Ref: Name: s2i-java-8 Name: deploy Params: Name: ARGS Value: rollout latest spring-petclinic Run After: build Task Ref: Name: openshift-client Events: <none>
I Found that the path for the upload folder is actually /gen-source/upload and upload/src is going to /workspace, looking for a way to actually solve this and put the correct path
from pipelines-tutorial.
I got the problem to stop showing changing the workingdir on the s2i-java-8 task, but now the app is not being built by maven, so the deploy fails, still working on this and try to make it work.
Change made:
workingDir: /workspace/source
to
workingDir: /gen-source/source
from pipelines-tutorial.
Don't really know what happened, but I restarted the crc cluster, cleaned the PVC's and changed back the workingdir do workspace/source and it worked.
from pipelines-tutorial.
@raffamendes I close this issue for now. Re-open if it appears again
from pipelines-tutorial.
I am using OCP 4.2 and tekton version: v0.11.0
[build : build] --> fa56c9853f8
[build : build] STEP 3: USER root
[build : build] --> 4a7e70bb2e8
[build : build] STEP 4: COPY upload/src /tmp/src
[build : build] error building at STEP "COPY upload/src /tmp/src": no files found matching "/workspace/upload/src": no such file or directory
any lead will be appreciated.. Thanks
failed to get logs for task build : container step-build has failed : Error : [{"name":"","digest":"","key":"StartedAt","value":"2020-05-11T18:51:40Z","resourceRef":{}}]
from pipelines-tutorial.
Related Issues (20)
- Error: invalid input format for workspace HOT 4
- Not available for OKD 4.x HOT 5
- Trigger Pipeline fails HOT 5
- Build Trigger when commiting change to git fails HOT 1
- Branch release-tech-preview-3 does not exist
- Tutorial fails validating Task - update-deployment HOT 5
- WebUI Error after Trigger Creation HOT 7
- requests.exceptions.ConnectionError to connect from vote-ui to vote-api HOT 2
- Unable to create trigger HOT 5
- PipleineRun - Push Fails Auth Required Error (for local registry) HOT 1
- git-clone login credetials HOT 2
- tkn pipeline start fails at build stage with integrated registry HOT 6
- Minor language changes to YAML files HOT 4
- Operatorhub installation does not perform as expected/defined in readme HOT 1
- Creating Trigger fails with sample yaml HOT 4
- README suggests try.openshift.com, but users cannot install operators HOT 7
- Error from server (MethodNotAllowed) while running oc appy -f triggers template HOT 4
- It comes up as Phase 404 in the guide.(http://try.openshift.com ). HOT 4
- trigger failed to trig the pipeline with "x509: certificate signed by unknown authority " HOT 5
- getting an error: the API version in the data (tekton.dev/v1beta1) does not match the expected API version (tekton.dev/v1) HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipelines-tutorial.