In GitHub Action, using version 3.40.0 of task to execute remote taskfile task reports vertex not found.
- Task version: 3.40.0
- Operating system: GitHub Action ubuntu-latest
- Experiments enabled: REMOTE_TASK_FILE
In GitHub Action, using version 3.40.0 of task to execute remote taskfile task reports vertex not found.
Here are the logs:
Run task --yes cloudrun:deploy SVC="@all" ENV="dev" CANARY="0"
The task you are attempting to run depends on the remote Taskfile at "https://storage.googleapis.com/xxx/cloudrun/Taskfile.yml".
--- Make sure you trust the source of this Taskfile before continuing ---
Continue? [assuming yes]
The task you are attempting to run depends on the remote Taskfile at "https://storage.googleapis.com/xxx/docker/Taskfile.yml".
--- Make sure you trust the source of this Taskfile before continuing ---
source vertex https://storage.googleapis.com/xxx/cloudrun/Taskfile.yml: vertex not found
Continue? [assuming yes]
However, when using version 3.37.1 of the task, there was no error, and it was successfully completed. I haven't tried more versions yet, but I wanted to report this issue first.
Do you have a reproducible example ? I am using remote taskfiles in github action at work and I have no issue. Therefore I am not able to reproduce.
Hello, fellow error-haver. I have also experienced this issue with remote Taskfiles but found it only happened when I did not specify the full path to the Taskfile. I think this is a sensible assumption to make but, to be fair, the documentation for remote taskfiles only shows support for URIs with a full path
This doesn't work
version: "3"
includes:
foobar: https://example.com/taskfiles/foobar/
This works
version: "3"
includes:
foobar: https://example.com/taskfiles/foobar/Taskfile.yaml
Hi, this is the fix that I submitted before and merged. https://github.com/go-task/task/pull/2007
That change has been merged, but not released yet. It will be in the next release, which will hopefully be in the coming days.
@pd93 do you have brief eta for next release?