Skip to content

building from workspace is not possible with inherited or path depencies #40

@divagant-martian

Description

@divagant-martian

More of a tracking issue that falls more on testground itself: Using workspaces is not really possible/useful right now.

In a scenario like this:

related-testground-plans
├─ Cargo.toml # a workspace
├─ planA
│   ├── Cargo.toml # specify utility as a path dependency
│   ├── Dockerfile
│   ├── manifest.toml
├─ planA
│   ├── Cargo.toml # specify utility as a path dependency
│   ├── Dockerfile
│   ├── manifest.toml
└─ utility
       └──  Cargo.toml

the utility directory currently is not accessible from the docker build context. An option would be able to define the testplans in the root of the directory but I don't see a way. Maybe related testground/testground#1466
This makes rust workspaces particularly disadvantageous

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions