Coder Social home page Coder Social logo

Comments (6)

siamaksade avatar siamaksade commented on July 20, 2024 1

@arcgang could you share your pipeline yaml? I can't reproduce this. Runs successfully when I try it

from pipelines-tutorial.

raffamendes avatar raffamendes commented on July 20, 2024

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
image

from pipelines-tutorial.

raffamendes avatar raffamendes commented on July 20, 2024

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.

raffamendes avatar raffamendes commented on July 20, 2024

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.

siamaksade avatar siamaksade commented on July 20, 2024

@raffamendes I close this issue for now. Re-open if it appears again

from pipelines-tutorial.

kamleshjec avatar kamleshjec commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.