snapcraft icon indicating copy to clipboard operation
snapcraft copied to clipboard

providers: set environment according to directory inside instances

Open mr-cal opened this issue 2 years ago • 0 comments

  • [X] Have you followed the guidelines for contributing?
  • [X] Have you signed the CLA?
  • [X] Have you successfully run make lint?
  • [X] Have you successfully run pytest tests/unit?

When in a part's build directory inside an instance, the environment variables are set. This allows a user to manually build a part when debugging.

Builds on https://github.com/canonical/craft-parts/pull/303

TODO - add unit tests

(CRAFT-1412)

mr-cal avatar Oct 18 '22 19:10 mr-cal