Skip to content

Cross-project fleet references in CLI and YAML#3677

Merged
jvstme merged 1 commit intomasterfrom
issue_3626_cross_project_fleet_references
Mar 20, 2026
Merged

Cross-project fleet references in CLI and YAML#3677
jvstme merged 1 commit intomasterfrom
issue_3626_cross_project_fleet_references

Conversation

@jvstme
Copy link
Collaborator

@jvstme jvstme commented Mar 19, 2026

Allow to reference imported fleets in the fleets property in run and profile configurations:

type: dev-environment
ide: vscode

fleets:
- local
- main/shared-1
- project: main  # verbose syntax
  name: shared-2

As well as in the --fleet CLI option:

$ dstack apply -f run.dstack.yml --fleet main/shared-1

Fleets specified without project are local to the run's project.

#3626

Allow to reference imported fleets in the `fleets`
property in run and profile configurations:

```yaml
type: dev-environment
ide: vscode

fleets:
- local
- main/shared-1
- project: main  # verbose syntax
  name: shared-2
```

As well as in the `--fleet` CLI option:

```shell
$ dstack apply -f run.dstack.yml --fleet main/shared-1
```

Fleets specified without `project` are local to
the run's project.
@jvstme jvstme requested a review from un-def March 19, 2026 09:54
@jvstme jvstme merged commit 36e21f9 into master Mar 20, 2026
28 checks passed
@jvstme jvstme deleted the issue_3626_cross_project_fleet_references branch March 20, 2026 09:41
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

Successfully merging this pull request may close these issues.

2 participants