In my task I have
file: tasks/build-task-config.yml
unknown artifact source: 'tasks' in task config file path 'tasks/build-task-config.yml'
I'm running concourse via docker-compose
Above is my directory structure.
This is how I run fly
fly -t tutorial set-pipeline -c ./ci/main-pipeline.yml -p test-frontend
Edit:
I've tried with path ci/tasks/build-task-config.yml but it's also not working
You need an input to the task called tasks. This may come from a get: step, or as the output of a previous task. Most likely you have a get with your repo that has this code (let's pretend it's called source). If that's the case, then your task should look like this
- task: build-task-config # Or whatever name you want
file: source/ci/tasks/build-task-config.yml
...
Everything has to be relative to an input in a task, if it's not part of the base image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With