Skip to content

Include a Taskfile in a remote Taskfile does not work #1531

@vmaerten

Description

@vmaerten

Using the Remote Taskfiles experiment, the following includes does not work :
local -> remote -> remote:local

If a remote included Taskfile include itself a Taskfile, the last included is resolved locally instead of remotely

I've created a repo to reproduce it :

https://github.com/vmaerten/task-remote

with the root taskfile :

version: "3"
silent: false

includes:
  remote: https://raw.githubusercontent.com/vmaerten/task-remote/main/Taskfile.remote.yml
tasks:
  default:
    cmds:
      - task: remote:default

Result to :

image

  • Task version: 3.35.0
  • Operating system: Linux
  • Experiments enabled: TASK_X_REMOTE_TASKFILES=1 & TASK_X_ANY_VARIABLES=2

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: remoteChanges related to remote taskfiles.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions