Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

internal/datasource: local data should return pwd #699

Merged
merged 1 commit into from
Oct 26, 2020
Merged

Conversation

mitchellh
Copy link
Contributor

The local datasource needs to return the pwd so that plugin discovery
uses an absolute path and doesn't attempt to search by PATH (#691).

This also adds validation in internal/runner that this behavior holds.

/cc @tomhjp

The local datasource needs to return the pwd so that plugin discovery
uses an absolute path and doesn't attempt to search by PATH (#691).

This also adds validation in internal/runner that this behavior holds.
@mitchellh
Copy link
Contributor Author

Btw @tomhjp in case its not clear: the reason the runner has all this job download machinery is is for remote runners which aren't quite ready yet (and therefore not documented or technically "released" though a lot of the technical implementation is there).

@mitchellh mitchellh added this to the 0.1.4 milestone Oct 26, 2020
@tomhjp
Copy link

tomhjp commented Oct 26, 2020

Thanks! Have tested this locally too just to confirm.

the reason the runner has all this job download machinery is is for remote runners which aren't quite ready yet

Hah yes this did confuse me initially 😄 looks like this will enable some super cool features!

@mitchellh mitchellh merged commit 004f706 into main Oct 26, 2020
@mitchellh mitchellh deleted the b-local-pwd branch October 26, 2020 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants