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

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

Closed
vmaerten opened this issue Mar 4, 2024 · 0 comments · Fixed by #1347
Closed

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

vmaerten opened this issue Mar 4, 2024 · 0 comments · Fixed by #1347
Labels
area: remote Changes related to remote taskfiles.

Comments

@vmaerten
Copy link
Member

vmaerten commented Mar 4, 2024

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
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Mar 4, 2024
@pd93 pd93 added area: remote Changes related to remote taskfiles. type: bug Something not working as intended. and removed state: needs triage Waiting to be triaged by a maintainer. labels Mar 4, 2024
@pd93 pd93 removed the type: bug Something not working as intended. label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: remote Changes related to remote taskfiles.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants