Giter Site home page Giter Site logo

handson-tekton's Issues

Error in 03-multistep.yaml

After running

$ kubectl apply -f 03-multistep.yaml
task.tekton.dev/hello configured

$ tkn task start --showlog hello

Getting error the following error

? Value for param `person` of type `string`? (Default is `World`) World
TaskRun started: hello-run-swcbm
Waiting for logs to be available...
[write-hello] Preparing greeting
[write-hello] Done!

[say-hello] internal/fs/utils.js:314
[say-hello]     throw err;
[say-hello]     ^
[say-hello] 
[say-hello] Error: ENOENT: no such file or directory, open '/tekton/home/hello.txt'
[say-hello]     at Object.openSync (fs.js:498:3)
[say-hello]     at Object.readFileSync (fs.js:394:35)
[say-hello]     at Object.<anonymous> (/tekton/scripts/script-1-sxljf:4:22)
[say-hello]     at Module._compile (internal/modules/cjs/loader.js:1072:14)
[say-hello]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
[say-hello]     at Module.load (internal/modules/cjs/loader.js:937:32)
[say-hello]     at Function.Module._load (internal/modules/cjs/loader.js:778:12)
[say-hello]     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
[say-hello]     at internal/main/run_main_module.js:17:47 {
[say-hello]   errno: -2,
[say-hello]   syscall: 'open',
[say-hello]   code: 'ENOENT',
[say-hello]   path: '/tekton/home/hello.txt'
[say-hello] }

But making the line 17 from echo Hello $(params.person) > ~/hello.txt to echo Hello $(params.person) > /tekton/home/hello.txt it is working fine.

Add tkn cmd console output

@joellord In the readme.md it would be good if you can the output of each of the tkn cmds... that would help in visualization and understanding. Right now there is no output so its difficult to figure what happens after tkn cmd ran. I understand this is hands-on so people need to run the cmd to see it.. but if someone came to ur page for quick understanding tkn the lack of console output hampers the expectation

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.