Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in 03-multistep.yaml #9

Open
himadriganguly opened this issue Aug 9, 2021 · 0 comments
Open

Error in 03-multistep.yaml #9

himadriganguly opened this issue Aug 9, 2021 · 0 comments

Comments

@himadriganguly
Copy link

himadriganguly commented Aug 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant