Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for variable templating in configured env vars #56

Merged
merged 1 commit into from
Feb 27, 2022

Conversation

nat-n
Copy link
Owner

@nat-n nat-n commented Feb 20, 2022

Closes #38, also addresses #33

  • Major refactor of internal APIs for managing env vars
  • Set POE_ACTIVE in PoeExecutor.init instead of every implementation
  • Fix issue caused by dependency on pypi in executor tests

Works for both global and task level env variables.

Example usage:

.. code-block:: toml

[tool.poe.tasks.serve]
serve.cmd = "flask run"
serve.env   = { FLASK_RUN_PORT = "${TF_VAR_service_port}" }

- Major refactor of internal APIs for managing env vars
- Set POE_ACTIVE in PoeExecutor.__init__ instead of every implementation
- Fix issue caused by dependency on pypi in executor tests
@nat-n nat-n force-pushed the feature/38/variables_in_variables branch from da0f915 to 557d42e Compare February 27, 2022 16:54
@nat-n nat-n merged commit 0b95d34 into development Feb 27, 2022
@nat-n nat-n deleted the feature/38/variables_in_variables branch February 27, 2022 17:01
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