Skip to content

Add FLOKI_WORKING_DIR environment variable#439

Merged
maxdymond merged 2 commits intomainfrom
md/flokiworkingdir
Sep 26, 2024
Merged

Add FLOKI_WORKING_DIR environment variable#439
maxdymond merged 2 commits intomainfrom
md/flokiworkingdir

Conversation

@maxdymond
Copy link
Copy Markdown
Member

@maxdymond maxdymond commented Sep 25, 2024

  • Add FLOKI_WORKING_DIR environment variable that is accessible inside the container. Can be used when mount: has been specified in floki.yaml.

Why this change?

If someone specifies mount: then the assumption that code is mounted at /src is wrong.

Relevant testing

Local testing

Contributor notes

N/A

Checks

These aren't hard requirements, just guidelines

  • New/modified Rust code formatted with cargo fmt
  • Documentation and README.md updated for this change, if necessary
  • CHANGELOG.md updated for this change

Max Dymond added 2 commits September 25, 2024 13:59
- Add `FLOKI_WORKING_DIR` environment variable that is accessible inside the
  container. Can be used when `mount:` has been specified in `floki.yaml`.

Signed-off-by: Max Dymond <max.dymond@microsoft.com>
Signed-off-by: Max Dymond <max.dymond@microsoft.com>
@maxdymond
Copy link
Copy Markdown
Member Author

Reviewed internally.

@maxdymond maxdymond merged commit b34a68b into main Sep 26, 2024
@maxdymond maxdymond deleted the md/flokiworkingdir branch September 26, 2024 13:04
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.

1 participant